ArekKubacki / Hoymiles-Plant-DTU-Pro

Hoymiles-Plant-DTU-Pro via Modbus TCP
MIT License
37 stars 7 forks source link

Problem with DTU Pro configuration #30

Closed Mazurekmazi closed 4 months ago

Mazurekmazi commented 4 months ago

Hello.

Problem with DTU Pro configuration, eth connection, configuration as in the manual sensor:

Error as below.

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 356, in _async_setup_platform await asyncio.shield(awaitable) File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/hoymiles_dtu/sensor.py", line 69, in setup_platform raise Exception('Invalid configuration for Hoymiles DTU platform') Exception: Invalid configuration for Hoymiles DTU platform

Pozdrawiam

ArekKubacki commented 4 months ago

A topic in Polish has been created. In the rest, the standard language is English.

Are you sure IP is eth? Sometimes dtu connects both via wifi and eth. You need to be sure.

Have you followed?: !!! For 22 Version, if you choose "Export control", it prohibits MODBUS TCP. But "Remote control" still supports it. So you have to go to "Toolkit" in APP and then choose "Remote Control" from RS-485 Port Config under DTU Information. !!!

Mazurekmazi commented 4 months ago

I haven't configured the WiFi, so it's probably connected via eth, the IP address is set on the Mikrotik, so the ports are probably entered correctly, and the ones that need to be redirected, I haven't set up export management, and the error is still displayed.

Mazurekmazi commented 4 months ago

I fix the problem. Thx