datMaffin / homebridge-tesla-powerwall

Homebridge Plugin for the Tesla Powerwall
ISC License
21 stars 11 forks source link

Resolve messages about the plugin slowing Homebridge #29

Closed karlvr closed 2 years ago

karlvr commented 3 years ago

It seems that sometimes the Powerwall is slow to respond, so I've built a wrapper around the getters that will return with a cached value if the Powerwall doesn't respond quickly. This resolves the issue described https://github.com/homebridge/homebridge/wiki/Characteristic-Warnings#this-plugin-slows-down-homebridge

karlvr commented 2 years ago

@datMaffin I've rebased and pushed again. I've been running this version since that time with no issues.