Feed back Loop issue

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.
Post Reply
User avatar
lonebaggie
Posts: 79
Joined: Tuesday 31 January 2017 14:21
Target OS: Raspberry Pi
Domoticz version: beta
Location: England
Contact:

Feed back Loop issue

Post by lonebaggie » Tuesday 31 January 2017 14:37

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 !

User avatar
lonebaggie
Posts: 79
Joined: Tuesday 31 January 2017 14:21
Target OS: Raspberry Pi
Domoticz version: beta
Location: England
Contact:

Re: Feed back Loop issue

Post by lonebaggie » Saturday 11 March 2017 10:25

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

User avatar
lonebaggie
Posts: 79
Joined: Tuesday 31 January 2017 14:21
Target OS: Raspberry Pi
Domoticz version: beta
Location: England
Contact:

Re: Feed back Loop issue

Post by lonebaggie » Sunday 03 September 2017 17:47

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

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests