HA is not recognizing my Hichi Smartmeter

Hi everyone,
I have my Home Assistant set up on Raspberry 4 with SSD drive via USB3.
Got myself a Hichi Smartmeter (supportet according to EDL21 - Home Assistant)
Installed Addon File Editor and set the file according to the manual:

Complete File:


# Loads default set of integrations. Do not remove.
default_config:

# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes

#Specific:
sensor:
  - platform: edl21
    serial_port: /dev/ttyUSB0
    name: Stromzaehler

# Text to speech
tts:
  - platform: google_translate

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

I restarted the HA/RPi several times, but no new Entity or Device is detected.
I loaded the drivers and a testprogram to my PC and verified, that the USB Smartmeter is operational.

Can someone help me how to get it detected? Searched the forum and several web tutorials already, nothing is working out so far.

Thanks
sheng

I have the same issue. Meanwhile I understood that my ISKRA ME162 might work differently, see following post:

Did you get it working? And the question is of course how?

Good news! I have it kind of working!

The configuration.yaml file looks as follows:

`sensor:

  • platform: serial
    serial_port: /dev/ttyUSB0
    baudrate: 300
    bytesize: 7
    parity: E
    stopbits: 1
    name: “IR USB Reader”

  • platform: command_line
    name: enable_ask_bpm_data
    command: “echo -n -e ‘\x2F\x3F\x21\x0D\x0A’ > /dev/ttyUSB0; echo -n -e ‘\x06\x30\x30\x30\x0D\x0A’ > /dev/ttyUSB0”

template:
sensor:

  • name: “Bruto Productie Meter Energy”
    state_class: total_increasing
    unit_of_measurement: “kWh”
    device_class: energy
    state: “{% if states ( ‘sensor.ir_usb_reader’ ).split (’(’) [0] in ( ‘1.8.2’ ) %}
    {% set meetwaarde = states ( ‘sensor.ir_usb_reader’ ).split (’(’) [1] %}
    {{ meetwaarde.split (’*’) [0] }}
    {% endif %}”`

And the result in the history looks as follows:

As you can see, the states are represented as dots, while they should be a line of values.
Also the following error message appears:

How to move the read states to numerical values?