-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[deconz] Tint remote control by Müller-Licht Color wheel does not work #8256
Comments
Please show how this is shown in the REST API. |
{ I guess the "angle" and "xy" values determine the color, some tests showed something like that: Yellow Green Light Blue: 270 Blue: Purple Red: |
I don‘t know what the angle is used for, but I think I can implement the xy sensor |
Please try if https://janessa.me/esh/org.openhab.binding.deconz-2.5.8-SNAPSHOT.jar works as you expect. |
I‘ll have a look. |
Additional Log Information, Addons.cfg configured with deconz, Snapshot in openHAB/addons: 2020-08-13 08:14:14.716 [ERROR] [org.openhab.binding.deconz ] - bundle org.openhab.binding.deconz:2.5.8.202008101428 (239)[org.openhab.binding.deconz.internal.DeconzHandlerFactory(247)] : Error during instantiation of the implementation object com.thoughtworks.xstream.converters.ConversionException: Supported itemType for a ChannelType must not be empty. : Supported itemType for a ChannelType must not be empty. at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79) ~[bundleFile:?] 2020-08-13 08:17:08.386 [WARN ] [g.discovery.internal.PersistentInbox] - Cannot create thing. No binding found that supports creating a thing of type deconz:color. |
Unfortunately you downloaded the file before I fixed that error. Could you try to download and test again? Thanks a lot. |
Argh. My fault. Fixed it. Please download again. |
Just uploaded a new version |
Well, you're on a very good way! The thing is online and I was able to add the items, with the color channel providing a seemingly correct HSB value. The paperUI does not show a value, but I don't think it matters, because the item is read correctly in the VCS. Now, unfortunately, there is still a problem. Is it possible to add the missing switch-channels (Button Trigger and Button) to the thing? Because now only the last one added works. Either the switch from the VCS or the colorcontrol from the paperUI, but not both together. Probably because they have the same UID. |
I think this maybe related to the fact that the channel is read only and paper ui may not be able to display that. The more important thing is that the state of the item changes. I have added both channels. Can you try if that works as expected? |
Wow, I think you did it! All items seem to work properly. I had to try a little bit on the rules, but now the buttons of the remote work according to their labels.
I have to admit that the colour selection of the remote control is not very precise, but this seems to be a mechanical problem and requires some practice with a combination of long and short clicks. Thank you very much for your time and work! As mentioned before, I really appreciate your work and I think that others will benefit as well. Let me know if there's any other way I can thank you. |
Unfortunately the color wheel is only identified as a button. There seems to be no channel to read out the selected color.
This thread refers to the integration in deConz and zigbee2mqtt:
dresden-elektronik/deconz-rest-plugin#1209
THINGS
Bridge deconz:deconz:homeserver "Conbee 2" [host="xxx.xxx.xxx.xxx", apikey="xxxxxx", httpPort="30000", timeout=2000 ]{
switch LED_Fernbedienung "Fernbedienung LED" [ id="11" ]
}
ITEMS
Number FernbedienungLEDButton "Button" {channel="deconz:switch:homeserver:LED_Fernbedienung:button"}
DateTime FernbedienungLEDLastUpdated "Last updated" {channel="deconz:switch:homeserver:LED_Fernbedienung:last_updated"}
DateTime FernbedienungLEDLastSeen "Last seen" {channel="deconz:switch:homeserver:LED_Fernbedienung:last_seen"}
The text was updated successfully, but these errors were encountered: