Alexa Routine Node does not send sound to my mobile device

Basically yes.

if you check in global context do you now see an item called mytemp ?

As I think the HA node should look like this - global.mytemp = entity state

There in the node, if I see it. Elsewhere, I don't know where he tells me I should see it.

OK edit the HA node to look like this - global.mytemp = entity state
Then delete the other two items msg.payload and msg.data

Trigger the node so it makes the request and "should" store the value in global.mytemp

In the right hand panel of editor click context data icon, then click on the refresh icon next to global

You should see mytemp and the value

Correct. So I have done it, and so it has been saved.

image

That is debug output not context, it also has a msg.payload, so you cannot have removed that from the HA node. You need the HA node to just save the value in global.mytemp.

Edit the node as I showed -

This is the only HA node I have.

Delete the payload here, as this will cause problems later on becasue it will overwrite any incoming payload.

then check in context to see if the variable is stored there -

Ok....Now it seems that it is so. It's OK now?

OK we are getting there now :wink:

Put the HA node between the Alexa Home node and the function node, and see if you can ask for the temperature now.

I was doing several tests, but I have not achieved anything.

Hot Water, it was configured as a Switch, but if I request Hot Water temperature, it does nothing....it just says "OK"

I have to create a Thermostat device in Alexa, would it be more correct?

Create something like this? best??

It depends what you need to control but something like this will allow you to ask for temp and turn on and off if you want to

Any luck with this ?

Finally!!!!!

You have achieved it, because I have only followed in your footsteps.

It works on every Alexa you ask it and only answers on that one, as we wanted.

A million thanks!!!!!

Now, it will be time to continue doing interesting things, to see if I am not so clumsy.

It took me longer, because I didn't do it very well.

I don't know how I could thank you for your help.

No problem - I was determined to get this working :wink:
Can you mark the solution please ?

1 Like

Although many of the answers have helped me, I have marked the one that has led me to the correct configuration the most.

If anyone has the same problem, I encourage you to follow the full post.

Thank you very much again!!

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.