I'm trying to query the SOC (State of Charge) value from a DEYE inverter using a Waveshare RS485 TO ETH (B) module connected via Modbus TCP and read it into Domoticz.
🛠 Setup:
Domoticz Version: 2025.1
Build Hash: 89d5c900d
Python Version: 3.9.2
Hardware: Raspberry Pi
Module: Waveshare RS485 TO ETH (B)
Target: DEYE hybrid inverter via Modbus TCP
Register: 214 (UINT16 for SOC)
Installed pymodbus (v3.8.6) on the Raspberry Pi
Configured Domoticz > Hardware > Modbus TCP with IP & port of RS485-ETH module
Used Domoticz JSON API (addmodbusdevice) and direct UI attempts to add a Modbus sensor (IDX 20)
Set datatype to UINT 16-bit, slave ID = 1, function = 3, register = 214
Confirmed network connection and RS485 module responding
Tried API calls with and without credentials
Temporarily disabled Domoticz login via -nowwwpwd and added 192.168.123.* to trusted networks
Restarted Domoticz service multiple times
Checked logs: no errors related to the Modbus connection
Domoticz Web interface works fine, and port 8080 is reachable
Even after these steps, no Modbus sensor appears under Devices. API returns {"status":"ERROR"} and no device is created in the interface.
Has anyone successfully queried SOC from a DEYE inverter in Domoticz this way? Any idea what could block device creation?
Thanks in advance!