This subflow node is for retrieving the weather information from an Alecto weatherstation. It does this by listening for post requests.
In order to get this working, you need to add a customized service to the weather station. This can be done in the WS View app, under device list. Under Customized add:
- Enable - set the Customized service to accept incomming POST requests.
- Protocol type - Only Ecowitt is supported.
- Server IP / Hostname - needst to be set to the internal IP of the running Node-RED instance.
- Path - needs to be set to
/Alecto
- Port - needs to be set to the port that
Node-RED is running on (usually
1880
) - Update interval - can be set to the number
of seconds between updates.
60
seconds is a normal interval.
If you set "store to global context", the node will store the latest input into the global context under the "alecto" object.
The node outputs the incoming messages from the weather station. As the Alecto weatherstation only sends the temperature in fahrenheit the node adds a conversion to Celsius to make it more convenient to parse.
The status turns green when listening. With incoming messages, it updates the text to show the timestamp of the last incoming message (in readable format).