chasenicholl / homebridge-weatherflow-tempest

WeatherFlow Tempest Homebridge Plugin
Apache License 2.0
15 stars 2 forks source link

Lightning detection sensor? #20

Closed jlg89 closed 10 months ago

jlg89 commented 11 months ago

Is your feature request related to a problem? Please describe: It's frustrating to not be able to use lightning detection to trigger automations in HomeKit

Describe the solution you'd like: The ability to configure a contact sensor that triggers when lightning has been detected. Configuration parameters might include the maximum lightning distance that triggers the sensor, and how long to keep the contact sensor closed after an in-range strike is detected. So the contact sensor could be configured to, for example, trigger when lightning has been detected within 10 miles in the past 15 minutes.

chasenicholl commented 10 months ago

Great idea. I'll include this in my next minor version update.

DMBlakeley commented 10 months ago

As reference, I did something similar in my homebridge-awair2 plug-in adding limit switches for VOC and PM2.5 using occupancy sensors.

chasenicholl commented 10 months ago

@jlg89 I have noted this feature request. I am going to close this issue. We'll try and work this idea into an upcoming feature release. Thanks for the feedback!