I would like to know if anyone is using info from blitzortung.org to implement a flow in Node Red.
I know that Home Assistant have a integration for this, but I don't use HA.
I need that info, to disconnect all my electronics, if a thunderstorm is coming in my direction.
As we are not here to create your flows, but hope that you can adjust it for your personal needs.
Looking at the objects coming in, it appears that the main object has a lon/lat based on a certain radius, in the array of objects the signals are within that radius.
So I would look at your own lon/lat data and use a switch node to filter if it falls within that range, if yes, then you can further filter on the local data.
If i look a bit further on that website, you can lookup the station(s) that are nearby your area, then you can filter for the station directly, saves some trouble filtering with lon/lat.
Filtering is more advanced. The example flow i posted just listens on the websocket. To filter a specific station can be done using jsonata (where the advanced part comes in). Let's say you want to listen on station 2353, you could use a switch node to only let this specific station pass through: