Reading "Smartmeter" energy usage through P1 port.
To enable the smartmeter plugin add this to the plugins in the config.json file.
...
{
"plugin": "smartmeter"
}
...
and add the following to the devices
{
"id": "smartmeter",
"class": "Smartmeterdevice",
"name": "Smartmeter",
"serialport": "/dev/ttyUSB0",
"baudRate" : 9600,
"dataBits" : 7,
"parity" : "even",
"stopBits" : 1,
"flowControl" : true
}
Then install through the standard pimatic plugin install page.
You can configure what serialport to use, and the serialport settings. You do this in the devices section, as you can see in the installation section.