NorthernMan54 / homebridge-rtl

Homebridge Plugin for rtl_433 devices
MIT License
22 stars 10 forks source link

Disable repeating last data from FakeGato to Eve app when no data from sensor #21

Closed matopeto closed 2 years ago

matopeto commented 2 years ago

By default fakegato-history repeats last data every 10 minute to Eve app to avoid gaps in sensor history. This is good for "lazy" sensors, but not good for normal sensors that sends data every while.

This is problem when sensor battery dies and in Eve app seems "all ok" because fakegato is filling data with last known value. (It don't respect Error("No response") that the timeout sets)

To avoid this behaviour i added disableRepeatLastData parameter for temperature and humidity sensors.

NorthernMan54 commented 2 years ago

Tks

NorthernMan54 commented 2 years ago

Published as v0.0.33