MQTT light commands stopped working? #480
-
Not sure if something changed with 7.7 - used to be I could send the payload I'd attach a replay but nothing is showing up when I push the payload. No errors in the logs that I can see, and MQTT is getting updates from njspc like always. I pushed the lights on payload right after the info line below:
any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Maybe try with either "isOn": true or "isOn: 1 instead of the string on/off. Here is what I use that works:
|
Beta Was this translation helpful? Give feedback.
-
Pull njsPC and dashPanel. I tried your scenario and it worked fine. I did some code cleanup on that processor a few days ago that may have fixed some weirdness with the wildcard topics, "on", "y", "yes", 1, and true are all valid values for truthy isOn and "off", "n", "no", 0, and false are all valid values for falsey isOn. You can also use the element state. |
Beta Was this translation helpful? Give feedback.
Pull njsPC and dashPanel. I tried your scenario and it worked fine. I did some code cleanup on that processor a few days ago that may have fixed some weirdness with the wildcard topics,
"on", "y", "yes", 1, and true are all valid values for truthy isOn and "off", "n", "no", 0, and false are all valid values for falsey isOn. You can also use the element state.