johnwalicki / Node-RED-Severe-Weather-Alert-Map

Severe Weather Alert Map Node-RED Dashboard using The Weather Company APIs
Apache License 2.0
5 stars 3 forks source link

weather icon code for sharptools dashboard #4

Open jpoeppelman1 opened 3 years ago

jpoeppelman1 commented 3 years ago

Hello. Any idea which node will provide the current condition weather icon code via the TWC api? Thanks!

https://weather.com/swagger-docs/ui/sun/v3/sunV3CurrentsOnDemand.json

jpoeppelman1 commented 3 years ago

Sorry, I realized I would need access to the TWC API instead of using Weather Underground. I went to the IBM TWC page and it said to the contact them for Pricing / API access. Did you contact them for this and will the TWC API support PWS uploads? Thanks again!

johnwalicki commented 3 years ago

I give an example of mapping the icons to the weather icon codes. It was tricky. https://github.com/johnwalicki/node-red-contrib-twc-weather

Here is an example Weather Node-RED Dashboard that displays Personal Weather Station current and historical data on a map, in a table, a gauge and on a chart. The PWS API key includes access to the TWC 5 Day Forecast, which is displayed with weather-lite icons. This flow requires node-red-dashboard, node-red-node-ui-table and node-red-contrib-web-worldmap. Import this PWS-Dashboard.json flow https://github.com/johnwalicki/node-red-contrib-twc-weather/blob/master/examples/PWS-Dashboard.json

johnwalicki commented 3 years ago

Unfortunately, the TWC API keys designated for Call for Code are suspended until the 2021 challenge kicks off in late 1Q. The TWC terms of service for the free API keys said was active from Feb-Nov 2020.