I have following setup
LIghtwaverf Dimmer switch . This is controlled via a Lightwaverf wifilink. This is receive only switch and does not report it's status. So when the switch is controlled manually, Domoticz loses the lights status.
I have installed a light sensor so I can confirm the status of light. It will change the status of the switch in Domoticz from the status of the light sensor and correct the status of the light . This is OK as long as the light sensor is working correctly !!.
Is there any way I can change the status of the switch in Domoticz without actually turning the light on or off , Which will get me out of a false feed back loop and allow me to turn my lights on without Domoticz turning them off again !
Feed back Loop issue
Moderators: leecollings, remb0
- lonebaggie
- Posts: 86
- Joined: Tuesday 31 January 2017 13:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: England
- Contact:
- lonebaggie
- Posts: 86
- Joined: Tuesday 31 January 2017 13:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: England
- Contact:
Re: Feed back Loop issue
To answer my own question. I finally found the answer. hope it help others trying to search the forum.
commandArray["UpdateDevice"] = "54|0|Off"
commandArray["UpdateDevice"] = "54|1|On"
where 54 = IDx of the switch
where 0 is the N value
where "Off" is the S value
The above commands will change the status of the switch without triggering the action
commandArray["UpdateDevice"] = "54|0|Off"
commandArray["UpdateDevice"] = "54|1|On"
where 54 = IDx of the switch
where 0 is the N value
where "Off" is the S value
The above commands will change the status of the switch without triggering the action
- lonebaggie
- Posts: 86
- Joined: Tuesday 31 January 2017 13:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: England
- Contact:
Re: Feed back Loop issue
I have expanded this solution by creating a script which can change switch states without triggering the switch see
viewtopic.php?f=38&t=19217
viewtopic.php?f=38&t=19217
Who is online
Users browsing this forum: Google [Bot] and 1 guest