-
|
Hello, If I have a simple button like:
If I click the button I can find in my MQTT Explorer the published topic hasp/plate/state/p3b186 and the 2 events for a button click. So generally MQTT is configured properly and working fine. But now when I make a toggle button like:
then I cannot find any published MQTT topics, like there was no publishing. The same issue I have for the switch object. Running a serial terminal for debug purpose shows me, that the MQTT topic for the button press is published. Also if I check the published MQTT topics in the Information page the counter got increased by 2. I hope anyone can give me any hints, because this is really a great project and I would like to do more panels, but only with buttons it's complicated. kind regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.

I tested this jsonl and for me it worked just fine:
The events are
upanddownwith avalfor the current state.What version and board are you running?
Also make sure that the
actionproperty is not set on the toggle object, as that prevents the MQTT events from being sent. Click Clear Pages and then Reload Pages in the file editor or reboot the device to make sure.