Close

Video of the 'ESP SmartPlug' in action

A project log for WiFi Based Distributed IOT Home Automation

Autonomous intelligent IOT nodes connected to the home network, controlled via simple IFTTT style rules, configured via web interface

AndreyAndrey 07/28/2016 at 10:480 Comments

After couple of iterations of code re-factoring, I decided it is time to post this log showing the 'ESP SmartPlug' in action. I combined video of a heater being switched on and off remotely with a screen capture of the browser window running the remote interface. On the browser window you can see the 'Override' button, being pressed first, which stops the rules processing and allows for manual operation. After the heater is turned on, I change to a higher setting and you can see the real time graph changing. Currently the plug status updates are pushed every 5 seconds to the browser via websockets and also a UDP multicast is sent at the same time. Everything you see is being run purely from the ESP module, which gives me great confidence the my initial is achievable. The completed functionality in the ESP include the following:

The javascript code already caters for a multi 'node' scenario and the only thing left is adding the interface for managing the current 'node recipes'.

Please, feel free to give me some feedback on the project idea and implementation of it so far.

Discussions