Page 1 of 1

Schneider PM9C Power Meter (Modbus) + Domoticz

Posted: Saturday 19 November 2016 22:14
by Redguy
Just started using Domoticz on my RPI3 and would like to be able to communicate with my Schneider PM9C Power Meter.

on of these : http://www.schneider-electric.com/en/pr ... m9-series/

It's a great little device monitoring most of my home's power usage, which is capable of talking to other devices through the MODBUS RTU protocol.
I hooked up an RS485 adapter with automatic Tx/Rx switching to my pi after verifying that the converter works with my laptop and some windows based software.

but now what ? the Modbus protocol is a pain in the <censored> to work, and to my surprise not that easy to use on a pi..

Some googling led me to the Libmodbus library ,which should enable me to retrieve data from the power meter.The documentation I have found so far however just makes me more and more confused on how to proceed.

Anyone here got Domoticz talking with a Modbus device ?

Re: Schneider PM9C Power Meter (Modbus) + Domoticz

Posted: Sunday 20 November 2016 15:26
by Toulon7559
See this link, and the related references.
First requirement for integration of your device with Domoticz is that you get hold of the applicable Protocol Description.

Re: Schneider PM9C Power Meter (Modbus) + Domoticz

Posted: Sunday 20 November 2016 21:44
by Redguy
I have the full description of al the devices registers etc.. tried to attach those but the pdf is too big..

anyways, thanks for the links, lets see what I can learn from those posts..

Re: Schneider PM9C Power Meter (Modbus) + Domoticz

Posted: Saturday 15 July 2017 18:23
by lpalacios
Hi @Redguy,

I'm trying to do the same, connecting to a Schneider PM9C Power Meter, I think that the reference to libmodbus is great. Do you have more information and links you can share about how to achieve it? It will be greatly appreciated.