RasPI with a PID loop turning a fan on (increase heat)/off (decrease heat). The RasPI fed this into a backend server via websocket. We through a front end on to graph the temp, humidity etc. We could even set the temp and turn the fans on/off via the site.
Hmm, given that the ESP8266 is many times more powerful than the Arduino, why use the Arduino at all? Why not just directly program the ESP8266 to do all the sensing and sending of data?
That would definitely be an option. There are lots of ways this could be accomplished and what I wrote up by no means the most efficient. It was a learning experience for me and I wanted to document how the whole thing came together. I recently got a YUN and that could send data direct to parse with SSL so there wouldn't be any need for the proxy server in the middle. Thanks for taking a look!
Ah, yes, if you're using Parse, that would be a good option. You can also use MQTT with SSL straight from the ESP8266 by using the NodeMCU firmware from here: http://frightanic.com/nodemcu-custom-build/
8 comments
[ 3.4 ms ] story [ 35.3 ms ] threadRasPI with a PID loop turning a fan on (increase heat)/off (decrease heat). The RasPI fed this into a backend server via websocket. We through a front end on to graph the temp, humidity etc. We could even set the temp and turn the fans on/off via the site.