https://github.com/dimitrinicolas/rpi-thermostat
Transform your RPi into a very simple connected thermostat
https://github.com/dimitrinicolas/rpi-thermostat
domotic rpi
Last synced: about 1 month ago
JSON representation
Transform your RPi into a very simple connected thermostat
- Host: GitHub
- URL: https://github.com/dimitrinicolas/rpi-thermostat
- Owner: dimitrinicolas
- License: mit
- Created: 2016-11-20T12:05:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-28T07:31:26.000Z (over 8 years ago)
- Last Synced: 2025-03-25T14:05:30.553Z (about 2 months ago)
- Topics: domotic, rpi
- Language: JavaScript
- Size: 2.84 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# RPi thermostat
Transform your RPi into a very simple connected thermostat

## Install
### Server
You need to set up a VPS for the thermostat interface. Simply put the files from the `server` folder on your vps, install the dependencies `npm i`, then run `server.js`. I recommend you to use [forever](https://github.com/foreverjs/forever) to keep your script running.### Raspberry Pi
For this project you need one RPi connected to the Internet, a Servo Motor (mine is the popular SG90), and if you want a breadboard.
Connect all theses component together, the Servo Motor is on Pin 22. Then put the file `rpi.py` on your card, don't forget to edit your VPS IP adresss in the file.

And voilà ! You can access the web interface on the port 1999 from your VPS IP adresss and you now control your radiator from everywhere in the world.
### Future
This is actually the strict minimum for a connected thermostat, There is so many possible features to develop :
- Increase the temperature just before wake-up time
- Turn the radiator on and off according to the position of the person (by using ifttt)
- Add a temperature sensor to adjust the setting for a desired temperature setting
- Turn off the radiator if it was at the maximum setting for a too long time to prevent fire