Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with other LAN adapter versions? #12

Open
lucvau opened this issue Nov 11, 2023 · 2 comments
Open

Compatibility with other LAN adapter versions? #12

lucvau opened this issue Nov 11, 2023 · 2 comments

Comments

@lucvau
Copy link

lucvau commented Nov 11, 2023

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

@Frankkkkk
Copy link
Owner

Indeed, it looks like this is the "cloud ready" version.. Out of curiosity, could you open the web page and show its contents ? Cheers

@lucvau
Copy link
Author

lucvau commented Nov 15, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants