Page 1 of 1

Feed back Loop issue

Posted: Tuesday 31 January 2017 13:37
by lonebaggie
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 !

Re: Feed back Loop issue

Posted: Saturday 11 March 2017 9:25
by lonebaggie
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

Re: Feed back Loop issue

Posted: Sunday 03 September 2017 17:47
by lonebaggie
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