esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
290 stars 35 forks source link

Water usage from slimmelezer #3933

Open peno64 opened 1 year ago

peno64 commented 1 year ago

The problem

It is not possible to retrieve the water usage from slimmemeter. In the code I see in fields.h for example the definition of water_delivered but in the yaml configuration file it is not possible to specify it. It is also not documented in https://esphome.io/components/sensor/dsmr.html Belgium readers do send this data and I see the definition in fields.h is correct so why is it tnot possible to specify it in the configation file?

Which version of ESPHome has the issue?

2022.11.5

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

No response

What platform are you using?

ESP8266

Board

No response

Component causing the issue

No response

Example YAML snippet

substitutions:
  device_name: slimmelezer
  device_description: "DIY P1 module to read your smart meter"

esphome:
  name: ${device_name}
  comment: "${device_description}"
  platform: ESP8266
  esp8266_restore_from_flash: true
  board: d1_mini
  name_add_mac_suffix: false
  project:
    name: zuidwijk.slimmelezer
    version: "2.0"

uart:
  baud_rate: 115200
  rx_pin: D7

dsmr:

sensor:
  - platform: dsmr
    water_delivered:
      name: "Water Consumed"

Anything in the logs that might be useful for us?

Compiling this with: esphome compile water.yaml
gives:

Failed config

sensor.dsmr: [source water.yaml:23]
  platform: dsmr

  [water_delivered] is an invalid option for [sensor.dsmr]. Did you mean [power_delivered], [power_delivered_l3], [power_delivered_l2]?
  water_delivered:
    name: Water Consumed

Additional information

No response

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Calypoter commented 1 year ago

Is there a way to add this option? I also would like to see it with esphome

peno64 commented 1 year ago

See this: https://github.com/peno64/slimmemeter/wiki Works perfect for me

peturdainn commented 10 months ago

And now it works out of the box so this issue can be closed I think