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

Support for RS-485 adapters #64

Open
Ares4570 opened this issue Nov 15, 2024 · 1 comment
Open

Support for RS-485 adapters #64

Ares4570 opened this issue Nov 15, 2024 · 1 comment

Comments

@Ares4570
Copy link

I came across this project while troubleshooting some issues with the "bwalink" docker container and figured this might be a more seamless integration.

I'm running into issues adding the spa connection - it's not clear how Spa Client is trying to connect to the adapter, but I think it's through TCP/4257. Must be a difference in protocols as even running a TCP/4257 server on the RS-485 adapter (Elfin EW11 in this case) doesn't work but does produce an error vs outright refusal.

Error setting up entry for spaclient Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 635, in __async_setup_with_context result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/spaclient/__init__.py", line 71, in async_setup_entry await spa.send_configuration_request() File "/config/custom_components/spaclient/spaclient.py", line 818, in send_configuration_request self.read_msg() File "/config/custom_components/spaclient/spaclient.py", line 198, in read_msg length = len_chunk[1] ~~~~~~~~~^^^ IndexError: index out of range

Since balboa_worldwide_app supports RS-485 adapters, hoping that functionality can be exposed here as well.

Thanks!

@plmilord
Copy link
Owner

I did not work on the integration through the RS-485 protocol. I only exploited the bwa Wi-Fi Module (50350).

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