Skip to content

Output Control

Rocky edited this page Sep 25, 2023 · 8 revisions

For Classic MQTT Mode, Modify the EP_<x>/DeviceControl/LOAD_STATE DataPoint with true or false

For Json mode, just send

{"EP_<x>":{"LiveData":{"LOAD_STATE":true}}}

or

{"EP_<x>":{"LiveData":{"LOAD_STATE":false}}}

when you have more than one device connectet add the device name in the json string

example:

MQTT Clasic:

mosquitto_pub -t EPEver/EP_1/DeviceControl/LOAD_STATE -m true

MQTT Json

mosquitto_pub -t EPEver/EP_1/DATA {"EP_1":{"LiveData":{"LOAD_STATE":true}}}

Clone this wiki locally