I'm new to Node-Red so please excuse my ignorance. I use the WeatherXML plugin in HS4. I use a script to combine several days of weather forecasts into a text string that can be displayed in HSTouch. The text string is stored as status in a virtual device in HS4.
When I add that virtual device in NR, it pushes the message payload when the forecast is updated or if I manually inject a sync into the node. If I go directly from the device node to an Alexa speech node, it works but randomly speaks when the forecast is updated.
I added a file node so that it will save the msg.payload to a file so I can retrieve it later for on-demand speech when I require it. I can save it to a file but when I retrieve the file and send to the Alexa speech node, it does not work and gives errors. Here is my setup. I'd like to know the correct procedure to save the msg.payload and then retrieve it to send to the speech node. I'd appreciate any ideas on this.


When I add that virtual device in NR, it pushes the message payload when the forecast is updated or if I manually inject a sync into the node. If I go directly from the device node to an Alexa speech node, it works but randomly speaks when the forecast is updated.
I added a file node so that it will save the msg.payload to a file so I can retrieve it later for on-demand speech when I require it. I can save it to a file but when I retrieve the file and send to the Alexa speech node, it does not work and gives errors. Here is my setup. I'd like to know the correct procedure to save the msg.payload and then retrieve it to send to the speech node. I'd appreciate any ideas on this.
Comment