hyperion-project / hyperion.ng

The successor to Hyperion aka Hyperion Next Generation
https://hyperion-project.org/
MIT License
2.95k stars 370 forks source link

Support for Zigbee strip #884

Open joselito11 opened 3 years ago

joselito11 commented 3 years ago

Can Zigbee strip be supported? I have Hue strip added to Deconz and Home Assistant, any way to use it? I dont like Hue bridge, because had lots of problems.

m-seker commented 3 years ago

@joselito11 So you want to control RaspBee(or Conbee) via Deconz from Hyperion, is that correct ?

If so, is this the correct API ? https://dresden-elektronik.github.io/deconz-rest-doc/

Lord-Grey commented 3 years ago

@joselito11 It would be helpful outlining which Zigbee controller you would like to use instead of the Hue Bridge? Please share more details about your setup.

joselito11 commented 3 years ago

@m-seker @Lord-Grey for Conbee II(usb stick) https://phoscon.de/en/conbee2

Atillley commented 3 years ago

It would be cool if you could implement gledopto controllers support as they also are pretty common

N1c093 commented 3 years ago

@joselito11 Maybe you can use the emulated hue component of Home Assistant? https://www.home-assistant.io/integrations/emulated_hue/ And add these fake Hue light to Hyperion NG?

I didn't tried it on my own, but perhaps it could work.

tpmodding commented 3 years ago

@Lord-Grey removed from output?

sylvertom commented 3 years ago

@joselito11 Maybe you can use the emulated hue component of Home Assistant? https://www.home-assistant.io/integrations/emulated_hue/ And add these fake Hue light to Hyperion NG?

I didn't tried it on my own, but perhaps it could work.

I hadd no luck with that. Looks like Hyperion will only try to connect on the Hue Bridge on port 80 andd mine is already used by some other service.

Lord-Grey commented 3 years ago

@sylvertom Try to provide the alternative port in addition to the IP-address during configuration. Use a colon to define IP, plus port to be used: -> hue-bridgeIP:port (e.g. "192.168.2.110:8080")

daranto commented 3 years ago

I could connect hyperion ng to the deconz stick but its only working when the lights are turned on. It seems that Deconz does not turn on lights automatically when the brightness or color is changed.

Here are the logs:


20-09-28T11:13:41.129Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:417:log()) Error Type                    : 201
 2020-09-28T11:13:41.129Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:417:log()) Error Address                 : /lights/11/state
 2020-09-28T11:13:41.130Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:417:log()) Error Address Description     : parameter, bri, is not modifiable. Device is set to off.
 2020-09-28T11:13:41.130Z [hyperiond LEDDEVICE] (ERROR) Device disabled, device 'philipshue' signals error: '(201) parameter, bri, is not modifiable. Device is set to off., Resource:/lights/11/state'
 2020-09-28T11:13:41.130Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:182:getResponse()) Reply.httpStatusCode [200]
 2020-09-28T11:13:41.131Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:417:log()) Error Type                    : 201
 2020-09-28T11:13:41.131Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:417:log()) Error Address                 : /lights/11/state
 2020-09-28T11:13:41.132Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:417:log()) Error Address Description     : parameter, bri, is not modifiable. Device is set to off.
 2020-09-28T11:13:41.132Z [hyperiond LEDDEVICE] (ERROR) Device disabled, device 'philipshue' signals error: '(201) parameter, bri, is not modifiable. Device is set to off., Resource:/lights/11/state'

Maybe the turn on command can be send before using the lights via hyperion.

Lord-Grey commented 3 years ago

@daranto Hyperion.ng does normally turn on the device during the startup of a device. Could you share a full debug log, as well as which hyperion.ng version you are using, please?

The error above is cause by a command that does not seem valid for the light connected to the bridge (or you are using not an official bridge)

felixganzer commented 3 years ago

Hi, Is it planned to add the deconz zigbee bridge like the hue bridge into the hyperion system?

I have a deconz bridge and testet with the philips hue LEDDevice. The wizard can find my deconz bridge and find all possible lamps. The rest does not work of course.

Lord-Grey commented 3 years ago

@felixganzer Currently, a deconz specific device implementation is not planned. If the deconz Hue emulation does not work with Hyperion then please provide a debug log and we can have a look where it does break.