andersevenrud / ha-nexa-bridge-x

Home Assistant - Nexa Bridge X Integration
Other
9 stars 3 forks source link

Subscribe to websocket for updates #12

Closed andersevenrud closed 1 year ago

andersevenrud commented 1 year ago

The bridge provides a websocket on port 8887 that broadcasts updates to certain node value updates and other system events.

Only states are published over the socket. Things like energy is not.

Subscribing to this would allow for better synchronization VS doing the "coordinator refresh" requests.