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.

Moderators: leecollings, remb0

Post Reply
User avatar
lonebaggie
Posts: 86
Joined: Tuesday 31 January 2017 13:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: England
Contact:

Feed back Loop issue

Post 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 !
User avatar
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

Post 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
User avatar
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

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest