diff options
author | Luca Tringali <tringalinvent@libero.it> | 2019-01-23 15:39:48 +0100 |
---|---|---|
committer | Luca Tringali <tringalinvent@libero.it> | 2019-01-23 15:39:48 +0100 |
commit | fbf4af0fe73a8da8fc8924ea7466d85331b9fb46 (patch) | |
tree | ab2b6ec3a1e3d263a2d78841c3184882f18bcc01 /README.md | |
parent | f728342b730a236dd6e648e3f0dfee1028dbd293 (diff) |
Comments and README
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..3e9a47f --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ +# RaspberryPi Thermostat +This is a simple thermostat application built for Python3 on a RaspberryPi with PySide2, to demonstrate how easy is to use PySide2 to build your domotic devices. +If you're using the Raspbian Buster with PySide2 image provided by codice-sorgente.it (https://www.codice-sorgente.it/raspbian-buster-pyside2-lxqt/#English) you should only need to clone this repository and run the autologin script: +cd /home/pi +git clone https://codice-sorgente.it/cgit/termostato-raspberry.git/ +cd termostato-raspberry +chmod +x autologin.sh +./autologin.sh +Then just reboot the system and wait for the interface to load. If you are using a Raspbian Buster image, without PySide2 libraries, you'll first need to follow instructions on the page https://www.codice-sorgente.it/raspbian-buster-pyside2-lxqt/#English, to install Qt5 and PySide2. +You also need to install libraries for GPIO pins and the therm sensors: +sudo aptitude install python3-rpi.gpio +sudo pip3 install w1thermsensor |