Issue with reading smart meter P1 in Home assistant
Posted: Thursday 14 November 2019 17:28
Hello Everyone! hopefully anyone is able to help me with a issue I am having with reading out my smart meter.
I own a Landis E350 with a smart meter cable from https://www.sossolutions.nl/slimme-meter-kabell its a verified cable for my smart meter. It is connected to my ESXI server in the basement (I extended the RJ-11). on the ESXI I have a Ubuntu64 with Home assistant for logging the data. I had some issues setting up home assistant, because of a known bug with Nginx in the configurator which I resolved by editing the config.yaml through SSH.
I used the following code:
sensor:
- platform: dsmr
port: /dev/ttyUSB0
dsmr_version: 4
group:
meter_readings:
name: Meter readings
entities:
- sensor.power_consumption_low
- sensor.power_consumption_normal
- sensor.power_production_low
- sensor.power_production_normal
- sensor.gas_consumption
As far as I can tell there is a connection, I verified this in SSH with the following command line:
cu -l /dev/ttyUSB0 -s 115200 --parity=none -E q
At first I got a Permission denied but with this following code I resolved the issue.
chmod 666 /dev/ttyUSB0
At this point I am able to establish a connection however not much more beside the following:
cu -l /dev/ttyUSB0 -s 115200 --parity=none -E q
Connected.
it should output data but it times out after some time. Anyone got a idea how to resolve this issue?
I own a Landis E350 with a smart meter cable from https://www.sossolutions.nl/slimme-meter-kabell its a verified cable for my smart meter. It is connected to my ESXI server in the basement (I extended the RJ-11). on the ESXI I have a Ubuntu64 with Home assistant for logging the data. I had some issues setting up home assistant, because of a known bug with Nginx in the configurator which I resolved by editing the config.yaml through SSH.
I used the following code:
sensor:
- platform: dsmr
port: /dev/ttyUSB0
dsmr_version: 4
group:
meter_readings:
name: Meter readings
entities:
- sensor.power_consumption_low
- sensor.power_consumption_normal
- sensor.power_production_low
- sensor.power_production_normal
- sensor.gas_consumption
As far as I can tell there is a connection, I verified this in SSH with the following command line:
cu -l /dev/ttyUSB0 -s 115200 --parity=none -E q
At first I got a Permission denied but with this following code I resolved the issue.
chmod 666 /dev/ttyUSB0
At this point I am able to establish a connection however not much more beside the following:
cu -l /dev/ttyUSB0 -s 115200 --parity=none -E q
Connected.
it should output data but it times out after some time. Anyone got a idea how to resolve this issue?