Hello, I tried without success, for several days to get the information from my new smart meter in HA. A lot has already been written about it but I was not able to solve it after reading of all the other DSMR and P1 items
Meter: Sagemcom T210-D
Rpi 3B+ with 3A power supply
I tested the P1 cable in windows with putty and I see readable date scrolling over the screen.(settings: com3, 115200, N81)
The cable is ttyUSB1 (cli, ha hardware without cable no ttyUSB1. After a reboot with cable cli ha hardware shows ttyUSB1)
In configuration.yaml I have the line:
dsmr: !include dsmr.yaml
When I check the Integration after a shutdown/reboot I do not have DSMR integration. I
I have no errors or warnings in the log file referring to the connection or sensor.
I do not have DSMR integration after a shutdown/reboot.
I’ve also tested the setup where sensor and group lines are in the configuration.yaml. During this test I got in the log “duplicate warnings” because “sensor” and “group” already exists as include lines in configuration.yaml.
I’m not sure, but I don’t think the dsmr popups in the configuration UI.
Did you check the entities?
I would try this, but I’m not sure how your configuration.yaml looks like and if you have already defined a sensor section and a groups section.
Since you might already have a sensor section defined in your configuration.yaml; your error seems te be right.
Try to remove the include dsmr.yaml and just add your config under the right sensor annd groups in the configuration.yaml.
For example
#this goes under your current sensor section in your configuration.yaml:
- platform: dsmr
port: /dev/ttyUSB1
dsmr_version:
Wouldn’t know actually. Quick Google learns that there are more with the same problem.
You’d might check if the DSMR-version is right. Could also be 5B.
I saw it as well, just like the entity sensor.energy_consumption_total which is empty, but this can easily be solved with with a calculation. Thanks again for your support.