Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weather alert node? #4

Closed
jpoeppelman1 opened this issue Nov 26, 2020 · 5 comments
Closed

Weather alert node? #4

jpoeppelman1 opened this issue Nov 26, 2020 · 5 comments

Comments

@jpoeppelman1
Copy link

Hello. I was wondering if you could add a node to query the active weather alerts?

@johnwalicki
Copy link
Owner

While I don't have a severe weather node, I did create a example Node-RED flow that shows severe weather alerts on a map.

https://github.com/johnwalicki/Node-RED-Severe-Weather-Alert-Map

@johnwalicki
Copy link
Owner

That Node-RED flow calls the TWC alerts API (if necessary, several times) to retrieve all of the NWS severe weather alerts (by US state or by all USA). Then plots them on a map.

@johnwalicki
Copy link
Owner

@jpoeppelman1 If you agree that example is useful, I'll close this ticket?

@jpoeppelman1
Copy link
Author

jpoeppelman1 commented Nov 26, 2020 via email

@johnwalicki
Copy link
Owner

johnwalicki commented Dec 2, 2020

I was purposeful in constructing the Node-RED-Severe-Weather-Alert-Map flow and Node-RED groups. It would be relatively easy to grab the half dozen nodes in the center "Query Weather Alert Headline API" group and import them into your flow. That section is portable and has one entry point and one exit. The top and bottom groups build the Node-RED dashboard/map. You could ignore those.
flow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants