datech / node-red-contrib-amazon-echo

Alexa controlled Node-Red nodes supporting latest Amazon Echo devices. NO Alexa Skills required. NO cloud dependencies.
MIT License
140 stars 42 forks source link

RGB Values return Negative HUE #173

Open theholzixx opened 3 years ago

theholzixx commented 3 years ago
SUMMARY

Sending some RGB values to Alexa returns negative hue, whilest other work fine.

ECHO DEVICES

Echo Dot 4th generation

MODULE VERSION
Node-Red 1.3.3
CONFIGURATION
[{"id":"a2d58f59.2be78","type":"amazon-echo-device","z":"a3bab3db.65386","name":"Neos","topic":"","x":730,"y":60,"wires":[["b517ec35.f1951"]]}]
CONSOLE OUTPUT
{"on":true,"bri":254,"percentage":100,"hue":-10922,"sat":254,"xy":[0.348040887092849,0.1730626908237535],"ct":199,"rgb":[254,0,254],"colormode":"hs","meta":{"insert":{"by":"alexa","details":{"ip":"::ffff:192.168.178.45","date":"2021-05-26T21:46:08.214Z"}},"input":{"on":true},"changes":{}},"payload":"on","deviceid":"a2d58f592be78","topic":"","_msgid":"25e6d08f.dd687"}
STEPS TO REPRODUCE

Send RGB values of 254, 0, 254 to Alexa like in the Flow posted above.

EXPECTED RESULTS

Alexa knows that the Light is magenta.

ACTUAL RESULTS

Alexa responds: The device does not suport the selected Value.