kesteraernoudt / dobiss

Custom Home Assistant Integration for the Dobiss NXT platform
MIT License
9 stars 1 forks source link

Dobiss NXT v3.80 - toggles #202

Open WishMaster666 opened 16 hours ago

WishMaster666 commented 16 hours ago

I upgraded my Dobiss NXT to version 3.80.

I get this image for 1-2 seconds when I click the toggle (turn on the light, the light does turn on): image

It then switches back to this image (but the light stays on): image

I cannot use the toggle to turn off the light in Home Assistant. I guess the second line in the release notes has something to do with it?

3.80 Monitor consumers: select EV Charger NXT relay outputs: action types pulse follower and up/down Artsound: option to always ungroup before action Zigbee (Azoula): integration of new device types Upgrade: show what's new before installing BETA testing: integration with Home Connect BETA testing: integration with Daikin Onecta

timvdsm commented 16 hours ago

I also have problems since the 3.80 update. States are not visualized in HA.

Here is my log:

Logger: dobissapi.dobissapi
Bron: /usr/local/lib/python3.12/site-packages/dobissapi/dobissapi.py:890
Eerst voorgekomen: 14:29:03 (118 gebeurtenissen)
Laatst gelogd: 14:48:37

Failed to connect, waiting a bit before retrying: ClientResponseError(RequestInfo(url=URL('ws://x.x.x.x/sockets/api'), method='GET', headers=<CIMultiDictProxy('Host': 'x.x.x.x', 'Authorization': 'Bearer x.x', 'Upgrade': 'websocket', 'Connection': 'Upgrade', 'Sec-WebSocket-Version': '13', 'Sec-WebSocket-Key': 'xxxx==', 'Accept': '*/*', 'Accept-Encoding': 'gzip, deflate, br', 'User-Agent': 'Python/3.12 aiohttp/3.10.8')>, real_url=URL('ws://x.x.x.x/sockets/api')), (), status=426, message='No Sec-WebSocket-Protocols requested supported', headers=<CIMultiDictProxy('Server': 'nginx/1.18.0', 'Date': 'Wed, 16 Oct 2024 12:47:57 GMT', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Upgrade': 'websocket', 'Sec-WebSocket-Version': '13', 'Sec-WebSocket-Protocol': 'wamp', 'X-Powered-By': 'Ratchet/0.4.4')>)
Failed to connect, waiting a bit before retrying: 
....

Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/dobissapi/dobissapi.py", line 858, in listen_for_dobiss
    ws = await self._session.ws_connect(self._ws_url, headers=headers)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 933, in _ws_connect
    resp = await self.request(
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 789, in _request
    resp.raise_for_status()
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client_reqrep.py", line 1121, in raise_for_status
    raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 426, message='No Sec-WebSocket-Protocols requested supported', url='ws://x.x.x.x/sockets/api'
kesteraernoudt commented 15 hours ago

Unfortunately I moved out and don’t have direct access to the dobiss system anymore.It does look like the sending of commands still work, but the connection to the updates from dobiss next is failing. I’ll have a look and see if I can find what has changed - I may need some help to test things…On Oct 16, 2024, at 11:16 AM, timvdsm @.***> wrote: I also have problems since the 3.80 update. Here is my log: Logger: dobissapi.dobissapi Bron: /usr/local/lib/python3.12/site-packages/dobissapi/dobissapi.py:890 Eerst voorgekomen: 14:29:03 (118 gebeurtenissen) Laatst gelogd: 14:48:37

Failed to connect, waiting a bit before retrying: ClientResponseError(RequestInfo(url=URL('ws://x.x.x.x/sockets/api'), method='GET', headers=<CIMultiDictProxy('Host': 'x.x.x.x', 'Authorization': 'Bearer x.x', 'Upgrade': 'websocket', 'Connection': 'Upgrade', 'Sec-WebSocket-Version': '13', 'Sec-WebSocket-Key': 'xxxx==', 'Accept': '/', 'Accept-Encoding': 'gzip, deflate, br', 'User-Agent': 'Python/3.12 aiohttp/3.10.8')>, real_url=URL('ws://x.x.x.x/sockets/api')), (), status=426, message='No Sec-WebSocket-Protocols requested supported', headers=<CIMultiDictProxy('Server': 'nginx/1.18.0', 'Date': 'Wed, 16 Oct 2024 12:47:57 GMT', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Upgrade': 'websocket', 'Sec-WebSocket-Version': '13', 'Sec-WebSocket-Protocol': 'wamp', 'X-Powered-By': 'Ratchet/0.4.4')>) Failed to connect, waiting a bit before retrying: ....

Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/dobissapi/dobissapi.py", line 858, in listen_for_dobiss ws = await self._session.ws_connect(self._ws_url, headers=headers) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 933, in _ws_connect resp = await self.request( ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 789, in _request resp.raise_for_status() File "/usr/local/lib/python3.12/site-packages/aiohttp/client_reqrep.py", line 1121, in raise_for_status raise ClientResponseError( aiohttp.client_exceptions.ClientResponseError: 426, message='No Sec-WebSocket-Protocols requested supported', url='ws://x.x.x.x/sockets/api'

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

timvdsm commented 14 hours ago

It does look like the sending of commands still work, but the connection to the updates from dobiss next is failing.

Indeed, for example: a light is off, when you toggle the entity in HA, the command activates the light in reality. However in HA the state stays "off". When you once click the light in HA nothing happens as in reality the light stays on.

I may need some help to test things…

Sure no problem, with a lot of pleasure ;-)