Slimmelezer+ yaml file för sweden

What configuration do you have for SlimmeLezer+ in esphome for Sweden, Vattenfall.
I have this, but can’t get out what it would export.
Should there be a connection to the NordPol spot price, right?
What do you have as a configuration file.
Grateful for answers.

  name: vattenfall5

  comment: "El"
  platform: ESP8266
  esp8266_restore_from_flash: true
  board: d1_mini
  name_add_mac_suffix: false

# Enable logging


# Enable Home Assistant API
api:

ota:
  password: "63aed3fe496c96d8f19550e082dbfd9" 7
dashboard_import:
  package_import_url: github://zuidwijk/dsmr/slimmelezer.yaml

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  use_address: 192.168.1.31
  manual_ip:
    static_ip: 192.168.1.31
    gateway: 192.168.1.1
    subnet: 255.255.255.0
    dns1: 192.168.1.1
  domain: .home

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Vattenfall5 Fallback Hotspot"
    password: "DvfScJ6pnyh"

captive_portal:
# Enable logging
logger:
  baud_rate: 0

web_server:
  port: 80

uart:
  baud_rate: 115200
  rx_pin: D7
  rx_buffer_size: 1700
 

  debug:
    direction: BOTH
    dummy_receiver: false
    after:
      delimiter: "\n"
    sequence:
      - lambda: UARTDebug::log_string(direction, bytes);

dsmr:
  id: dsmr_instance
  
  max_telegram_length: 1700

sensor:
  - platform: dsmr
    energy_delivered_tariff1:
      name: "Energy Consumed Tariff 1"
    energy_delivered_tariff2:
      name: "Energy Consumed Tariff 2"
    energy_returned_tariff1:
      name: "Energy Produced Tariff 1"
    energy_returned_tariff2:
      name: "Energy Produced Tariff 2"
    power_delivered:
      name: "Power Consumed"
      accuracy_decimals: 3
    power_returned:
      name: "Power Produced"
      accuracy_decimals: 3
    electricity_failures:
      name: "Electricity Failures"
      icon: mdi:alert
    electricity_long_failures:
      name: "Long Electricity Failures"
      icon: mdi:alert
    voltage_l1:
      name: "Voltage Phase 1"
    voltage_l2:
      name: "Voltage Phase 2"
    voltage_l3:
      name: "Voltage Phase 3"
    current_l1:
      name: "Current Phase 1"
    current_l2:
      name: "Current Phase 2"
    current_l3:
      name: "Current Phase 3"
    power_delivered_l1:
      name: "Power Consumed Phase 1"
      accuracy_decimals: 3
    power_delivered_l2:
      name: "Power Consumed Phase 2"
      accuracy_decimals: 3
    power_delivered_l3:
      name: "Power Consumed Phase 3"
      accuracy_decimals: 3
    power_returned_l1:
      name: "Power Produced Phase 1"
      accuracy_decimals: 3
    power_returned_l2:
      name: "Power Produced Phase 2"
      accuracy_decimals: 3
    power_returned_l3:
      name: "Power Produced Phase 3"
      accuracy_decimals: 3
    gas_delivered:
      name: "Gas Consumed"
  - platform: uptime
    name: "vattenfall5 Uptime"
  - platform: wifi_signal
    name: "vattenfall5 Wi-Fi Signal"
    update_interval: 60s

text_sensor:
  - platform: dsmr
    identification:
      name: "DSMR Identification"
    p1_version:
      name: "DSMR Version"
  - platform: wifi_info
    ip_address:
      name: "SlimmeLezer IP Address"
    ssid:
      name: "SlimmeLezer Wi-Fi SSIDesphome:
  name: vattenfall5

  comment: "El"
  platform: ESP8266
  esp8266_restore_from_flash: true
  board: d1_mini
  name_add_mac_suffix: false

# Enable logging


# Enable Home Assistant API
api:

ota:
  password: "63aed3fe496c96d8f19550e082dbfd9" 7
dashboard_import:
  package_import_url: github://zuidwijk/dsmr/slimmelezer.yaml

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  use_address: 192.168.1.31
  manual_ip:
    static_ip: 192.168.1.31
    gateway: 192.168.1.1
    subnet: 255.255.255.0
    dns1: 192.168.1.1
  domain: .home

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Vattenfall5 Fallback Hotspot"
    password: "DvfScJ6pnyPh"

captive_portal:
# Enable logging
logger:
  baud_rate: 0

web_server:
  port: 80

uart:
  baud_rate: 115200
  rx_pin: D7
  rx_buffer_size: 1700
 

  debug:
    direction: BOTH
    dummy_receiver: false
    after:
      delimiter: "\n"
    sequence:
      - lambda: UARTDebug::log_string(direction, bytes);

dsmr:
  id: dsmr_instance
  
  max_telegram_length: 1700

sensor:
  - platform: dsmr
    energy_delivered_tariff1:
      name: "Energy Consumed Tariff 1"
    energy_delivered_tariff2:
      name: "Energy Consumed Tariff 2"
    energy_returned_tariff1:
      name: "Energy Produced Tariff 1"
    energy_returned_tariff2:
      name: "Energy Produced Tariff 2"
    power_delivered:
      name: "Power Consumed"
      accuracy_decimals: 3
    power_returned:
      name: "Power Produced"
      accuracy_decimals: 3
    electricity_failures:
      name: "Electricity Failures"
      icon: mdi:alert
    electricity_long_failures:
      name: "Long Electricity Failures"
      icon: mdi:alert
    voltage_l1:
      name: "Voltage Phase 1"
    voltage_l2:
      name: "Voltage Phase 2"
    voltage_l3:
      name: "Voltage Phase 3"
    current_l1:
      name: "Current Phase 1"
    current_l2:
      name: "Current Phase 2"
    current_l3:
      name: "Current Phase 3"
    power_delivered_l1:
      name: "Power Consumed Phase 1"
      accuracy_decimals: 3
    power_delivered_l2:
      name: "Power Consumed Phase 2"
      accuracy_decimals: 3
    power_delivered_l3:
      name: "Power Consumed Phase 3"
      accuracy_decimals: 3
    power_returned_l1:
      name: "Power Produced Phase 1"
      accuracy_decimals: 3
    power_returned_l2:
      name: "Power Produced Phase 2"
      accuracy_decimals: 3
    power_returned_l3:
      name: "Power Produced Phase 3"
      accuracy_decimals: 3
    gas_delivered:
      name: "Gas Consumed"
  - platform: uptime
    name: "vattenfall5 Uptime"
  - platform: wifi_signal
    name: "vattenfall5 Wi-Fi Signal"
    update_interval: 60s

text_sensor:
  - platform: dsmr
    identification:
      name: "DSMR Identification"
    p1_version:
      name: "DSMR Version"
  - platform: wifi_info
    ip_address:
      name: "SlimmeLezer IP Address"
    ssid:
      name: "SlimmeLezer Wi-Fi SSID"
    bssid:
      name: "SlimmeLezer Wi-Fi BSSID"
  - platform: version
    name: "ESPHome Version"
    hide_timestamp: false

    bssid:
      name: "SlimmeLezer Wi-Fi BSSID"
  - platform: version
    name: "ESPHome Version"
    hide_timestamp: false 

I have this on my logs.
´´´
[13:37:15][D][sensor:124]: ‘Power Consumed’: Sending state 0.00000 kW with 3 decimals of accuracy
[13:37:15][D][sensor:124]: ‘Power Produced’: Sending state 6.15400 kW with 3 decimals of accuracy
[13:37:15][D][sensor:124]: ‘Voltage Phase 1’: Sending state 237.39999 V with 1 decimals of accuracy
[13:37:15][D][sensor:124]: ‘Voltage Phase 2’: Sending state 234.70000 V with 1 decimals of accuracy
[13:37:15][D][sensor:124]: ‘Voltage Phase 3’: Sending state 239.60001 V with 1 decimals of accuracy
[13:37:15][D][sensor:124]: ‘Current Phase 1’: Sending state 8.50000 A with 1 decimals of accuracy
[13:37:15][D][sensor:124]: ‘Current Phase 2’: Sending state 8.60000 A with 1 decimals of accuracy
[13:37:15][D][sensor:124]: ‘Current Phase 3’: Sending state 8.70000 A with 1 decimals of accuracy
[13:37:15][D][sensor:124]: ‘Power Consumed Phase 1’: Sending state 0.00000 kW with 3 decimals of accuracy
[13:37:15][D][sensor:124]: ‘Power Consumed Phase 2’: Sending state 0.00000 kW with 3 decimals of accuracy
[13:37:15][D][sensor:124]: ‘Power Consumed Phase 3’: Sending state 0.00000 kW with 3 decimals of accuracy
[13:37:15][D][sensor:124]: ‘Power Produced Phase 1’: Sending state 2.03800 kW with 3 decimals of accuracy
[13:37:15][D][sensor:124]: ‘Power Produced Phase 2’: Sending state 2.02900 kW with 3 decimals of accuracy
[13:37:15][D][sensor:124]: ‘Power Produced Phase 3’: Sending state 2.08500 kW with 3 decimals of accuracy
´´´

I can se the "Power Consumed Phase " this is 0.00000 kW

@chris4, I have an old Slimmelezer+ before there was support for Swedish meters. Where did you find the firmware that supports Sweden?