Espeasy
- controller protocol - home assistante (openhab) mqtt
- controller client id: %sysname%_%unit%
- Controller Subscribe: %sysname%_%unit%/#
- Controller Publish: %sysname%_%unit%/%tskname%/%valname%
- Controller LWT Topic: home-assistant/window/availability
- LWT Connect Message: payload_available
- LWT Disconnect Message: payload_not_available
MQTT Explorer shows: rl1c_0/relay/onoff = 1
Code: Select all
http://rl1c_0/control?cmd=gpio,0,0
{
"log": "GPIO 0 Set to 0",
"plugin": 1,
"pin": 0,
"mode": "output",
"state": 1
}
Ok
Code: Select all
http://rl1c_0/control?cmd=gpio,0,1
{
"log": "GPIO 0 Set to 1",
"plugin": 1,
"pin": 0,
"mode": "output",
"state": 0
}
Ok
So, it works perfect, in theory, because when a mqtt client changes the onoff value, MQTT explorer shows the change, but Espeasy device simple does nothing. Change only happens on broker.
May i ask for help in being educated in how to make Espeasy device also read and behave as expected?
Thx in advance.