From da8474fdc06e5d717f886e9f8ac0366fa8a70d8d Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Mon, 7 Sep 2020 12:50:51 +0200 Subject: [PATCH] Added some README instructions --- README.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) 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