unlobito / ha-hildebrandglow

PRE-RELEASE. HomeAssistant integration for the Hildebrand Glow smart meter HAN for UK SMETS meters.
MIT License
54 stars 31 forks source link

Home-Assistant Energy Dashboard #45

Closed richard-scott closed 2 years ago

richard-scott commented 3 years ago

Are there any plans to add support for the Energy Dashboard? I'm unable to see the DCC devices in the dropdown when setting up the energy dashboard it suggests more info on this page:

https://www.home-assistant.io/more-info/statistics/ https://developers.home-assistant.io/docs/core/entity/sensor/#long-term-statistics

eperdeme commented 3 years ago

There any alternative plugins that provide this ?

jamiewhitham commented 3 years ago

I would like this too. It seems the Energy Dashboard "Add Consumption" is looking for energy in kWh rather than power in watts that we have. It says "Consumed Energy (kWh)" so might need something to integrate the watts over time.

unlobito commented 2 years ago

Hey @richard-scott @eperdeme @jamiewhitham, I appreciate your patience and enthusiasm with this request.

I've just released https://github.com/unlobito/ha-hildebrandglow/releases/tag/0.2.0-beta to add support for the Home Assistant Energy Dashboard for folk with a Consumer Access Device.

Please don't hesitate to write in if you have any issues with the upgrade

dannytsang commented 2 years ago

@unlobito I've just updated to 2.0 beta and my entities are not selectable for some reason or am I missing something?

Here's an example of the power consumption: image image image

unlobito commented 2 years ago

Hey @dannytsang, thanks for writing in. Do you see anything under the "Energy Consumption" sensor? I made a mistake in the release notes, "Power Consumption" is for the current/instantaneous electricity use.

dannytsang commented 2 years ago

@unlobito I've got that one so I have added that. If I read the description right, it is an accumulative usage so would Home Assistant still be able to track per hour still?

unlobito commented 2 years ago

@dannytsang Yep, Home Assistant will track the changes in the counter across each hour and displays them separately

Below is a screenshot from my home installation, hovering over each bar shows a breakdown of the energy consumed during that hour

image

richard-scott commented 2 years ago

I notice I've lost my Gas readings now on this release:

Screenshot 2021-12-20 at 11 06 40
dannytsang commented 2 years ago

@unlobito all working my end. Thank you very much.

@richard-scott It's working on my end. Have you checked the name of the entity because they we're renamed as part of the upgrade?

richard-scott commented 2 years ago

@dannytsang Ah yes, the entity with the 'eye' icon is my gas usage... but that's currently unavailable:

Screenshot 2021-12-20 at 13 45 10

When does that get populated/updated?

dannytsang commented 2 years ago

@richard-scott I think mine had the eye icon and then changed to a gas bottle. Not sure when it changed because I did restart HA and I didn't have any gas reading before it changed.

The image you have posted looks correct to me. Maybe check / post the image of the device and all its associated entities and make sure there isn't any other devices or entities that has the gas consumption? @unlobito any other suggestions?

I can't say how long it took to get a reading because our boiler was scheduled not to come on until the following day (this morning).

richard-scott commented 2 years ago

@dannytsang yes, I get the gas bottle icon now, but no statistics.

dannytsang commented 2 years ago

@richard-scott Is the entity enabled? I had to enable mine manually using the toggle in your above screenshot it looks like it's disabled (highlighted in yellow) image

richard-scott commented 2 years ago

yes, I realised that after I sent the picture and enabled it. I'll have to wait and see what data I get on the next poll as Gas values only get sent from the meter every 30min.

unlobito commented 2 years ago

Thanks for the clarification! I don't have a gas supply at home and am reliant on folks' feedback to test gas meter integrations, so I've opened #46 to track this as a bug.

@richard-scott I'm keen to know whether manually enabling the sensor fixed gas readings for you, though I completely agree this manual step shouldn't be necessary.

richard-scott commented 2 years ago

I've added a comment and a pic to #46 👍