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?
Hue bridge repeating last status on Domoticz start
Moderator: leecollings
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Hue bridge repeating last status on Domoticz start
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
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 20
- Joined: Wednesday 28 October 2015 17:48
- Target OS: NAS (Synology & others)
- Domoticz version:
- Location: Switzerland
- Contact:
Re: Hue bridge repeating last status on Domoticz start
It's blockly currently, but thanks for the hint.
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..Also wondering why the restart. What kind of stability issue?
Who is online
Users browsing this forum: No registered users and 1 guest