WeatherLink weather template
Updated 2022-02-21 !
!! Please note new version with the latest v2 API !!
If You want a more advanced weather site/template this is a very nice one coded in PHP.
Intro
Here is a link to a quick NR intro.
In my case NR is installed on a Raspberry Pi but it could be installed on several other hardware platforms.
In this post there are information about the DWL API and in this flow i use the JSON REST API V1. It is just a simple URL
http://api.weatherlink.com/v1/NoaaExt.json?user=xxxx&pass=yyyy&apiToken=ZZZZ
where xxxx, yyyy and zzzz should be substituted with Your device ID, password and the token. The token is retrieved from the DWL site after You logged on.

In the "Get input" part the http request is sent, once every minute, and the answer is converted to a JSObject in the "json"node. The URL is hardcoded in the "http-request" node so here You have to change to Your credentials.
In the "Calculation" part, different data are picked up and processed with "function" or "change" nodes.
In the 3 "Column_x" parts, the data are displayed via "text", "chart" and "gauge"nodes.
Via the "inject" node "Reset Chart" all the charts will be cleared
The GUI URL is http://yourhost:1880/ui/
If You want to port the application to the WEB You must add security.
Remark
I did a check regarding temperature "feels like" or apparent temperature and found that the Australian way seems to be the best approximation. Here is the link to BOM and some other thoughts on Wikipedia. The BOM calculation is implemented in my NR flow 2019-10-10.
In my case NR is installed on a Raspberry Pi but it could be installed on several other hardware platforms.
In this post there are information about the DWL API and in this flow i use the JSON REST API V1. It is just a simple URL
http://api.weatherlink.com/v1/NoaaExt.json?user=xxxx&pass=yyyy&apiToken=ZZZZ
where xxxx, yyyy and zzzz should be substituted with Your device ID, password and the token. The token is retrieved from the DWL site after You logged on.

Install
Install the "node-red-dashboard" node which is used for the GUI part and then pick up the example flow here.
In the "Get input" part the http request is sent, once every minute, and the answer is converted to a JSObject in the "json"node. The URL is hardcoded in the "http-request" node so here You have to change to Your credentials.
In the "Calculation" part, different data are picked up and processed with "function" or "change" nodes.
In the 3 "Column_x" parts, the data are displayed via "text", "chart" and "gauge"nodes.
Via the "inject" node "Reset Chart" all the charts will be cleared
The GUI URL is http://yourhost:1880/ui/
If You want to port the application to the WEB You must add security.
Remark
I did a check regarding temperature "feels like" or apparent temperature and found that the Australian way seems to be the best approximation. Here is the link to BOM and some other thoughts on Wikipedia. The BOM calculation is implemented in my NR flow 2019-10-10.

Comments
Could you please help me.
abbas
Post a Comment
Feel free to leave a comment ! ... but due to a lot of spam comments I have to moderate them. Will reply ASAP !