homebridge-homematic
homebridge-homematic copied to clipboard
make platform level cache expire after 60s
suggested simple fix for #717 Adds a timestamp to the cached entries, and considers them outdated after 60s. This should protect the CCU/Rega from any bursts, but still allows updates to show in a reasonable time. I guess a 1 minute old value is still better than no updates at all.
No fancy stuff in here like async cache eviction, but gets the job done.
Tested and works