Blitzortung.org is a worldwide, real time, community collaborative lightning location network. This component uses Blitzortung data and provides real time notifications about lightning strikes in given area (by default within 100km radius of your home). Data is served through a public MQTT server (dedicated to serve requests for this component) - thanks to geohash-based topics and some other optimizations it greatly reduces amount of data sent to clients comparing to direct websocket connection to Blitzortung servers (it is also required by Blitzortung data usage policy - third party apps must use their own servers to server data for their own clients).
- distance and azimuth sensors of lightning strikes nearby
- counter of lightning strikes
- emits geo_location events for lightning strikes (visible on the map)
- data is realtime, with average delay of few seconds
Place custom_components/blitzortung
directory inside custom_components dir and restart Home Assistant
This component is available on HACS default
Search for Blitzortung on Configuration/Integrations
page. After adding integration, you can optionally configure the location and radius with Blitzortung/Options (by default your home locattion is used with 100km radius).
You can change the coordinates for an existing Blitzortung configuration using the reconfigure flow, go to Settings >> Devices & services >> Blitortung >> 3 dot menu >> Reconfigure.
You can read and see (youtube) how this component was used in the following community video. How to Add a Lightning Sensor