MQTT listen to a GPIO, but not name
Posted: 22 Mar 2020, 22:36
I have a problem with switching a state for a relay (Przekaznik) with MQTT - I would like to use the name of device instead gpio. This will be the same way as espeasy broadcasting a message of changed state of a device.
To change a state, with this command:
(or zero to turn it off) is working fine, but when I want to use
then nothing happens.
To change a state, with this command:
Code: Select all
ESP_Gabinet/gpio/12 1
Code: Select all
ESP_Gabinet/Przekaznik/State 1