[ST Edge] Philips Hue LAN [BETA] (3rd Party Driver, Not ST Native)

The goal is to support importing all of them that support the button press events that are needed. Import (aka. discovery) is actually functioning right now in the driver. What is currently missing is to get the events from the hub. As you test, you are welcome to import your switches and see which ones pop up. Just know that they don’t function as of yet.

1 Like

This sounds great! Before I leap in though, can I check whether you support multiple Hue hubs? I have two, 38 lights on one and 53 on the other. Will that be supported?

@black-paladin I have two hubs, similar bulb amounts and no problems at all but, since this driver, I no longer have any bulbs in ST preferring instead to manage everything through Hue scenes within rooms & zones.

Also this solution can be run alongside existing ST devices so nothing needs deleting for the LAN drivers to be used until you are happy with the changeover… :+1:

1 Like

Two Hue bridges here with no issues. I am not currently pulling in lights through this driver - just rooms, zones, and buttons.

3 Likes

So does this driver allow you to use the hue dimmer switch within st now with routines etc?

The intention is to support all of the Hue remotes, but it is a work in progress. The Hue api doesn’t expose anything like a dimmer at the moment, so it will probably show up as a multi-button remote if you were to import it right now. Just know that the button presses are not yet captured as events. Feel free to enable the pending controller feature in the settings though and let me know how it goes.

2 Likes

Hi @blueyetisoftware ,

Everything still excellent, I am wondering if it would be possible to have a ‘notification’ lighting effect? Thinking of maybe a 5 second alert effect rather than the full 15?

I am finding the alert very useful to notify timer completions (time in shower for example). The full 15 seconds is a little too long and intense for this though (but is ideal for more ‘alerty’ alerts).

Any thoughts?

I wish this could be controlled at this point, but Hue only allows the alert to be 15 seconds. No idea why that can’t be controlled, but I do see many requests for it in their forum. To “soften” the alert, you could try playing with the color.

1 Like

Could we convince you to write a driver for the Hue Sync Box? :smile: I think there’s an API.

I would be happy with just start/stop control from within ST. Anything else would be gravy.

1 Like

For sure, if you can get me one :slight_smile:

I could probably try it strictly from the API, but testing would be light

I had a spare until recently but gave it to a friend.

I would be happy to assist with testing. I have two Sync Boxes on two bridges.

If you can post some pictures of the sync box settings and the control screens, I can take a look. I can probably figure out what they are calling by looking at the screens. I would also want to see how it shows up at the top level. Can it be placed in rooms or zones? Or is it an accessory like a motion sensor or remote?

Here you go. Let me know if you need me to drill down on anything.

It cannot be placed in Rooms or Zones nor does it show up as an Accessory… It’s handled through the Hue Sync mobile app. You define Entertainment Areas (collection and orientation of lights) in the regular Hue app and then you define which EA is to be used when syncing in the Sync app.

Thanks for this driver!

I’ve been able to successfully discover lights, but have no control over them. They all show as “on” and when I go into each device I see the “disconnected” symbols.

When I pull to refresh, I get a “problem connecting, please try again later” message.

Is there some part of the setup I might be missing like setting a static IP of the hub or some setting within the hue app itself?


It looks like none of them initialized. Sounds like there is a network issue going on. I would try to pull-to-refresh your hub device first, triggering a complete sync. Next I would try restarting your Hue hub. If that doesn’t work, I would restart the ST hub to restart the driver. I would NOT restart both hubs at the same time. Feel free to direct message me for further questions.

Published 2022-10-25.20.28.48.93

  • Add color and color temp controls to the detailed view of lights that support them
  • Add dimmer controls to the detailed view of light groups that support them
  • Fix color temp range for lights to prevent setting out of supported range
  • Rewrite of modules to prepare for live event streams in future release

Breaking Change

  • Alerts were removed from the lighting effects menu and will require that automations are re-built
  • Lighting effect disclaimer was replaced as will need to be accepted again before effects and alerts will be available

Remaining Known Issues

  • Motion events are still not live. You will occasionally see motion but it is incidental depending on the timing of sync events
  • Button press events are still not live for remote and switches
  • Events generated outside of ST will not be immediately reflected



4 Likes

After this driver was updated, every hue lights are not working. What should I do?

Depends on what you mean by not working. I will try to answer a few possible scenarios in hopes that one of them applies:

  1. Detail view in the app isn’t working - The UI for lights was updated. The ST app can be slow to refresh these views. The solution is to enter and exit those views or close and restart the app.
  2. Automations are not working - On occasion edge drivers will not restart after install. This has been reported to ST although it is rare. If this occurred, the solution is to restart the ST hub which restart all the drivers.
  3. Devices went offline - If the connection to the Hue hub was lost, this is most easily solved by restarting the ST hub.
  4. Lights are having issues within the Hue app - This does not involve the driver, but I would check the Hue app itself. Go to Settings --> Software Update and look at the list of devices, See if any of them are unreachable. The edge driver only communicates with the Hue hub, not the Hue lights. If there are zigbee issues in that Hue network, the driver cannot address those. Communication is limited to LAN.
  5. Too many scenes - There is a known issue with a large amount of scenes that will cause the driver to crash. This occurs in the socket layer of edge when requesting the scenes from the Hue hub and has been reported to ST. If you think this may be the case, you can remove some of your scenes from the Hue app.

Actually, I would also try refreshing your Hub device in ST before trying the other steps. When you say your lights aren’t working, are you talking about individual lights, rooms, zones, or all of the above?

Both device detail view and automations were not working. Now It works well after reboot ST hub. Thanks.