hardillb / node-red-alexa-home-skill-web

Apache License 2.0
45 stars 29 forks source link

Cannot distinguish between set, increase, decrease #40

Closed rPraml closed 6 years ago

rPraml commented 6 years ago

I've set up a device and checked %, +% and -%

But I cannot distunguish between these three. I got the messages below. Is there a trick to check, if the message's origin was a "SetPercentageRequest" or "IncreasePercentageRequest"?

Cheers Roland

voice commands and returned messages

Alexa, set XY to 2 percent:

msg.payload : number
2

Alexa, increase XY by 2 percent:

msg.payload : number
2

Alexa, decrease XY by 2 percent:

msg.payload : number
-2
hardillb commented 6 years ago

Look at the WHOLE message not just the payload in the debug node