Hello everyone.
I have successfully sent data to the emon website and now I was wondering if the emon website can send data to the arduino or control it? For instance, change a temperature set point through the website or turn a relay on or off.
Does anybody knows if it possible to do?
Thank you.
Pedro
Re: Can the emon website send data to an arduino or control it?
I've been experimenting with this and, though it wouldn't use the Emoncms website specifically, remote control is possible with the OEM architecture. It goes something like this:
openHAB item on openHAB app --> openHAB server on your local emonHub/emonPi --> MMQT message to the node-RED server also running on your local emonHUB/emonPi. From node-RED you can send commands in a lot of really convenient ways to internet-of-things devices.
The latest emonHub release candidate actually sets up some of this to show you how to do it.
https://openenergymonitor.org/emon/node/12437
Here is an blog post from Glyn talking about the possibilities:
http://openenergymonitor.blogspot.com/2015/10/emonpi-nodered-and-mqtt.html
And this is an example of a relay that could be controlled by this architecture:
https://openenergymonitor.org/emon/modules/wifirelay