Philips Hue status check

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
ahof007
Posts: 3
Joined: Saturday 02 May 2015 19:46
Target OS: -
Domoticz version:
Contact:

Philips Hue status check

Post by ahof007 »

Dear Development,

The Philips Hue integration is working fine only one way. The Hue bridge is in control. When the light are manually switched off, by power-off the physical power switch, the lights still marked as "UP" while the bridge will see the light as "reachable:false" after prox. 10sec. This will not be checked or send by the bridge. So this need to be monitored. Most people use Domoticz as there central point of management.

State information:
State on: {"state": {"on":true,"bri":254,"hue":14910,"sat":144,"effect":"none","xy":[0.4596,0.4105],"ct":370,"alert":"none","colormode":"ct","reachable":true}
State off: {"state": {"on":false,"bri":232,"hue":0,"sat":0,"effect":"none","xy":[0.3804,0.3768],"ct":248,"alert":"none","colormode":"hs","reachable":false}

Is it possible to mark the lights as unreachable (red title bar or other icon option) automatically after ca. 1min by Domoticz after a time-out as the same Domoticz will do if it not receive updates?

regards, Arjan
User avatar
gizmocuz
Posts: 2352
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Philips Hue status check

Post by gizmocuz »

do you mean "off" by psychically take the power cord out of the wall ?, or unscrew the light bulbs ?
Quality outlives Quantity!
ahof007
Posts: 3
Joined: Saturday 02 May 2015 19:46
Target OS: -
Domoticz version:
Contact:

Re: Philips Hue status check

Post by ahof007 »

Thanks for your response. Great tool Domoticz!

By unpower the bulbs (can be unscrew, remove power cord or switch a manual switch or remote switchable wallplug like fibaro or rfxcom 433Mhz) the bulb is marked as unreachable in the Hue bridge after ca. 10seconds. The Hue bridge will not send any message it seems like (tested by tcpdump on HTML headers) while is does when you control the bulbs by phone app or Domoticz.
It should be a pre and advantage if Domoticz can see if the light are unreachable like the app when the light are power-off manually. You know which action you should take to switch the light from the central management tool Domoticz.
Not my hole house had radio based wall switches for example and more people use the physical (controlled)switches and will dim the light afterwards in the (bed rooms) by the app when necessary.
Normal behaviour is that Domoticz will mark a device down (red title bar) if it will not receive a update within 3 days. But it seems not working for Hue likes also ;-)

A second feature can be that the lights which are automatically discovered by domoticz from the bridge also can recover the lights separately from a previous state. Normally the lights are burning 100% after power-on bubls again when its lost power (seems a safety feature from Philips).
Im now testing the script from Simonrg to overcome this (colors/white level , dim percentage).

Regards Arjan
simonrg
Posts: 329
Joined: Tuesday 16 July 2013 22:54
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8807
Location: North East England
Contact:

Re: Philips Hue status check

Post by simonrg »

ahof007 wrote:A second feature can be that the lights which are automatically discovered by domoticz from the bridge also can recover the lights separately from a previous state. Normally the lights are burning 100% after power-on bubls again when its lost power (seems a safety feature from Philips).
Im now testing the script from Simonrg to overcome this (colors/white level , dim percentage).
Just a note of caution my scripts where written before Domoticz had native ability to control Hue lights and so talk directly to the Hue bridge, and don't change the status of the Hue lights in Domoticz. I guess you could use the same method to update the status in Domoticz, but currently that ability is not there.
Raspberry Pi 2 B - 2A@5V PSU - Raspbian + Domoticz + RFXtrx(89), LightwaveRF House(dimmers, sockets, wireless/mood switches), Owl CM113, 4 LaCross Temp / Humidity Sensors, 4 Siemens PIR, Smappee, Solaredge, ESP8266
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest