I’m a total NOOB to OpenEnergyMonitor having just set up a base installation of Emoncms on using the Pi SD image. My main use case is to leverage DemandShaper to allow me to make use of Octopus Agile rates to start/stop an immersion heater (later I will look into OpenEVSE and other use cases). I am using a Sonoff Pow R2 device flashed with Tasmota and have setup Node-RED for MQTT message routing/manipulation. Is there an MQTT or other API I can follow to allow the device to appear in DemandShaper?
I have read about the messages that will be sent from DemandShaper to the device but not the handshaking at device pairing etc…
The demand shaper process publishes the schedule configuration to a MQTT topic that the device subscribes to, e.g:
emon/smartplug1/in/ctrlmode On/Off/Timer emon/smartplug1/in/timer 1300 1600
Any help would be appreciated.