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

Will the workaround Discover method work for third-party Zigbee green power devices like the friends of hue switches? And if so, what device class would you run Discover for?

Yes. The driver can support any device that Hue allows you to connect. That includes ZGP switches. They will be part of the ā€œButtonsā€ group when adding devices from the hub entity.

1 Like

I just want to thank everyone here for their hard work I love using this driver.

4 Likes

@blueyetisoftware first of all thank you for your work.
with the workaround I discovered the devices, zones, rooms, but I can’t import the scenes,
I don’t see the ā€œscenesā€ selection in the advanced menu in the discover function, where am I wrong?
Thank you

1 Like

Scenes don’t import as their own entity. Scenes should show up in the Play a favorite section in each of the Rooms and Zones devices that have scenes.

2 Likes

found ! Thank you ! the HUE zones/rooms are devices in ST is correct ?

2 Likes

That’s correct.

2 Likes

@blueyetisoftware, is the problem I’m having possibly related to the problems discussed here and here — and if so, possibly fixable on your end using one of the workarounds suggested in those threads?

Yes, it is probably related to the socket implementation in the firmware of the hub. The driver already has an implementation handling chunked transfers, and your log shows that the chunks are not sized as expected. I don’t have a way to address it without being able to reproduce the traffic.

1 Like

Can it be worked around in the Edge driver by using raw sockets and/or some other way of preventing chunking?

Are you able to add more detailed logging (e.g., dumping the raw contents of the chunks) so that I can help you debug the problem even though you can’t reproduce it yourself?

I’m also willing to help fix the problem myself if you are open to collaborating. I’m a longtime C++ developer and have not gotten into ST Edge driver development yet (although I used to write my own ST Groovy drivers and apps), but I can learn.

1 Like

Hi @blueyetisoftware , I have a friend’s of Hue button that is not showing up in Smartthings. I have tried the workaround to discover using the button discover feature. Any ideas?

I have re-run the tests for the driver on ST V3 hub running firmware version 000.051.00002 and everything seems fine other than the known UI issue mentioned throughout the recent part of this thread. The network stack and commands seem to be working.

1 Like

Hub firmware 52.000011 V2 and commands are not working

1 Like

If and when ST upgrades my hub, I’ll give it another test

2 Likes

Not having any noticeable problems myself.

Perhaps I should have elaborated… The discovery failure is happening when trying to add a friend’s of Hue switch. Maybe the problem lies here…

1 Like

Not an isolated issue, it would seem.

and

If I didn’t know any better, I’d say they are trying to kill my driver :slight_smile:

Hopefully I get that version soon and can see what they changed. Thanks

5 Likes

I suspect this item in their release notes:

Upgraded the luncheon http library for bugfixes and to enable chunked encoding.

I already added chunked encoding in my driver. In adding it in the firmware, they probably broke the backward support for the existing interface.

4 Likes

I truly hope not, this is by far the best Hue driver out there. The other options are never going to catch it…

Unfortunately having got the new firmware this evening (UK) I am also seeing slowed responses from hue switching automations at the bulb/room & zone levels :frowning:

6 Likes