Page 1 of 1

MODBUS Settings

Posted: Friday 29 August 2025 14:51
by PeterRozenveld
I tried ChatGPT< DON'T DO IT!
What settings do I need for a MODBUS H485 to read a kWh meter in Domoticz?
I used this interface:
https://github.com/DomoticX/domoticz-modbus

Re: MODBUS Settings

Posted: Friday 29 August 2025 14:58
by jvdz
Which kwh meter are you connecting this to?

Re: MODBUS Settings

Posted: Friday 29 August 2025 18:59
by PeterRozenveld
SDM630 M-bus series from Eastron,
https://commons.wikimedia.org/wiki/File ... -08-29.png
is the config by Domoticz

Re: MODBUS Settings

Posted: Friday 29 August 2025 19:14
by jvdz
Is it connected via a USB port or TCPIP as the latter is what you have configured now?

Re: MODBUS Settings

Posted: Friday 29 August 2025 20:05
by PeterRozenveld
Connected by Eastron to Interface A/B to USB to Raspberry PI

Re: MODBUS Settings

Posted: Friday 29 August 2025 22:18
by jvdz
Ok so guess you need to change the communication mode from tcpip to serial/usb then...right?

Re: MODBUS Settings

Posted: Friday 29 August 2025 23:15
by waltervl
There is an old python plugin for this device so perhaps you can get it running or get the modbus registers out of the code.
https://github.com/MFxMF/SDM630-Modbus/tree/master

Edit, I see gizmocuz forked it and also updated it: https://github.com/gizmocuz/SDM630-Modbus

Re: MODBUS Settings

Posted: Saturday 30 August 2025 8:09
by PeterRozenveld
I see gizmocuz forked it and also updated it: https://github.com/gizmocuz/SDM630-Modbus, so I took this link.
But I don't see any new hardware!
And to take in 22 pages of digital material, does it uberhaüpt work?

Re: MODBUS Settings

Posted: Saturday 30 August 2025 15:51
by waltervl
What does the log file say?
You also don't see devices created in the device list (menu Setup-Devices)?

Re: MODBUS Settings

Posted: Saturday 30 August 2025 22:50
by PeterRozenveld
Sorry, I assumed it would just appear among the hardware. Of course, I just need to add it... I just don't see any devices.

Re: MODBUS Settings

Posted: Sunday 31 August 2025 0:10
by waltervl
PeterRozenveld wrote: Saturday 30 August 2025 22:50 Sorry, I assumed it would just appear among the hardware. Of course, I just need to add it... I just don't see any devices.
So you do not see the hardware in menu Setup - Hardware when you installed the plugin? Or don't you see devices after you installed the plugin and activated it through menu Setup - Hardware? Do you have the settings right? What does the log file say (menu Setup - Log) about the plugin?

Re: MODBUS Settings

Posted: Sunday 31 August 2025 12:43
by PeterRozenveld
https://commons.wikimedia.org/wiki/File ... -08-31.png

Okay, apologies for not being clear.
I had to add the hardware via Settings / Hardware / and the pull-down menu under “Type”: “Eastron sdm630 Modbus.” And further: “Meter Type” and set the “Baudrate” to 9600. But is it useful to set Debug to True? (See image) It's just strange that the sdm630 isn't sending any signals (Devices).

Greetings , Peter

Re: MODBUS Settings

Posted: Sunday 31 August 2025 23:54
by waltervl
And for the 3th time: What does the log say (menu Setup - Log) about the plugin?
And Yes, switch on debug on the plugin settings if the log does not show anything abnormal.
The ModBus ID and other settings are correct?


PS You can add the screenshot also as an attachment to your forum answer.