denpamusic / homeassistant-plum-ecomax

Plum ecoMAX boiler controller integration for Home Assistant.
MIT License
30 stars 7 forks source link

Couldn't find device when trying to connect to EM920P1-F via USR-W610 #49

Closed Marek7923 closed 10 months ago

Marek7923 commented 10 months ago

Is there an existing issue for this?

I'm having the following issue:

Witam serdecznie, obecnie wyciągam dane dekodując je za pomocą modułu ecoNet300, ale do pełnego szczęścia chciał bym mieć możliwość zadawania parametrów/nastaw bezpośrednio z HA. Podczas dodawania ręcznie integracji i wybraniu połączenia przez TCP podaniu właściwego IP konwertera żadne urządzenie nie zostaje znalezione. Zmieniałem typy połączeń, oraz prędkość transmisji danych od 9600 na 11520- próbuję nawiązać połącznie za pomocą modułu USR-W610, niestety nie skutecznie.

Poprosił bym o podpowiedz co robię w niewłaściwy sposób.

I have following devices connected:

I'm connecting to my devices using:

Ethernet/WiFi to RS-485 converter

I'm seeing following log messages:

File "/usr/local/lib/python3.11/asyncio/locks.py", line 213, in wait
await fut
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/plum_ecomax/config_flow.py", line 189, in async_step_device
await self.device_task
File "/config/custom_components/plum_ecomax/config_flow.py", line 175, in _wait_for_device
self.device = await self.connection.get(ECOMAX, timeout=DEFAULT_TIMEOUT)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyplumio/helpers/event_manager.py", line 38, in get
await self.wait_for(name, timeout=timeout)
File "/usr/local/lib/python3.11/site-packages/pyplumio/helpers/event_manager.py", line 34, in wait_for
await asyncio.wait_for(self.create_event(name).wait(), timeout=timeout)
File "/usr/local/lib/python3.11/asyncio/tasks.py", line 502, in wait_for
raise exceptions.TimeoutError() from exc
TimeoutError

My diagnostics data:

wersje oprogramowania układowego: panel: 16.20.19 Moduł A: 16.11.64 P1 Moduł B: 1.31.12 ecoNET300: 3.2.3819

Code of Conduct

denpamusic commented 10 months ago

Hi,

Thank you for the feedback!

If integration timeouts on trying to find the device, it usually means that there's some kind of hardware problem, either with wiring or settings.

Firstly make sure, that you completely disconnect ecoNET300, at least while adding the device to HA. There were some reports where users successfully used this integration with EN300 connected, however this is unsupported behavior, because the integration claims to be EN300 to the ecoMAX. Thus from the ecoMAX standpoint, you've got two ecoNETs connected at the same time.

Next, check that you've correctly connected data lines: A terminal on USR-W610 should be connected to D+ on ecoMAX B terminal on USR-W610 should be connected to D- on ecoMAX.

Then check the settings on the converter itself. Sadly I haven't got an USR-W610, so I can only give you advise based on user manual for the device. Open "Application settings" in USR-W610 webui and go to the "WiFi-Uart setting" section. Once there make sure that settings in this section are as follows:

Baudrate: 115200 Data bits: 8 Parity: None Stop: 1 Flow control: Disable Baudrate adaptive: Disable

Screenshot 2023-12-03 at 17-52-06 USR-W610-Webpage-Configuration - USR-W610-Webpage-Configuration pdf

Marek7923 commented 10 months ago

Cześć,

Bardzo dziękuję za pomoc, biorę się za testowanie ;)

poniżej zamieszczę fotki z moimi działającymi nastawami, może komuś pomogą, na konie ostatnia fotka to moja wersja strony z HA z kotłownia ;)
ok 2023-12-03 180829 ok 2023-12-03 180809 kotłownia 2023-12-03 180457

denpamusic commented 10 months ago

Great! Thanks for heads up and especially for providing screenshots of settings for your converter. This will be very helpful for the community!

Don't hesitate to contact me if you encounter any further issues. I'll be glad to help!

P. S. I'll change the issue name, to make it easier to find for integration users with USR-W610.