Works for me on V3.6862 and V3.6874 using: {"command": "switchlight", "idx": 85, "switchcmd": "Toggle"}
Please update to latest Beta first as the forum rules state
Edit: This was implemented in build d20eb34167bef6a1cc7dcd6da57e0742ec8fb98a
Hi, when the switchcmd: "toggle" is used for my light bulb it does not change te stat in Domoticz.
The light does perform the command but when I toggle a light that was on to off, the light goes off but the icon stays on and no log entry was placed in the device.
Is that normal behavior?
Can I set the correct status after the toggle was performed?
jurgend wrote: ↑Thursday 02 September 2021 19:43
Hi, when the switchcmd: "toggle" is used for my light bulb it does not change te stat in Domoticz.
The light does perform the command but when I toggle a light that was on to off, the light goes off but the icon stays on and no log entry was placed in the device.
Is that normal behavior?
Can I set the correct status after the toggle was performed?
then my lamp and my device widget switches on/off as expected.
You have to use "Toggle" not "toggle" the command is case sensitive.
Can you try this api call on your device and see if the device widget is toggling along?
If it still fails can you post the complete MQTT payload you are sending?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
jurgend wrote: ↑Thursday 02 September 2021 19:43
Hi, when the switchcmd: "toggle" is used for my light bulb it does not change te stat in Domoticz.
The light does perform the command but when I toggle a light that was on to off, the light goes off but the icon stays on and no log entry was placed in the device.
Is that normal behavior?
Can I set the correct status after the toggle was performed?
then my lamp and my device widget switches on/off as expected.
You have to use "Toggle" not "toggle" the command is case sensitive.
Can you try this api call on your device and see if the device widget is toggling along?
If it still fails can you post the complete MQTT payload you are sending?
When I use the URL the lamp toggles correctly, but when I Toggle it via a Sonoff RM433 remote, it does not.
Will check all my settings again, thx for your help