originallyus / node-red-contrib-alexa-local

An easy-to-use NodeRED node for adding Alexa capability to NodeRED. NO Alexa Skills required.
108 stars 25 forks source link

bri value out of msg #57

Closed tafadafi closed 6 years ago

tafadafi commented 6 years ago

Hey folks,

I'm trying to get the fu*** bri value out of the msg.

{"bri":84,"on_off_command":false,"payload":"on","change_direction":0,"bri_normalized":0.84,"on":true,"

Any quick idea how to do this?

tafadafi commented 6 years ago

Ok ... that was easy in the end.

just have an function node with the following content

msg.payload=msg.bri; return msg;

but if I say to Alexa turn light xy off it is not turning it off. only if i say Alexa light xy 0 % it goes off.

is there a way to turn it off if i tell Alexa?!?