Smart Thermostat written in python for Raspberry Pi
I wanted to create a project so that I could learn the python programming language and have something useful when I am done. With that being said, this is NOT well written code (there are probably better ways to do what I am doing) but I am using it to learn.
The logic is all written in Pyton and I am using MQTT for the messaging. I am also using Home Assistant as the front end to controll the different functions.
- Raspberry Pi 3 Model B (Bought on Amazon $37.50)
- Raspberry Pi 7" Touchscreen Display (Bought on Amazon $68.70)
- DHT22/AM2302 Digital Temperature And Humidity Sensor Module (Bought on Ebay $3.23)
- DC-DC Buck Converter Step down 5-24V to 1.5V 3.3V 5V 9V 12V 2A Adjustable Module (Bought on Ebay $0.99)
- 4 Channel 5V Relay Shield Module Board for Arduino Raspberry Pi (Bought on Ebay $2.98)
- Wires and solder to put it all together
MIT License
Copyright (c) 2018 Greg Gotcher
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.