24 lines
640 B
Markdown
24 lines
640 B
Markdown
# wetation_rpi_gui_client
|
|
|
|
wether station gui client
|
|
|
|
|
|
Requirements:
|
|
=============
|
|
You need to install wx:
|
|
sudo apt-get install python3-wxgtk4.0
|
|
|
|
|
|
Autostart:
|
|
==========
|
|
Copy the autostart-file to pi home directory:
|
|
mkdir -p ~/.config/lxsession/LXDE-pi && cp /etc/xdg/lxsession/LXDE-pi/autostart ~/.config/lxsession/LXDE-pi
|
|
|
|
Add the following lines to the new autostart file to start the application on login:
|
|
@/usr/bin/python3 /home/pi/smarthome_rpi_gui_client/smarthome.py 2> /home/pi/smarthome_rpi_gui_client/messages.err
|
|
|
|
|
|
Screen Blanking:
|
|
================
|
|
Disable the screen blanking in Properties->Raspberry-Pi-Configuration->Display
|