foxess_em
foxess_em copied to clipboard
Unable to connect via Modbus TCP
Am unable to connect to my FoxESS inverter using Wavshare Modbus adapter over TCP. I can access the same fine using the FoxESS Modbus integration (I have multi connections enabled on the device itself. IP & Port are correct, I can't see anywhere on the device that details a Slave ID though (am using the default). I can connect fine via the cloud connection but would prefer to have it configured locally. --> HACS installed Version 1.9.1, have also tried rolling back to earlier 1.8 version.
-->
Describe the bug
Unable to complete installation as integration will not communicate with Modbus device over TCP.
Debug log
2024-09-19 14:45:26.075 DEBUG (MainThread) [custom_components.foxess_em.fox.fox_modbus] Connecting to modbus - ({'connection_type': 'Modbus TCP', 'host': '192.168.20.53', 'port': '502'}) 2024-09-19 14:45:26.075 DEBUG (MainThread) [custom_components.foxess_em.fox.fox_modbus] Reading register: (40002, 1, 247) 2024-09-19 14:45:29.078 DEBUG (MainThread) [custom_components.foxess_em.fox.fox_modbus] Closing connection to modbus 2024-09-19 14:45:29.078 WARNING (MainThread) [custom_components.foxess_em.config_flow] ModbusIOException()