victronenergy / node-red-contrib-victron

MIT License
90 stars 18 forks source link

Remove disconnected services from the internal cache #15

Closed pkronstrom closed 5 years ago

pkronstrom commented 5 years ago

The current implementation of the internal cache doesn't remove services that become unavailable. A self-updating service-level cache is already available in dbus-listener.js (https://github.com/sbender9/signalk-venus-plugin/blob/master/dbus-listener.js#L159) so preferably expose it to the victronclient and use to remove unavailable services.