|
@@ -1,3 +1,23 @@
|
1
|
1
|
# wetation_rpi_gui_client
|
2
|
2
|
|
3
|
|
-wether station gui client
|
|
3
|
+wether station gui client
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+Requirements:
|
|
7
|
+=============
|
|
8
|
+You need to install wx:
|
|
9
|
+sudo apt-get install python3-wxgtk4.0
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+Autostart:
|
|
13
|
+==========
|
|
14
|
+Copy the autostart-file to pi home directory:
|
|
15
|
+mkdir -p ~/.config/lxsession/LXDE-pi && cp /etc/xdg/lxsession/LXDE-pi/autostart ~/.config/lxsession/LXDE-pi
|
|
16
|
+
|
|
17
|
+Add the following lines to the new autostart file to start the application on login:
|
|
18
|
+@/usr/bin/python3 /home/pi/smarthome_rpi_gui_client/smarthome.py 2> /home/pi/smarthome_rpi_gui_client/messages.err
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+Screen Blanking:
|
|
22
|
+================
|
|
23
|
+Disable the screen blanking in Properties->Raspberry-Pi-Configuration->Display
|