Schneider PM9C Power Meter (Modbus) + Domoticz
Posted: Saturday 19 November 2016 22:14
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 ?
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 ?