Closed pkronstrom closed 5 years ago
A connection loss to D-Bus entirely is not a use case to cater for; as discussed in #11.
But; a loss of connection to one of the devices could be a viable option. Consider this use case:
Now, in the flow, it would be great that the items he has in his flow show a connection status below the nodes.
Implementation in commit https://github.com/victronenergy/node-red-contrib-victron/commit/14a9ff4ff907ee99d312672a9af8b57ecbe536f2
The node connection status is shown for the currently selected service (and path). When a service disconnects or a service comes back online, the node status is updated accordingly.
Node-RED supports showing connection status below the nodes. Show a red 'disconnected' or green 'connected' circle below the node based on the dbus connection status.