Skip to content

Compatibility with other LAN adapter versions? #12

Description

@lucvau

My Daikin Altherma LAN adapter (BRP069A78) is different from the ones your lib supports (BRP069A61, BRP069A62). I gave it a try anyway with your python-daikin-altherma library but (after a very long delay) got a handshake error - see below. Any chance to make this lib compatible with newer versions of the LAN adapter?
Many thanks!

from daikin_altherma import DaikinAltherma
d = DaikinAltherma('192.168.1.12')
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\lucva\AppData\Local\Programs\Python\Python310\lib\site-packages\daikin_altherma_init_.py", line 65, in init
self.ws = create_connection(f"ws://{self.adapter_ip}/mca")
File "C:\Users\lucva\AppData\Local\Programs\Python\Python310\lib\site-packages\websocket_core.py", line 610, in create_connection
websock.connect(url, **options)
File "C:\Users\lucva\AppData\Local\Programs\Python\Python310\lib\site-packages\websocket_core.py", line 255, in connect
self.handshake_response = handshake(self.sock, url, *addrs, **options)
File "C:\Users\lucva\AppData\Local\Programs\Python\Python310\lib\site-packages\websocket_handshake.py", line 57, in handshake
status, resp = _get_resp_headers(sock)
File "C:\Users\lucva\AppData\Local\Programs\Python\Python310\lib\site-packages\websocket_handshake.py", line 150, in _get_resp_headers
raise WebSocketBadStatusException("Handshake status {status} {message} -+-+- {headers} -+-+- {body}".format(status=status, message=status_message, headers=resp_headers, body=response_body), status, status_message, resp_headers, response_body)
websocket._exceptions.WebSocketBadStatusException: Handshake status 404 Not Found -+-+- {'transfer-encoding': 'chunked', 'content-type': 'text/plain'} -+-+- None

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions