diff --git a/README.md b/README.md index 3913f7e..6e63259 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,23 @@ # wetation_rpi_gui_client -wether station gui client \ No newline at end of file +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