Python plugin: Eastron SDM630-Modbus V2

Python and python framework
Post Reply
MFxMF
Posts: 1
Joined: Monday 02 April 2018 13:35
Target OS: Raspberry Pi
Domoticz version:
Contact:

Python plugin: Eastron SDM630-Modbus V2

Post by MFxMF » Sunday 08 April 2018 23:02

Hello.

Maybe will be useful for somebody.

https://github.com/MFxMF/SDM630-Modbus

In total are 88 parameters mapped.
Attachments
screen1.png
screen1.png (390.54 KiB) Viewed 1234 times

miroslavpetrov
Posts: 28
Joined: Wednesday 03 February 2016 14:35
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Python plugin: Eastron SDM630-Modbus V2

Post by miroslavpetrov » Friday 11 May 2018 0:44

Great work! Thank you!
Controllers:
Domoticz on Raspberry Pi 3 with HomeBridge.
Fibaro HomeCenter 2
Xiaomi Gateway

rvdgaag
Posts: 1
Joined: Saturday 16 June 2018 11:17
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Python plugin: Eastron SDM630-Modbus V2

Post by rvdgaag » Saturday 16 June 2018 11:26

Thank you excellent info, just what I need.

But i Have a mayor question: I need to connect the SM630 with RS485 to my raspberry so I bought a TCP232-204 rs485-etehrnet gateway. But what steps do I need to do to get domoticz to connect to the SDM630 ?

I have been reading on this forum for hours but can't find the answer :-)

miroslavpetrov
Posts: 28
Joined: Wednesday 03 February 2016 14:35
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Python plugin: Eastron SDM630-Modbus V2

Post by miroslavpetrov » Thursday 30 August 2018 14:05

rvdgaag wrote:
Saturday 16 June 2018 11:26
Thank you excellent info, just what I need.

But i Have a mayor question: I need to connect the SM630 with RS485 to my raspberry so I bought a TCP232-204 rs485-etehrnet gateway. But what steps do I need to do to get domoticz to connect to the SDM630 ?

I have been reading on this forum for hours but can't find the answer :-)
I am also working on this problem right now. There are two options:

Option 1: Use tool like socat that allows you to make a virtual serial port (ex.:/dev/ttyVir0) and bind it to the ethernet gateway. I couldn't make it work...

Option 2: Since the library used in the plugin is minimalmodbus it doesn't support modbus tcp, a new plugin should be written. I am currently trying to write one however, my python experience is not fantastic but I am slowly getting there.
Controllers:
Domoticz on Raspberry Pi 3 with HomeBridge.
Fibaro HomeCenter 2
Xiaomi Gateway

Post Reply

Who is online

Users browsing this forum: Mixeur and 3 guests