Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gas usage reported as Water usage #6

Open
tony-p opened this issue Mar 8, 2024 · 4 comments
Open

Gas usage reported as Water usage #6

tony-p opened this issue Mar 8, 2024 · 4 comments

Comments

@tony-p
Copy link

tony-p commented Mar 8, 2024

I have the p1 dongle pro attached to an ESMR 5 meter (NL) and the gas delivered reports NA, and the water usage reports the gas usage. (I'm pretty new to HA and ESPhome) but as far as I can gather I can't just switch these values in the yaml file and the energy reporting on HA doesn't let me select the water sensor as gas sensor.

@mhendriks
Copy link
Owner

Hi Tony, is it possible to share the yaml (or gas/water parts)?

@tony-p
Copy link
Author

tony-p commented Mar 9, 2024

Is just reference standard one from the repo (references it)

substitutions:
  name: p1-dongle-pro
packages:
  smartstuff.p1_dongle_pro: github://mhendriks/esphome-p1/p1-dongle-pro.yaml@main
esphome:
  name: ${name}
  name_add_mac_suffix: false
api:
  encryption:
    key: ...


wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

@mhendriks
Copy link
Owner

Hi Tony, probably (I almost sure) the gas consumption is on mbus 2 and default the water mbus is on this id.

default config

dsmr:
  water_mbus_id: 2

You could change it to set the gas_mbus_id on 2

dsmr:
 gas_mbus_id: 2

@tony-p
Copy link
Author

tony-p commented Mar 18, 2024

ok. In the meantime I changed back to the DSMR-API firmware and that is working well with the MQTT interface so migh stick with that one for the time being.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants