-
Notifications
You must be signed in to change notification settings - Fork 780
Hue binding: wrong id for discovered lights #1863
Comments
This is a feature, not a bug, see #1652 (comment). @SJKA: The decision to remove the thing type there seems to lead to quite some confusion and issues... |
Having the thing type in the discovered thing would help me set properly my thing file. |
How about reading the docs? http://docs.openhab.org/addons/bindings/hue/readme.html#full-example |
Already done but it does not help to identify at 100% the type of my light ! |
Isn't the model ID property enough to identify the light? |
Properties are not shown on a discovery result and you cannot derive a thing type from it. |
You see, I have not used the Hue binding for a time and don't know if the model suffers the needs, so the real thing type does not need to be known 😉 Regardless of this use case: |
No, I don't think there is much value in this (and it would rather cause irritation as some of the properties will be used for the thing configuration later on). |
Okay
That was never my intention. I don't talk about thing files. |
A table in the documentation showing what thing type to use for each hue light model would help a lot. |
My light model id is LLC011. So what thing type should I use ? 0200 or 0210 or 0220 ? |
It is 0200. You will find the types listed on http://www.developers.meethue.com/documentation/supported-lights (but you need to create an account there in order to get access). |
The correct thing type can be identified by checking the table listing the channels in the docu. I tried to explain this in the enhanced example section but obviously this needs some more work. Will do that in the next couple of days. |
BTW, can I suggest to remove one of the colons from the generated UIDs? Current: hue::bridge1:1 Reason: The current naming approach is confusing as it looks like that something between the colons is missing. |
…gain Fixes: eclipse-archived#1863 Signed-off-by: Andre Fuechsel <[email protected]>
…gain (#1946) Fixes: #1863 Signed-off-by: Andre Fuechsel <[email protected]>
@joergkling This isn't possible due to the way the ThingUIDs are constructed (it must be clear that "bridge1" refers to a bridge and is not the id of the Thing. But note that #1946 reverts the change in the light discovery in order to avoid such confusion; the discovered UIDs will now be |
great, this will also help explaining the manual thing definition in the documentation. |
The thing type UID is missing for the discovered lights in the inbox.
I got hue::bridge1:1 and hue::bridge1:2
The text was updated successfully, but these errors were encountered: