Cannot read DSMR data

Hello,

Ik want to read my slimme meter in HA. Bought a P1 cable and connected it to my HA instance. Used putty to check if data is being send through the p1 cable and this was the case. When i add a DSMR sensor in configuration.yaml, I see that there are entities created. These enitites show no data. I can also not set the /dev/ttyUSB0 in de DSMR sensor. Configuration reload tells me that the configuration is invalid. I googled, but nothing could help me. I’ve installed HA on an armbian linux.

Show your configuration and the error you got.

sensor:

  • platform: dsmr

No errors, also no data

Installed Version 2021.1.3 in Docker on a raspberry pi 4 now. Configured dsmr_reader like

  - platform: dsmr_reader
    port: /dev/ttyUSB0
    dsmr_version: 4.2```


Still no data tried different dsmr_versions but no luck. The sensors are added to HA with no data.