Skip to content

WebSocket reviewed

Choose a tag to compare

@marq24 marq24 released this 09 Mar 16:53

WebSocket enhancements/changes

In #105 it had been reported, that in some special conditions the websocket implementation could not establish a connection with the bridge (for more or less unknown reasons). I took this issue as an opportunity to review the current WebSocket implementation and have adjusted:

  • Access WebSocket via ws:// (instead of http://)

  • Use aiohttp standards to provide basic auth

  • Indicate the WebSocket connection status (✅ = connected | ⛔= not connected) in the device model information image

  • connect to WebSocket with compress=0 setting

Please consider supporting me

Thanks to those who have already supported me in the past weeks or month that is highly appreciated! To the other users: I am putting quite an amount of energy and passion into this integration. Perhaps you could give yourself a little push (if you can afford it) and become a sponsor.

GithubSponsor Revolut Wero PayPal BuyMeCoffee Github Stars
If you haven't starred this integration in Github yet - please do so - TIA