naofireblade / homebridge-weather-plus

A comprehensive weather plugin for homebridge.
MIT License
314 stars 63 forks source link

Define range instead of treshold for sensors #98

Open NogginTheNog opened 4 years ago

NogginTheNog commented 4 years ago

tresholdAirPressure (compatibility "home" or "both") At what treshold should the air pressure sensor trigger?

Shouldn't this be a trigger if it falls under the value, i.e there is a storm coming?

naofireblade commented 4 years ago

Good idea I will implement this in the future (low prio). Meanwhile if you use this in automations you can check for the inactive state of the sensor.

NogginTheNog commented 4 years ago

Actually a range would be handy as well

dacarson commented 7 months ago

Is a range only needed for Air Pressure? Should the sensor trigger if it goes below a threshold or above a threshold? As noted it presently only triggers when it goes above the defined threshold.