ironsheep / lovelace-lightning-detector-card

A Lightning Detection Display Card for Home Assistant Lovelace
MIT License
23 stars 2 forks source link

Blitzortung Custom Component Support #3

Open Norien opened 4 years ago

Norien commented 4 years ago

Is it possible to use this custom component with your card? - https://github.com/mrk-its/homeassistant-blitzortung

ironsheep commented 4 years ago

This is an interesting thought. But not really a good match. for at least two reasons

  1. The ring data for the AS3935 sensor is accumulated outside of Home Assistant by the Daemon talking with the AS3935 sensor.
  2. This sensor does not provide any directional data, hence this card does not show any information about detection-direction from the center, only distance.

Given these two issues this doesn't seem to be a good fit. Thoughts?

casperleenheer commented 4 years ago

I wanted the same. As I saw the answer I came up with this:

https://community.home-assistant.io/t/blitzortung-showing-thunder-on-map/214560

ironsheep commented 4 years ago

Thanks for posting this! Additionally should one want to create a data source for this card it will be fairly easy with the guidance of a new document to be posted to the sensor daemon script repo. I'll post a final comment here when that doc. is committed to the repo.

ironsheep commented 4 years ago

Here's the latest document in the repo - a theory of operation which shows the payloads and accumulation logic/reasoning behind them. See https://github.com/ironsheep/lightning-detector-MQTT2HA-Daemon/blob/master/THEOPS.md

It also describes how much of the work is already done for supporting another source of data.

aaamoeder commented 4 years ago

I came here to ask this too.. would be awesome ! directional data is nice to have but not essential imo and all the rest of the data is available so it should be possible ?

ironsheep commented 4 years ago

@aaamoeder yes it should be possible. It's not something I'll do as I don't use the service but see my https://github.com/ironsheep/lightning-detector-MQTT2HA-Daemon/blob/master/THEOPS.md which I wrote so others can see what's needed and can then create a script to feed this Detector card. Please keep me informed if you decide to create something like this! I'd love to hear.