Okay I was thinking in the same direction, thanks for confirming!
Dag kester,
Ik ben nieuw in het gebruik van de home assistant.
ALs ik het goed begrijp moet ik de bestanden voor de NXT kopieren naar een map.
De mappen die je vermeld waar het naar gekopieerd moet worden waar vind ik die op mijn home assistant?
Ben alle tabbladen al afgegaan maar nergens een plaats vinden waar ik die mappen terug vind.
Zou jij mij kunnen zeggen waar ik deze kan terug vinden?
Alavast bedankt!
Het is veel eenvoudiger te installeren via hacs: User documentation - HACS
Eens die is geïnstalleerd kan je de dobiss integratie vinden in de hacs user interface en zo eenvoudig installeren.
Ik zou de manuele methode enkel aanraden als je goede redenen hebt om hacs niet te gebruiken…
Bedankt voor de informatie!
Het is gelukt
Ik heb nog een vraagje,
het is gelukt om de nxt in te lezen, krijg alles te zien.
alleen de status van de verlichting enzo kan ik niet zien.
En de HA zorgt ervoor dat mijn NXT overbelast word, de app op mijn gsm blijft laden en als ik de HA uitzet werkt het weer normaal.
Weet jij hoe ik dit kan oplossen?
Kan je me een log file van home assistant bezorgen? Sowieso zou ik ook bekijken of je NXT server de laatste updates heeft - zo niet eerst deze installeren.
Ik zal jou die straks bezorgen. De NXT heeft de laatste nieuwe update gehad
Heeft het hier niet mee te maken?
Failing websocket connection
Inderdaad. Ik zou de nxt nog eens updaten om zeker te zijn dat de correcte laatste versie is geïnstalleerd
De NXT staat in de laatste update, de websocket staat aan, als ik de nxt koppel met HA dan gaat die uit.
Dit is mijn log:
2025-03-13 18:04:49.132 ERROR (MainThread) [dobissapi.dobissapi] Failed to connect, waiting a bit before retrying: ClientResponseError(RequestInfo(url=URL(‘ws://192.168.1.190/sockets/api’), method=‘GET’, headers=<CIMultiDictProxy(‘Host’: ‘192.168.1.190’, ‘Authorization’: ‘Bearer eyJhbGciOiJIUzI1NiIsImV4cGlyZXNJbiI6IjI0aCIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoibXlfYXBwbGljYXRpb24ifQ.qGDXoSNQbc5MR_A4DPhCAg4XqomTtflyozNj_el4QiI’, ‘Upgrade’: ‘websocket’, ‘Connection’: ‘Upgrade’, ‘Sec-WebSocket-Version’: ‘13’, ‘Sec-WebSocket-Key’: ‘U6pfSCLtb85AvYNfuaNiig==’, ‘Sec-WebSocket-Protocol’: ‘wamp’, ‘Accept’: ‘/’, ‘Accept-Encoding’: ‘gzip, deflate, br’, ‘User-Agent’: ‘Python/3.13 aiohttp/3.11.13’)>, real_url=URL(‘ws://192.168.1.190/sockets/api’)), (), status=502, message=‘Bad Gateway’, headers=<CIMultiDictProxy(‘Server’: ‘nginx/1.18.0’, ‘Date’: ‘Thu, 13 Mar 2025 17:04:49 GMT’, ‘Content-Type’: ‘text/html’, ‘Content-Length’: ‘494’, ‘Connection’: ‘keep-alive’, ‘Etag’: ‘“65dcb6dd-1ee”’)>)
Traceback (most recent call last):
File “/usr/local/lib/python3.13/site-packages/dobissapi/dobissapi.py”, line 868, in listen_for_dobiss
ws = await self._session.ws_connect(self._ws_url, protocols=[“wamp”], headers=headers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/aiohttp/client.py”, line 1004, in _ws_connect
resp = await self.request(
^^^^^^^^^^^^^^^^^^^
…<11 lines>…
)
^
File “/usr/local/lib/python3.13/site-packages/aiohttp/client.py”, line 834, in _request
resp.raise_for_status()
~~~~~~~~~~~~~~~~~~~~~^^
File “/usr/local/lib/python3.13/site-packages/aiohttp/client_reqrep.py”, line 1161, in raise_for_status
raise ClientResponseError(
…<5 lines>…
)
aiohttp.client_exceptions.ClientResponseError: 502, message=‘Bad Gateway’, url=‘ws://192.168.1.190/sockets/api’
2025-03-13 18:04:51.147 ERROR (MainThread) [dobissapi.dobissapi] Failed to connect, waiting a bit before retrying: ClientResponseError(RequestInfo(url=URL(‘ws://192.168.1.190/sockets/api’), method=‘GET’, headers=<CIMultiDictProxy(‘Host’: ‘192.168.1.190’, ‘Authorization’: ‘Bearer eyJhbGciOiJIUzI1NiIsImV4cGlyZXNJbiI6IjI0aCIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoibXlfYXBwbGljYXRpb24ifQ.qGDXoSNQbc5MR_A4DPhCAg4XqomTtflyozNj_el4QiI’, ‘Upgrade’: ‘websocket’, ‘Connection’: ‘Upgrade’, ‘Sec-WebSocket-Version’: ‘13’, ‘Sec-WebSocket-Key’: ‘ckgh6B7mMf36iPXMK0ARpQ==’, ‘Sec-WebSocket-Protocol’: ‘wamp’, ‘Accept’: ‘/’, ‘Accept-Encoding’: ‘gzip, deflate, br’, ‘User-Agent’: ‘Python/3.13 aiohttp/3.11.13’)>, real_url=URL(‘ws://192.168.1.190/sockets/api’)), (), status=502, message=‘Bad Gateway’, headers=<CIMultiDictProxy(‘Server’: ‘nginx/1.18.0’, ‘Date’: ‘Thu, 13 Mar 2025 17:04:51 GMT’, ‘Content-Type’: ‘text/html’, ‘Content-Length’: ‘494’, ‘Connection’: ‘keep-alive’, ‘Etag’: ‘“65dcb6dd-1ee”’)>)
Traceback (most recent call last):
File “/usr/local/lib/python3.13/site-packages/dobissapi/dobissapi.py”, line 868, in listen_for_dobiss
ws = await self._session.ws_connect(self._ws_url, protocols=[“wamp”], headers=headers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/aiohttp/client.py”, line 1004, in _ws_connect
resp = await self.request(
^^^^^^^^^^^^^^^^^^^
…<11 lines>…
)
^
File “/usr/local/lib/python3.13/site-packages/aiohttp/client.py”, line 834, in _request
resp.raise_for_status()
~~~~~~~~~~~~~~~~~~~~~^^
File “/usr/local/lib/python3.13/site-packages/aiohttp/client_reqrep.py”, line 1161, in raise_for_status
raise ClientResponseError(
…<5 lines>…
)
aiohttp.client_exceptions.ClientResponseError: 502, message=‘Bad Gateway’, url=‘ws://192.168.1.190/sockets/api’
2025-03-13 18:04:53.429 ERROR (MainThread) [dobissapi.dobissapi] Failed to connect, waiting a bit before retrying: ClientResponseError(RequestInfo(url=URL(‘ws://192.168.1.190/sockets/api’), method=‘GET’, headers=<CIMultiDictProxy(‘Host’: ‘192.168.1.190’, ‘Authorization’: ‘Bearer eyJhbGciOiJIUzI1NiIsImV4cGlyZXNJbiI6IjI0aCIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoibXlfYXBwbGljYXRpb24ifQ.qGDXoSNQbc5MR_A4DPhCAg4XqomTtflyozNj_el4QiI’, ‘Upgrade’: ‘websocket’, ‘Connection’: ‘Upgrade’, ‘Sec-WebSocket-Version’: ‘13’, ‘Sec-WebSocket-Key’: ‘shMoIkQYayYoAOOlG1S2og==’, ‘Sec-WebSocket-Protocol’: ‘wamp’, ‘Accept’: ‘/’, ‘Accept-Encoding’: ‘gzip, deflate, br’, ‘User-Agent’: ‘Python/3.13 aiohttp/3.11.13’)>, real_url=URL(‘ws://192.168.1.190/sockets/api’)), (), status=502, message=‘Bad Gateway’, headers=<CIMultiDictProxy(‘Server’: ‘nginx/1.18.0’, ‘Date’: ‘Thu, 13 Mar 2025 17:04:53 GMT’, ‘Content-Type’: ‘text/html’, ‘Content-Length’: ‘494’, ‘Connection’: ‘keep-alive’, ‘Etag’: ‘“65dcb6dd-1ee”’)>)
Traceback (most recent call last):
File “/usr/local/lib/python3.13/site-packages/dobissapi/dobissapi.py”, line 868, in listen_for_dobiss
ws = await self._session.ws_connect(self._ws_url, protocols=[“wamp”], headers=headers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/aiohttp/client.py”, line 1004, in _ws_connect
resp = await self.request(
^^^^^^^^^^^^^^^^^^^
…<11 lines>…
)
^
File “/usr/local/lib/python3.13/site-packages/aiohttp/client.py”, line 834, in _request
resp.raise_for_status()
~~~~~~~~~~~~~~~~~~~~~^^
File “/usr/local/lib/python3.13/site-packages/aiohttp/client_reqrep.py”, line 1161, in raise_for_status
raise ClientResponseError(
…<5 lines>…
)
aiohttp.client_exceptions.ClientResponseError: 502, message=‘Bad Gateway’, url=‘ws://192.168.1.190/sockets/api’
alvast bedankt
Ook al toont de nxt de laatste update, kan je toch nog eens updaten? Er was een probleem met die firmware en er is een update met zelfde versie nummer…
Inderdaad zoals @kester aangeeft. Velen hebben hetzelfde probleem gehad. Zie vorige link naar github.
Prcodeure die toen normaal werkte om het op te lossen:
- First downgraded the dobiss HA integration in hacs to 1.8. And checked if dobiss itself was running fine with the web-sockets service running.
- Then I did a re-install of dobiss 3.80 in “Configuratie/Modules/NXT/Upgrade to 3.80” (strange as I already did that some days ago when it was mentioned in the thread here). And checked if the web-sockets service was still running.
- Then upgrade of the dobiss hacs integration to v1.9
- Restart HA
Met de NXT opnieuw te updaten is het gelukt!
Bedankt om mij verder te helpen