loading
1Instructables150,205Views33Comments

Tell us about yourself!

Complete Your Profile

Achievements

10K+ Views Earned a bronze medal
Show 0 More »
  • Introducing Climaduino - The Arduino-Based Thermostat You Control From Your Phone!

    I posted a longer reply, but Instructables seems to not have put it up.Climaduino has a lot of assumptions that are not true here. You could use the MQTT branch https://github.com/bbustin/climaduino/tree/develop. Then possibly remove the Thermostat.cpp and .h files. Remove Thermostat from the .ino file and implement your logic in the .ino file instead.My recommendation is to use MQTT to communicate between the multiple sensors and possibly with a home automation server (like OpenHAB or Vera). The choice would be whether you want the logic in the thermostat device itself or on the home automation server. For Climaduino I chose to keep the logic on the thermostat device, but made the parameters the logic uses remotely configurable over MQTT. That way it keeps working even if it loses con...see more »I posted a longer reply, but Instructables seems to not have put it up.Climaduino has a lot of assumptions that are not true here. You could use the MQTT branch https://github.com/bbustin/climaduino/tree/develop. Then possibly remove the Thermostat.cpp and .h files. Remove Thermostat from the .ino file and implement your logic in the .ino file instead.My recommendation is to use MQTT to communicate between the multiple sensors and possibly with a home automation server (like OpenHAB or Vera). The choice would be whether you want the logic in the thermostat device itself or on the home automation server. For Climaduino I chose to keep the logic on the thermostat device, but made the parameters the logic uses remotely configurable over MQTT. That way it keeps working even if it loses connectivity or the home automation server goes down.If you have it on the device itself, you can use MQTT on the thermostat to get the outside temperature from the other sensor and make the determination there.There is another option which could help to lower costs. You may be able to use the ESP8266 instead of an Arduino Yun. The Adafruit Huzzah is about $5, but you need to do some soldering. I used one as a remote IR sender hooked up to my home automation server using MQTT. That way I could lower and raise the temperatures programmatically.I don't have that code on Github, but could post it. It is not very polished. It also doe snot have any thermostat logic, but that could be added in.

    You could also have the logic on the home automation server and then simply provide a means using MQTT to trigger the furnace fan on and off.

    It probably could do that, but many of the assumptions baked into the Climaduino may not meet what you want to do.This Instructable is old, and there is another branch on Github that uses MQTT to communicate. (https://github.com/bbustin/climaduino/tree/develop)I think your best bet would probably be to copy some of the MQTT code from there. Then you could have the Climaduino relay the temperature using MQTT to a home automation server like OpenHAB or Vera. The outside temperature could also be sent to the home automation server. Then the home automation server could send a command over MQTT to turn on or off the fan.The other option is to have the Climaduino read the MQTT data from the outdoor thermostat itself and make that determination.If you'd like to keep costs down, you could use ...see more »It probably could do that, but many of the assumptions baked into the Climaduino may not meet what you want to do.This Instructable is old, and there is another branch on Github that uses MQTT to communicate. (https://github.com/bbustin/climaduino/tree/develop)I think your best bet would probably be to copy some of the MQTT code from there. Then you could have the Climaduino relay the temperature using MQTT to a home automation server like OpenHAB or Vera. The outside temperature could also be sent to the home automation server. Then the home automation server could send a command over MQTT to turn on or off the fan.The other option is to have the Climaduino read the MQTT data from the outdoor thermostat itself and make that determination.If you'd like to keep costs down, you could use an ESP8266 (like the Adafruit Huzzah) instead of an Arduino Yun. The Adafruit Huzzah was about $5 or so. I don't have any code on Github for that, but I successfully used it as a remote IR sender for a wall airconditioning unit. I could put that code on Github, but it is not very polished at all.

    View Instructable »