DSMR: Missing unit error

Hello everybody

I need help with connecting my smart meter elster AS3000 to Home Assistant. I get the error message “Missing unit” at dsmr 265 1-0:1.8.1.255.
Does anybody have some clues, what went wrong and how to debug this further?

Many thanks to all contributions to solve this issue.

Baseline:

Setup:

  • Home Assistant 2023.3.3
  • ESPHOME v2023.2.4
  • D1-Mini connected to electricity meter

My esphome config:

substitutions:
  name: powermeterbkw
  friendly_name: BKW Power Meter

esphome:
  name: ${name}
  platform: ESP8266
  board: d1_mini

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  
  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Powermeterbkw Fallback Hotspot"
    password: "NE0y04cmsPgM"

# Enable Home Assistant API
api:
  encryption:
    key: "zllyZKD7j0QFe+Uo8LNCi2Y6EbHGzyFJrHeZy/efKUU="

ota:
  password: "54286e44b8b3c302c34a10ae90a01bc8"

logger:
  # Serial logging is disabled by setting the logger baud rate to 0.
  # Otherwise the logger will occupy the hardware UART, making it unavailable
  # for receiving smart meter data on pin D7 (GPIO13).
  baud_rate: 0
  level: VERY_VERBOSE
  
uart:
  rx_pin:
    number: D7
  baud_rate: 115200
  rx_buffer_size: 1700
      
dsmr:
  request_pin: D5
  request_interval: 10s
  max_telegram_length: 1700
  
sensor:
  - platform: dsmr
    energy_delivered_tariff1:
      name: ${friendly_name} Energy Delivered Low Tariff 1
      unit_of_measurement: "Wh"
      state_class: total_increasing
    energy_delivered_tariff2:
      name: ${friendly_name} Energy Delivered Normal Tariff 2
      unit_of_measurement: "Wh"
      state_class: total_increasing
    energy_returned_tariff1:
      name: ${friendly_name} Energy Returned Low Tariff 1
      unit_of_measurement: "Wh"
    energy_returned_tariff2:
      name: ${friendly_name} Energy Returned Normal Tariff 2
      unit_of_measurement: "Wh"
    power_delivered:
      name: ${friendly_name} Power Consumed
      unit_of_measurement: "W"
    power_returned:
      name: ${friendly_name} Power Returned
      unit_of_measurement: "W"
    electricity_failures:
      name: ${friendly_name} Number of power failures in any phases
    electricity_long_failures:
      name: ${friendly_name} Number of long power failures in any phases
    electricity_sags_l1:
      name: ${friendly_name} Number of voltage sags in phase L1
    electricity_sags_l2:
      name: ${friendly_name} Number of voltage sags in phase L2
    electricity_sags_l3:
      name: ${friendly_name} Number of voltage sags in phase L3
    electricity_swells_l1:
      name: ${friendly_name} Number of voltage swells in phase L1
    electricity_swells_l2:
      name: ${friendly_name} Number of voltage swells in phase L2
    electricity_swells_l3:
      name: ${friendly_name} Number of voltage swells in phase L3
    voltage_l1:
      name: ${friendly_name} Instantaneous Voltage L1
    voltage_l2:
      name: ${friendly_name} Instantaneous Voltage L2
    voltage_l3:
      name: ${friendly_name} Instantaneous Voltage L3
    current_l1:
      name: ${friendly_name} Instantaneous Current L1
    current_l2:
      name: ${friendly_name} Instantaneous Current L2
    current_l3:
      name: ${friendly_name} Instantaneous Current L3
    power_delivered_l1:
      name: ${friendly_name} Instantaneous Power Consumed L1
    power_delivered_l2:
      name: ${friendly_name} Instantaneous Power Consumed L2
    power_delivered_l3:
      name: ${friendly_name} Instantaneous Power Consumed L3
    power_returned_l1:
      name: ${friendly_name} Instantaneous Power Returned L1
    power_returned_l2:
      name: ${friendly_name} Instantaneous Power Returned L2
    power_returned_l3:
      name: ${friendly_name} Instantaneous Power Returned L3
    
text_sensor:
  - platform: dsmr
    identification:
      name: ${friendly_name} Identification
    p1_version:
      name: ${friendly_name} Version
    electricity_tariff:
      name: ${friendly_name} Tariff indicator
    electricity_failure_log:
      name: ${friendly_name} Failure log

Log output:

INFO Reading configuration /config/esphome/powermeterbkw.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing powermeterbkw (board: d1_mini; framework: arduino; platform: platformio/espressif8266 @ 3.2.0)
--------------------------------------------------------------------------------
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
Dependency Graph
|-- ESP8266WiFi @ 1.0
|-- ESP8266mDNS @ 1.2
|-- noise-c @ 0.1.4
|   |-- libsodium @ 1.10018.1
|-- Dsmr @ 0.5.0
|-- Crypto @ 0.4.0
Compiling /data/powermeterbkw/.pioenvs/powermeterbkw/src/main.cpp.o
Linking /data/powermeterbkw/.pioenvs/powermeterbkw/firmware.elf
RAM:   [=====     ]  47.2% (used 38652 bytes from 81920 bytes)
Flash: [=====     ]  47.0% (used 491011 bytes from 1044464 bytes)
Building /data/powermeterbkw/.pioenvs/powermeterbkw/firmware.bin
esp8266_copy_factory_bin(["/data/powermeterbkw/.pioenvs/powermeterbkw/firmware.bin"], ["/data/powermeterbkw/.pioenvs/powermeterbkw/firmware.elf"])
========================= [SUCCESS] Took 32.39 seconds =========================
INFO Successfully compiled program.
INFO Resolving IP address of powermeterbkw.local
INFO  -> 192.168.5.101
INFO Uploading /data/powermeterbkw/.pioenvs/powermeterbkw/firmware.bin (495168 bytes)
INFO Compressed to 342180 bytes
Uploading: [============================================================] 100% Done...

INFO Waiting for result...
INFO OTA successful
INFO Successfully uploaded program.
INFO Starting log output from powermeterbkw.local using esphome API
INFO Successfully connected to powermeterbkw.local
[06:17:03][I][app:102]: ESPHome version 2023.2.4 compiled on Mar 10 2023, 06:15:57
[06:17:03][C][wifi:504]: WiFi:
[06:17:03][C][wifi:362]:   Local MAC: BC:FF:4D:4D:5F:7F
[06:17:03][C][wifi:363]:   SSID: [redacted]
[06:17:03][C][wifi:364]:   IP Address: 192.168.5.101
[06:17:03][C][wifi:365]:   BSSID: [redacted]
[06:17:03][C][wifi:367]:   Hostname: 'powermeterbkw'
[06:17:03][C][wifi:369]:   Signal strength: -86 dB ▂▄▆█
[06:17:03][V][wifi:371]:   Priority: 0.0
[06:17:03][C][wifi:373]:   Channel: 3
[06:17:03][C][wifi:374]:   Subnet: 255.255.255.0
[06:17:03][C][wifi:375]:   Gateway: 192.168.5.1
[06:17:03][C][wifi:376]:   DNS1: 192.168.1.1
[06:17:03][C][wifi:377]:   DNS2: 0.0.0.0
[06:17:03][C][logger:293]: Logger:
[06:17:03][C][logger:294]:   Level: VERY_VERBOSE
[06:17:03][C][logger:295]:   Log Baud Rate: 0
[06:17:03][C][logger:296]:   Hardware UART: UART0
[06:17:03][C][uart.arduino_esp8266:102]: UART Bus:
[06:17:03][C][uart.arduino_esp8266:104]:   RX Pin: GPIO13
[06:17:03][C][uart.arduino_esp8266:106]:   RX Buffer Size: 1700
[06:17:03][C][uart.arduino_esp8266:108]:   Baud Rate: 115200 baud
[06:17:03][C][uart.arduino_esp8266:109]:   Data Bits: 8
[06:17:03][C][uart.arduino_esp8266:110]:   Parity: NONE
[06:17:03][C][uart.arduino_esp8266:111]:   Stop bits: 1
[06:17:03][C][uart.arduino_esp8266:113]:   Using hardware serial interface.
[06:17:03][C][dsmr:275]: DSMR:
[06:17:03][C][dsmr:276]:   Max telegram length: 1700
[06:17:03][C][dsmr:277]:   Receive timeout: 0.2s
[06:17:03][C][dsmr:279]:   Request Pin: GPIO14
[06:17:03][C][dsmr:282]:   Request Interval: 10.0s
[06:17:03][C][dsmr:286]:   energy_delivered_tariff1 'BKW Power Meter Energy Delivered Tariff 1'
[06:17:03][C][dsmr:286]:     Device Class: 'energy'
[06:17:03][C][dsmr:286]:     State Class: 'total_increasing'
[06:17:03][C][dsmr:286]:     Unit of Measurement: 'kWh'
[06:17:03][C][dsmr:286]:     Accuracy Decimals: 3
[06:17:03][C][dsmr:286]:   energy_delivered_tariff2 'BKW Power Meter Energy Delivered Tariff 2'
[06:17:03][C][dsmr:286]:     Device Class: 'energy'
[06:17:03][C][dsmr:286]:     State Class: 'total_increasing'
[06:17:03][C][dsmr:286]:     Unit of Measurement: 'kWh'
[06:17:03][C][dsmr:286]:     Accuracy Decimals: 3
[06:17:03][C][dsmr:286]:   energy_returned_tariff1 'BKW Power Meter Energy Returned Tariff 1'
[06:17:03][C][dsmr:286]:     Device Class: 'energy'
[06:17:03][C][dsmr:286]:     State Class: 'total_increasing'
[06:17:03][C][dsmr:286]:     Unit of Measurement: 'kWh'
[06:17:03][C][dsmr:286]:     Accuracy Decimals: 3
[06:17:03][C][dsmr:286]:   energy_returned_tariff2 'BKW Power Meter Energy Returned Tariff 2'
[06:17:03][C][dsmr:286]:     Device Class: 'energy'
[06:17:03][C][dsmr:286]:     State Class: 'total_increasing'
[06:17:03][C][dsmr:286]:     Unit of Measurement: 'kWh'
[06:17:03][C][dsmr:286]:     Accuracy Decimals: 3
[06:17:03][C][dsmr:286]:   power_delivered 'BKW Power Meter Power Consumed'
[06:17:03][C][ota:093]: Over-The-Air Updates:
[06:17:03][C][ota:094]:   Address: powermeterbkw.local:8266
[06:17:03][C][ota:097]:   Using Password.
[06:17:03][C][api:138]: API Server:
[06:17:03][C][api:139]:   Address: powermeterbkw.local:6053
[06:17:03][C][api:141]:   Using noise encryption: YES
[06:17:09][V][dsmr:142]: Header of telegram found
[06:17:09][V][dsmr:176]: Footer of telegram found
[06:17:09][V][dsmr:257]: Trying to parse telegram
[06:17:09][V][dsmr:115]: Stop requesting data from P1 port
[06:17:09][E][dsmr:265]: 1-0:1.8.1.255()
              ^
Missing unit
[06:17:12][V][dsmr:102]: Start requesting data from P1 port
[06:17:14][D][api:102]: Accepted 192.168.1.50
[06:17:15][VV][api.socket:696]: 192.168.1.50: Handshake complete!
[06:17:15][V][component:200]: Component api took a long time for an operation (0.29 s).
[06:17:15][V][component:201]: Components should block for at most 20-30ms.
[06:17:15][VV][api.service:434]: on_hello_request: HelloRequest {
  client_info: 'Home Assistant 2023.2.1'
  api_version_major: 1
  api_version_minor: 7
}
[06:17:15][V][api.connection:899]: Hello from client: 'Home Assistant 2023.2.1 (192.168.1.50)' | API Version 1.7
[06:17:15][VV][api.service:013]: send_hello_response: HelloResponse {
  api_version_major: 1
  api_version_minor: 7
  server_info: 'powermeterbkw (esphome v2023.2.4)'
  name: 'powermeterbkw'
}
[06:17:15][VV][api.service:443]: on_connect_request: ConnectRequest {
  password: ''
}
[06:17:15][D][api.connection:918]: Home Assistant 2023.2.1 (192.168.1.50): Connected successfully
[06:17:15][VV][api.service:019]: send_connect_response: ConnectResponse {
  invalid_password: NO
}
[06:17:15][VV][api.service:488]: on_device_info_request: DeviceInfoRequest {}
[06:17:15][VV][api.service:049]: send_device_info_response: DeviceInfoResponse {
  uses_password: NO
  name: 'powermeterbkw'
  mac_address: 'BC:FF:4D:4D:5F:7F'
  esphome_version: '2023.2.4'
  compilation_time: 'Mar 10 2023, 06:15:57'
  model: 'd1_mini'
  has_deep_sleep: NO
  project_name: ''
  project_version: ''
  webserver_port: 0
  bluetooth_proxy_version: 0
  manufacturer: 'Espressif'
  friendly_name: ''
}
[06:17:15][VV][api.service:497]: on_list_entities_request: ListEntitiesRequest {}
[06:17:15][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'bkw_power_meter_energy_delivered_tariff_1'
  key: 2766045640
  name: 'BKW Power Meter Energy Delivered Tariff 1'
  unique_id: 'powermeterbkwsensorbkw_power_meter_energy_delivered_tariff_1'
  icon: ''
  unit_of_measurement: 'kWh'
  accuracy_decimals: 3
  force_update: NO
  device_class: 'energy'
  state_class: STATE_CLASS_TOTAL_INCREASING
  legacy_last_reset_typ
[06:17:15][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'bkw_power_meter_energy_delivered_tariff_2'
  key: 2766045643
  name: 'BKW Power Meter Energy Delivered Tariff 2'
  unique_id: 'powermeterbkwsensorbkw_power_meter_energy_delivered_tariff_2'
  icon: ''
  unit_of_measurement: 'kWh'
  accuracy_decimals: 3
  force_update: NO
  device_class: 'energy'
  state_class: STATE_CLASS_TOTAL_INCREASING
  legacy_last_reset_typ
[06:17:15][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'bkw_power_meter_energy_returned_tariff_1'
  key: 1391593577
  name: 'BKW Power Meter Energy Returned Tariff 1'
  unique_id: 'powermeterbkwsensorbkw_power_meter_energy_returned_tariff_1'
  icon: ''
  unit_of_measurement: 'kWh'
  accuracy_decimals: 3
  force_update: NO
  device_class: 'energy'
  state_class: STATE_CLASS_TOTAL_INCREASING
  legacy_last_reset_type: 
[06:17:15][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'bkw_power_meter_energy_returned_tariff_2'
  key: 1391593578
  name: 'BKW Power Meter Energy Returned Tariff 2'
  unique_id: 'powermeterbkwsensorbkw_power_meter_energy_returned_tariff_2'
  icon: ''
  unit_of_measurement: 'kWh'
  accuracy_decimals: 3
  force_update: NO
  device_class: 'energy'
  state_class: STATE_CLASS_TOTAL_INCREASING
  legacy_last_reset_type: 
[06:17:15][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'bkw_power_meter_power_consumed'
  key: 685705274
  name: 'BKW Power Meter Power Consumed'
  unique_id: 'powermeterbkwsensorbkw_power_meter_power_consumed'
  icon: ''
  unit_of_measurement: 'kW'
  accuracy_decimals: 3
  force_update: NO
  device_class: 'power'
  state_class: STATE_CLASS_MEASUREMENT
  legacy_last_reset_type: LAST_RESET_NONE
  disabled_by_default:
[06:17:15][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'bkw_power_meter_power_returned'
  key: 3069689477
  name: 'BKW Power Meter Power Returned'
  unique_id: 'powermeterbkwsensorbkw_power_meter_power_returned'
  icon: ''
  unit_of_measurement: 'kW'
  accuracy_decimals: 3
  force_update: NO
  device_class: 'power'
  state_class: STATE_CLASS_MEASUREMENT
  legacy_last_reset_type: LAST_RESET_NONE
  disabled_by_default
[06:17:15][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'bkw_power_meter_electricity_failures'
  key: 4270658473
  name: 'BKW Power Meter Electricity Failures'
  unique_id: 'powermeterbkwsensorbkw_power_meter_electricity_failures'
  icon: ''
  unit_of_measurement: ''
  accuracy_decimals: 0
  force_update: NO
  device_class: ''
  state_class: STATE_CLASS_NONE
  legacy_last_reset_type: LAST_RESET_NONE
  disabled_by_def
[06:17:15][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'bkw_power_meter_electricity_long_failures'
  key: 3283664936
  name: 'BKW Power Meter Electricity Long Failures'
  unique_id: 'powermeterbkwsensorbkw_power_meter_electricity_long_failures'
  icon: ''
  unit_of_measurement: ''
  accuracy_decimals: 0
  force_update: NO
  device_class: ''
  state_class: STATE_CLASS_NONE
  legacy_last_reset_type: LAST_RESET_NONE
  
[06:17:15][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'bkw_power_meter_voltage_l1'
  key: 1115620142
  name: 'BKW Power Meter Voltage L1'
  unique_id: 'powermeterbkwsensorbkw_power_meter_voltage_l1'
  icon: ''
  unit_of_measurement: 'V'
  accuracy_decimals: 1
  force_update: NO
  device_class: 'voltage'
  state_class: STATE_CLASS_MEASUREMENT
  legacy_last_reset_type: LAST_RESET_NONE
  disabled_by_default: NO
  enti
[06:17:15][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'bkw_power_meter_voltage_l2'
  key: 1115620141
  name: 'BKW Power Meter Voltage L2'
  unique_id: 'powermeterbkwsensorbkw_power_meter_voltage_l2'
  icon: ''
  unit_of_measurement: 'V'
  accuracy_decimals: 1
  force_update: NO
  device_class: 'voltage'
  state_class: STATE_CLASS_MEASUREMENT
  legacy_last_reset_type: LAST_RESET_NONE
  disabled_by_default: NO
  enti
[06:17:15][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'bkw_power_meter_voltage_l3'
  key: 1115620140
  name: 'BKW Power Meter Voltage L3'
  unique_id: 'powermeterbkwsensorbkw_power_meter_voltage_l3'
  icon: ''
  unit_of_measurement: 'V'
  accuracy_decimals: 1
  force_update: NO
  device_class: 'voltage'
  state_class: STATE_CLASS_MEASUREMENT
  legacy_last_reset_type: LAST_RESET_NONE
  disabled_by_default: NO
  enti
[06:17:15][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'bkw_power_meter_current_l1'
  key: 67137285
  name: 'BKW Power Meter Current L1'
  unique_id: 'powermeterbkwsensorbkw_power_meter_current_l1'
  icon: ''
  unit_of_measurement: 'A'
  accuracy_decimals: 1
  force_update: NO
  device_class: 'current'
  state_class: STATE_CLASS_MEASUREMENT
  legacy_last_reset_type: LAST_RESET_NONE
  disabled_by_default: NO
  entity
[06:17:15][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'bkw_power_meter_current_l2'
  key: 67137286
  name: 'BKW Power Meter Current L2'
  unique_id: 'powermeterbkwsensorbkw_power_meter_current_l2'
  icon: ''
  unit_of_measurement: 'A'
  accuracy_decimals: 1
  force_update: NO
  device_class: 'current'
  state_class: STATE_CLASS_MEASUREMENT
  legacy_last_reset_type: LAST_RESET_NONE
  disabled_by_default: NO
  entity
[06:17:15][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'bkw_power_meter_power_delivered_l1'
  key: 1703593842
  name: 'BKW Power Meter Power Delivered L1'
  unique_id: 'powermeterbkwsensorbkw_power_meter_power_delivered_l1'
  icon: ''
  unit_of_measurement: 'kW'
  accuracy_decimals: 3
  force_update: NO
  device_class: 'power'
  state_class: STATE_CLASS_MEASUREMENT
  legacy_last_reset_type: LAST_RESET_NONE
  disable
[06:17:15][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'bkw_power_meter_power_delivered_l2'
  key: 1703593841
  name: 'BKW Power Meter Power Delivered L2'
  unique_id: 'powermeterbkwsensorbkw_power_meter_power_delivered_l2'
  icon: ''
  unit_of_measurement: 'kW'
  accuracy_decimals: 3
  force_update: NO
  device_class: 'power'
  state_class: STATE_CLASS_MEASUREMENT
  legacy_last_reset_type: LAST_RESET_NONE
  disable
[06:17:15][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'bkw_power_meter_power_delivered_l3'
  key: 1703593840
  name: 'BKW Power Meter Power Delivered L3'
  unique_id: 'powermeterbkwsensorbkw_power_meter_power_delivered_l3'
  icon: ''
  unit_of_measurement: 'kW'
  accuracy_decimals: 3
  force_update: NO
  device_class: 'power'
  state_class: STATE_CLASS_MEASUREMENT
  legacy_last_reset_type: LAST_RESET_NONE
  disable
[06:17:15][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'bkw_power_meter_power_returned_l1'
  key: 2271153461
  name: 'BKW Power Meter Power Returned L1'
  unique_id: 'powermeterbkwsensorbkw_power_meter_power_returned_l1'
  icon: ''
  unit_of_measurement: 'kW'
  accuracy_decimals: 3
  force_update: NO
  device_class: 'power'
  state_class: STATE_CLASS_MEASUREMENT
  legacy_last_reset_type: LAST_RESET_NONE
  disabled_b
[06:17:15][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'bkw_power_meter_power_returned_l2'
  key: 2271153462
  name: 'BKW Power Meter Power Returned L2'
  unique_id: 'powermeterbkwsensorbkw_power_meter_power_returned_l2'
  icon: ''
  unit_of_measurement: 'kW'
  accuracy_decimals: 3
  force_update: NO
  device_class: 'power'
  state_class: STATE_CLASS_MEASUREMENT
  legacy_last_reset_type: LAST_RESET_NONE
  disabled_b
[06:17:15][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'bkw_power_meter_power_returned_l3'
  key: 2271153463
  name: 'BKW Power Meter Power Returned L3'
  unique_id: 'powermeterbkwsensorbkw_power_meter_power_returned_l3'
  icon: ''
  unit_of_measurement: 'kW'
  accuracy_decimals: 3
  force_update: NO
  device_class: 'power'
  state_class: STATE_CLASS_MEASUREMENT
  legacy_last_reset_type: LAST_RESET_NONE
  disabled_b
[06:17:15][VV][api.service:166]: send_list_entities_text_sensor_response: ListEntitiesTextSensorResponse {
  object_id: 'bkw_power_meter_identification'
  key: 297274856
  name: 'BKW Power Meter Identification'
  unique_id: 'powermeterbkwtext_sensorbkw_power_meter_identification'
  icon: ''
  disabled_by_default: NO
  entity_category: ENTITY_CATEGORY_NONE
}
[06:17:15][VV][api.service:166]: send_list_entities_text_sensor_response: ListEntitiesTextSensorResponse {
  object_id: 'bkw_power_meter_version'
  key: 3284921438
  name: 'BKW Power Meter Version'
  unique_id: 'powermeterbkwtext_sensorbkw_power_meter_version'
  icon: ''
  disabled_by_default: NO
  entity_category: ENTITY_CATEGORY_NONE
}
[06:17:15][VV][api.service:055]: send_list_entities_done_response: ListEntitiesDoneResponse {}
[06:17:15][VV][api.service:506]: on_subscribe_states_request: SubscribeStatesRequest {}
[06:17:16][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 2766045640
  state: nan
  missing_state: YES
}
[06:17:16][VV][api.service:568]: on_subscribe_homeassistant_services_request: SubscribeHomeassistantServicesRequest {}
[06:17:16][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 2766045643
  state: nan
  missing_state: YES
}
[06:17:16][VV][api.service:595]: on_subscribe_home_assistant_states_request: SubscribeHomeAssistantStatesRequest {}
[06:17:16][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 1391593577
  state: nan
  missing_state: YES
}
[06:17:16][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 1391593578
  state: nan
  missing_state: YES
}
[06:17:16][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 685705274
  state: nan
  missing_state: YES
}
[06:17:16][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 3069689477
  state: nan
  missing_state: YES
}
[06:17:16][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 4270658473
  state: nan
  missing_state: YES
}
[06:17:16][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 3283664936
  state: nan
  missing_state: YES
}
[06:17:16][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 1115620142
  state: nan
  missing_state: YES
}
[06:17:16][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 1115620141
  state: nan
  missing_state: YES
}
[06:17:16][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 1115620140
  state: nan
  missing_state: YES
}
[06:17:16][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 67137285
  state: nan
  missing_state: YES
}
[06:17:16][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 67137286
  state: nan
  missing_state: YES
}
[06:17:16][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 67137287
  state: nan
  missing_state: YES
}
[06:17:16][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 1703593842
  state: nan
  missing_state: YES
}
[06:17:16][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 1703593841
  state: nan
  missing_state: YES
}
[06:17:16][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 1703593840
  state: nan
  missing_state: YES
}
[06:17:16][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 2271153461
  state: nan
  missing_state: YES
}
[06:17:16][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 2271153462
  state: nan
  missing_state: YES
}
[06:17:16][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 2271153463
  state: nan
  missing_state: YES
}
[06:17:16][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse {
  key: 297274856
  state: ''
  missing_state: YES
}
[06:17:16][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse {
  key: 3284921438
  state: ''
  missing_state: YES
}
[06:17:18][VV][api.service:470]: on_ping_request: PingRequest {}
[06:17:18][VV][api.service:043]: send_ping_response: PingResponse {}
[06:17:19][V][dsmr:142]: Header of telegram found
[06:17:19][V][dsmr:176]: Footer of telegram found
[06:17:19][V][dsmr:257]: Trying to parse telegram
[06:17:19][V][dsmr:115]: Stop requesting data from P1 port
[06:17:19][E][dsmr:265]: 1-0:1.8.1.255()
              ^
Missing unit
[06:17:22][V][dsmr:102]: Start requesting data from P1 port
[06:17:29][V][dsmr:142]: Header of telegram found
[06:17:29][V][dsmr:176]: Footer of telegram found
[06:17:29][V][dsmr:257]: Trying to parse telegram
[06:17:29][V][dsmr:115]: Stop requesting data from P1 port
[06:17:29][E][dsmr:265]: 1-0:1.8.1.255()
              ^
Missing unit
[06:17:30][VV][api.service:470]: on_ping_request: PingRequest {}
[06:17:30][VV][api.service:043]: send_ping_response: PingResponse {}
[06:17:32][V][dsmr:102]: Start requesting data from P1 port
[06:17:33][VV][api.service:470]: on_ping_request: PingRequest {}
[06:17:33][VV][api.service:043]: send_ping_response: PingResponse {}
[06:17:34][VV][scheduler:206]: Running interval '' with interval=60000 last_execution=4294958651 (now=51355)
[06:17:39][V][dsmr:142]: Header of telegram found
[06:17:39][V][dsmr:176]: Footer of telegram found
[06:17:39][V][dsmr:257]: Trying to parse telegram
[06:17:39][V][dsmr:115]: Stop requesting data from P1 port
[06:17:39][E][dsmr:265]: 1-0:1.8.1.255()
              ^
Missing unit

Any ideas, please!

I can see a message comming in to the D1-mini with my oscilloscope. How can I debug the dsmr message?

Can anybody help?

Hi!

Did you found something out? I’m trying to connect to an AS3000 (SAK) as well…

Martin