DSMR component improvement suggestions

My first request:

The DSMR component needs a few additional readings which are available in the DSMR_Parser:

INSTANTANEOUS_CURRENT_L1
INSTANTANEOUS_CURRENT_L2
INSTANTANEOUS_CURRENT_L3
SHORT_POWER_FAILURE_COUNT (long power failure is already included)

The code should be:
[
‘Current Phase L1’,
obis_ref.INSTANTANEOUS_CURRENT_L1
],

And so on for the other 3 objects.

My second request:

I have only a 1 phase connection to the grid. It would be a nice option to specify in my dsmr sensor configuration if i need the readings for the 2nd and 3th phase for power, voltage, swells and sags. With the actual config i have 10 sensors which are created and visible in my home assistant but never used.

It should look like this:

  • platform: dsmr
    port: /dev/ttyUSB0
    dsmr_version: 5
    number_of_phases: (choose 1 or 3)

Off course it need a bit more coding to implement this. Unfortunately my python skills are nog good enough to do this.

My 3th request:

Make it possible in the sensor configuration which readings you need. By default over 20 sensors are created while you only need 3 or 4 sensors. For example:

  • platform: dsmr
    port: /dev/ttyUSB0
    dsmr_version: 5
    readings:
    • power_consumption_low
    • voltage_phase1
    • Power_production_low