denpamusic / homeassistant-plum-ecomax

Plum ecoMAX boiler controller integration for Home Assistant.
MIT License
33 stars 8 forks source link

Cannot connect to ecomax360i #143

Open lachand opened 4 weeks ago

lachand commented 4 weeks ago

Is there an existing issue for this?

I'm having the following issue:

I get a ‘No devices found on the network’ message when I try to add the integration.

I use elfin EW11 RS485/wifi for the connection. When I connect via TCP, I get an ecomax360i indication and the name of one of my circuits appears.

I have configured the EW11 as indicated in issue 63 but it doesn't work.

I have following devices connected:

I'm connecting to my devices using:

Ethernet/WiFi to RS-485 converter

I'm seeing following log messages:

Traceback (most recent call last):
  File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
    return await fut
           ^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/locks.py", line 212, 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 188, in async_step_identify
    await self.identify_task
  File "/config/custom_components/plum_ecomax/config_flow.py", line 264, in _async_identify_device
    await self.connection.get(DeviceType.ECOMAX, timeout=DEFAULT_TIMEOUT),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pyplumio/helpers/event_manager.py", line 66, in get
    await self.wait_for(name, timeout=timeout)
  File "/usr/local/lib/python3.12/site-packages/pyplumio/helpers/event_manager.py", line 52, in wait_for
    await asyncio.wait_for(self.create_event(name).wait(), timeout=timeout)
  File "/usr/local/lib/python3.12/asyncio/tasks.py", line 519, in wait_for
    async with timeouts.timeout(timeout):
  File "/usr/local/lib/python3.12/asyncio/timeouts.py", line 115, in __aexit__
    raise TimeoutError from exc_val
TimeoutError

My diagnostics data:

ecomax

Code of Conduct

denpamusic commented 3 weeks ago

Hi,

Sorry for the delayed response, sadly from you screenshot above, it seems like you device use GazModem3 (GM3) protocol. PyPlumIO and, by extension, this integration use ecoMAX (EM) protocol to connect to the controller, hence your device is currently unsupported.

There is some work being done to bring GM3 protocol support to PIO, but it is very slow, because I don't have GM3-compatible device myself.

lachand commented 2 weeks ago

Hi, Thank you for your reply. Is the problem with the GM3 protocol related to the frame format? If you need help from owners of GM3-compatible devices, don't hesitate to tell me.