Page 1 of 1

Hue bridge repeating last status on Domoticz start

Posted: Monday 19 October 2020 9:35
by amwr
Hi
I'm restarting Domoticz each night for stability reasons. Now I connected a Hue Bridge with a Hue dimmer switch, configured as a selector. All works fine.
However, whenever Domoticz is restarted, Hue Bridge initially sends again the last status of the dimmer switch. This of course triggers the corresponding action in Domoticz which is not really wanted in the middle of the night...

What can I do about this? Of course a workaround would be a rule like "if status updated happens 1 minute after restart, ignore it". Any other ideas?

Re: Hue bridge repeating last status on Domoticz start

Posted: Monday 19 October 2020 10:10
by waaren
amwr wrote: Monday 19 October 2020 9:35 What can I do about this? Of course a workaround would be a rule like "if status updated happens 1 minute after restart, ignore it". Any other ideas?
If the action is controlled by a dzVents script you could try

Code: Select all

if device.level == device.lastLevel then return end -- ignore update when no change in level 
Also wondering why the restart. What kind of stability issue?

Re: Hue bridge repeating last status on Domoticz start

Posted: Monday 19 October 2020 10:29
by amwr
It's blockly currently, but thanks for the hint.
Also wondering why the restart. What kind of stability issue?
Some 1.5 years ago the Web interface was not accessible anymore from time to time and I was not able to find the cause back then. But you have a point, it might well be that nowadays it's more stable and I should try removing those restarts..