You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added a light to my Amazon account to be able to control it via the AmazonEchoControl Binding in OpenHAB. This works just as expected normally. However this time I am facing the problem that I cannot control the color of a lamp.
All item values are populated properly. I can set the brightness of the lamp. I can read the color of the lamp. However setting it does not work:
2024-11-03 16:06:42.677 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'AmazonArbeitszimmerDeckenlampeColor' received command 151,91,100
2024-11-03 16:06:42.680 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'AmazonArbeitszimmerDeckenlampeColor' changed from 120,100,100 to 151,91,100
2024-11-03 16:06:42.683 [DEBUG] [org.openhab.binding.amazonechocontrol.internal.Connection ] - Make request to https://alexa.amazon.de/api/phoenix/state
2024-11-03 16:06:42.684 [DEBUG] [org.openhab.binding.amazonechocontrol.internal.Connection ] - PUT: {"controlRequests":[{"entityId":"XXX","entityType":"APPLIANCE","parameters":{"action":"setColor","value":{"hue":151,"saturation":0.91,"brightness":1.0}}}]}
2024-11-03 16:06:42.918 [DEBUG] [org.openhab.binding.amazonechocontrol.internal.Connection ] - Call to https://alexa.amazon.de/api/phoenix/state succeeded
2024-11-03 16:06:42.920 [DEBUG] [org.openhab.binding.amazonechocontrol.internal.Connection ] - Result of PUT https://alexa.amazon.de/api/phoenix/state:{"controlResponses":[],"errors":[{"entity":{"entityId":"XXX","entityType":"APPLIANCE"},"code":"IllegalArgumentException","message":"null","data":null}]}
2024-11-03 16:06:42.920 [WARN ] [org.openhab.binding.amazonechocontrol.internal.Connection ] - Smart home device command failed. The request '{"controlRequests":[{"entityId":"XXX","entityType":"APPLIANCE","parameters":{"action":"setColor","value":{"hue":151,"saturation":0.91,"brightness":1.0}}}]}' resulted in error(s): {"entity":{"entityId":"81a5d483-3b5a-462c-836b-f6a7ae9b8e0d","entityType":"APPLIANCE"},"code":"IllegalArgumentException","message":"null","data":null}
This is the light, it's kinda cheap I guess but is Alexa certified and can be controlled as expected in the Alexa app. That's why I think it's not a problem with the lamp itself but the binding.
Steps to Reproduce (for Bugs)
Add lamp in Alexa app
Add lamp as thing Thing smartHomeDevice Amazon_Arbeitszimmer_Deckenlampe "Amazon_Arbeitszimmer_Deckenlampe"@"Deckenlampe" [id="SKILL_xxx"]
Create item Color AmazonArbeitszimmerDeckenlampeColor "Color"{channel="amazonechocontrol:smartHomeDevice:Amazon_System_Konto:Amazon_Arbeitszimmer_Deckenlampe:color"}
I added a light to my Amazon account to be able to control it via the AmazonEchoControl Binding in OpenHAB. This works just as expected normally. However this time I am facing the problem that I cannot control the color of a lamp.
All item values are populated properly. I can set the brightness of the lamp. I can read the color of the lamp. However setting it does not work:
This is the light, it's kinda cheap I guess but is Alexa certified and can be controlled as expected in the Alexa app. That's why I think it's not a problem with the lamp itself but the binding.
Steps to Reproduce (for Bugs)
Thing smartHomeDevice Amazon_Arbeitszimmer_Deckenlampe "Amazon_Arbeitszimmer_Deckenlampe"@"Deckenlampe" [id="SKILL_xxx"]
Color AmazonArbeitszimmerDeckenlampeColor "Color"{channel="amazonechocontrol:smartHomeDevice:Amazon_System_Konto:Amazon_Arbeitszimmer_Deckenlampe:color"}
Your Environment
The text was updated successfully, but these errors were encountered: