I am a noob when it comes to this. I got Node Red up and running and setup TTS though Alexa. I have to manually auth with Amazon every 3 days but I make that work.
I made a flow to have Alexa announce when a door is open. Now I want to take it one step further and have Alexa announce when a door is opened only if another device (occupancy) is On. Here is what I have.

On the left are each of the door sensors. They go through a Switch so an action is only preformed when they are "opened" Then another device is checked and passed though another switch. If the status of that device (occupancy) is on then a payload is set with the text and then spoken though the echos. This works if I take out the occupancy and the switch. I suppose I could make new virtual devices and only have HS turn them on when occupancy is ON and use them as the basis for my flow but that seams like a bit of overkill.
Can someone tell me what I am going wrong?
I made a flow to have Alexa announce when a door is open. Now I want to take it one step further and have Alexa announce when a door is opened only if another device (occupancy) is On. Here is what I have.
On the left are each of the door sensors. They go through a Switch so an action is only preformed when they are "opened" Then another device is checked and passed though another switch. If the status of that device (occupancy) is on then a payload is set with the text and then spoken though the echos. This works if I take out the occupancy and the switch. I suppose I could make new virtual devices and only have HS turn them on when occupancy is ON and use them as the basis for my flow but that seams like a bit of overkill.
Can someone tell me what I am going wrong?
Comment