Tessel thermostat. Reads the temperature and turns a heater on and off based on comparison of temperature to a threshold value.
You can see the threshold value by going to Tessel's IP address : the port you're listening on.
IP:port/integer will change the threshold value to the integer.
- Tessel
- Relay Module
- Climate Module
- Heater that you can hook up to a relay (ours came that way)
- Clone this repo
npm install
to install dependencies- In
index.js
, set the wifi settings to your local network and the threshold to your preferred temperature (in F). - Connect your heater to the Relay Module (remember, only mess with wires after you've unplugged all power)
- Plug the Relay Module into Port A and the Climate Module into Port B.
tessel run index.js
to test it outtessel push index.js
to push the code into Flash memory, disconnect from the computer, and power the Tessel (like this)