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

Discovery of sensors / energy #1

Closed
sweebel opened this issue Mar 9, 2022 · 3 comments
Closed

Discovery of sensors / energy #1

sweebel opened this issue Mar 9, 2022 · 3 comments

Comments

@sweebel
Copy link

sweebel commented Mar 9, 2022

Am I correct it is still needed to manually add these lines?
filipvh/hass-nhc2#28 (comment)

Saw that you where the person who made the thermostat possible :-) so thank you!

Due the pip bug of philip's repo I installed your's as I also wanted the energy sensor.
If you need help with debugging let me know!

@joleys
Copy link
Owner

joleys commented Mar 9, 2022

Yes, correct. Those are needed to add the data to the Energy dashboard. The direct value from NHC will not be accepted; this must be a totalizer.

I'm rather sure there will be a way to add them automatically but for now this seems an acceptable workaround.

@sweebel
Copy link
Author

sweebel commented Mar 9, 2022

Ok thanks!
and agree for now more than acceptable! Thanks for the effort.

@sweebel
Copy link
Author

sweebel commented Mar 9, 2022

After some trial and error.
My sensor / monitor was discoverd and added in the NHC integration it received the name sensor.driefasige_elektriciteitsmeting_1
So my snippet for configuration.yaml looks like this and after a config check and restart I could find them in my lovelace ui and could add it to the energy monitor

sensor:
  - platform: integration
    source: sensor.driefasige_elektriciteitsmeting_1
    name: energy_elektriciteit
    unit_prefix: k
    round: 3
    method: left

utility_meter:
  energy_daily:
    source: sensor.driefasige_elektriciteitsmeting_1
    cycle: daily
  energy_monthly:
    source: sensor.driefasige_elektriciteitsmeting_1
    cycle: monthly

@sweebel sweebel closed this as completed Mar 9, 2022
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