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

HA Energy Usage Reporting Incorrectly and Gas Meter Entity Unavailable #47

Open townsmcp opened 2 years ago

townsmcp commented 2 years ago

Last week I bought and had delivered the USB zigbee stick from Hildebrand. I contacted them and have mqtt reporting working.

I have HA 2021.12.5 installed (also tried with 2021.12.3 but was getting the same issues). I have this repo in HACS (so using the latest version) and tried manually installing 0.2.1-beta but also seeing the issues.

The issues:

  1. Gas consumption entity is showing as unavailable. I am aware the latest beta should fix the issue as reported in https://github.com/unlobito/ha-hildebrandglow/issues/46. But I don’t think it has - see pics below.
  2. In Energy dashboard, reporting of electric usage, using the created entity for the HACS install is crazy - usage is not being reported and treated correctly. Where I would expect the amount of electricity consumed by hour, something is going majorly wrong. Rather than say 1kwh used, the readings are something like 50,000 kWh. See pics below.

@unlobito any suggestions on what I’m doing wrong?

This pic is the created entities: 0F98DEB9-E10E-4525-B386-5722D1E35BA6

For Energy dashboard, this pic is what I would expect to see (graphs produced with the Hildebrand DCC HACS install): E569E191-FF7E-4F2C-ACF8-183D62BDC295

This is what I’m seeing with this repo entities installed for the same time period: 03014753-BAB5-4201-A4E3-73DCB1B70833

Daibutt commented 2 years ago

Hi @townsmcp , what is your elec meter value showing outside of the Energy dashboard? Not the instantaneous, the running total? I had an issue with my MQTT gas total reading which was dropping out to zero occasionally & when it returned to correct value the HA energy dashboard saw this as actual consumption. (I haven't had this issue with elec import or export though!) I ended up putting in some code to effectively ignore anything that was below where my meter reading roughly was (42,000kWh in my case);

townsmcp commented 2 years ago

@Daibutt ohhhh good question. I would need to check the meter itself, but I reckon you could be spot on - the value showing in the sensor is probably the all time energy consumption. I have the Hildebrand DCC integration installed which shows correct usage for the day in the dashboard but I love how this integration shows the real time consumption value. Thanks for sharing you gas template equivalent

pete-leese commented 2 years ago

Hi, Just received my Glow Stick today and finding myself with the same issue where the Gas consumption is not available.

Has this been resolved?

craigmcgowan commented 2 years ago

Hi, Just received my Glow Stick today and finding myself with the same issue where the Gas consumption is not available.

Has this been resolved?

I have exactly the same issue so dont believe so..... and I also received my Glow Stick today :)

townsmcp commented 2 years ago

@pete-leese and @craigmcgowan I still never got gas consumption coming through. However if you install the DCC version of the integration you can get that figure. I didn’t manage to resolve the energy consumption on this integration in the end so it’s still crazy high. Right now it’s 20,623kwh but on DCC the right figures show up. All I’m using this integration for is the real time electricity usage

craigmcgowan commented 2 years ago

@pete-leese and @craigmcgowan I still never got gas consumption coming through. However if you install the DCC version of the integration you can get that figure. I didn’t manage to resolve the energy consumption on this integration in the end so it’s still crazy high. Right now it’s 20,623kwh but on DCC the right figures show up. All I’m using this integration for is the real time electricity usage

@townsmcp Exactly the same as me then. I had DCC version installed for a few weeks and it was working well. I uninstalled it to use this version but as you say there is no gas and my energy reading was 26000+ kwh also. The current consumption though is what I really wanted to buy the glow stick for though so now I can get that from this integration and all the daily/total figures from the DCC version.

Buying a glowstick also had the added benefit of its made all my tarriff rates appear in the app/integrations as previously they were showing in the app as unavailable, so im well happy :)

obiwanzamora commented 2 years ago

Same issue here. Really high electricity consumption and gas consumption unavailable. I can see the data is present in the mqtt message. Is there any workaround or sit tight for a fix?

craigmcgowan commented 2 years ago

Same issue here. Really high electricity consumption and gas consumption unavailable. I can see the data is present in the mqtt message. Is there any workaround or sit tight for a fix?

Workaround to get this data is install this also https://github.com/HandyHat/ha-hildebrandglow-dcc

obiwanzamora commented 2 years ago

Workaround to get this data is install this also https://github.com/HandyHat/ha-hildebrandglow-dcc

I have the CAD device so was hoping to get the real-time data. My understanding is the DCC version will only pull through the delayed info?