Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for ShenZen HOMA controllers #234

Merged
merged 1 commit into from Dec 27, 2017

Conversation

stblassitude
Copy link
Contributor

There are two models: one line voltage dimmer (brightness) and a
configurable 24V four-channel PWM controller. Depending on the DIP
switches on the RGBW controller, it appears as a single brightness,
color temperature, or extended color device; or as a combination color
and brightness device (RGBW).

They are sold in Germany through Amazon:

There are two models: one line voltage dimmer (brightness) and a
configurable 24V four-channel PWM controller. Depending on the DIP
switches on the RGBW controller, it appears as a single brightness,
color temperature, or extended color device; or as a combination color
and brightness device (RGBW).

They are sold in Germany through Amazon:
* https://www.amazon.de/gp/product/B076KPQWFW 230V
* https://www.amazon.de/gp/product/B076K6VJ8G 24V RGBW
@ebaauw
Copy link
Owner

ebaauw commented Dec 24, 2017

Which model is which light? Does the model of the 24V change when you change the DIP switches?
Could you please post the unknown light warnings homebridge-hue issues for each setting? If you’re on deCONZ could you post some screenshots of the device in the deCONZ GUI, showing the clusters?

Looking at the description, I would expect the 24V to present itself, depending on the DIP switch setting, as either:

  • A colour light and a dimmable light (RGBW); or
  • A single colour light (RGB); or
  • Two colour temperature lights; or
  • Four dimmable lights.

Best set subtype anyway - I should have done so for all lights from the start (see https://github.com/ebaauw/homebridge-hue/blob/master/lib/HueLight.js#L318) but this would be a breaking change, so I’m waiting for the next major/minor release.

@stblassitude
Copy link
Contributor Author

I'll try to work with the DIP switches tomorrow; here's the output as it is right now. I only have Hue bridges.

[12/24/2017, 10:13:25 PM] [Hue] Home: /lights/11: ShenZhen_Homa HOMA1001 (Extended color light) "Streifen bunt"
[12/24/2017, 10:13:25 PM] [Hue] Home: /lights/11: warning: unknown light model {"state":{"on":true,"bri":254,"hue":6656,"sat":18,"effect":"none","xy":[0.5504,0.4369],"ct":367,"alert":"none","colormode":"ct","mode":"homeautomation","reachable":true},"swupdate":{"state":"notupdatable","lastinstall":null},"type":"Extended color light","name":"Streifen bunt","modelid":"HOMA1001","manufacturername":"ShenZhen_Homa","capabilities":{"streaming":{"renderer":false,"proxy":false}},"uniqueid":"00:12:4b:00:13:0a:6b:6a-0b","swversion":"1.0.2"}
[12/24/2017, 10:13:25 PM] [Hue] Home: /lights/12: ShenZhen_Homa HOMA1001 (Dimmable light) "Streifen weiss"
[12/24/2017, 10:13:25 PM] [Hue] Home: /lights/12: warning: unknown light model {"state":{"on":true,"bri":254,"alert":"select","mode":"homeautomation","reachable":true},"swupdate":{"state":"notupdatable","lastinstall":null},"type":"Dimmable light","name":"Streifen weiss","modelid":"HOMA1001","manufacturername":"ShenZhen_Homa","capabilities":{"streaming":{"renderer":false,"proxy":false}},"uniqueid":"00:12:4b:00:13:0a:6b:6a-0a","swversion":"1.0.2"}
[12/24/2017, 10:13:25 PM] [Hue] Arndtstrasse: /lights/13: ShenZhen_Homa HOMA1004 (Dimmable light) "Fluter"
[12/24/2017, 10:13:25 PM] [Hue] Home: /lights/13: warning: unknown light model {"state":{"on":false,"bri":254,"alert":"select","mode":"homeautomation","reachable":false},"swupdate":{"state":"notupdatable","lastinstall":null},"type":"Dimmable light","name":"Fluter","modelid":"HOMA1004","manufacturername":"ShenZhen_Homa","capabilities":{"streaming":{"renderer":false,"proxy":false}},"uniqueid":"00:12:4b:00:13:0a:5f:a1-0b","swversion":"1.0.2"}

In order of appearance: the RGB part, then the W part of the 24V RGBW dimmer; then the 230V dimmer.

@ebaauw ebaauw merged commit 7c6c8a0 into ebaauw:master Dec 27, 2017
@stblassitude stblassitude deleted the feature/shenzen-homa-controllers branch December 31, 2017 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants