@HandyHat midnight issue also fixed here.
I’ve set this up and initially it seemed to be working but my value hasn’t updated in a couple of hours… Is this normal?
@danmed I’ve also seen some odd behaviour today with data reported from midnight to 0600, then nothing until 1400 when I seem to have a spike which is combined data from the last 8 hours then nothing at 1500 and a report again at 1600. I do have data for each hour in the Bright app so clearly something isn’t quite right but so far I’m just assuming it’s a passing glitch.
thanks… it seems the time of night i was setting it up was to blame… obviously things reset at midnight and whilst it does take some time sometimes to populate… other than a couple of blips… all the data is there eventually.
it would be nice to get current draw from this but unless i want to stump up £60 for one of their IHD’s it’s not going to happen…
This does integrate nicely with the new energy monitoring system if you set it up as a utility meter… which i’m really happy with… considering the only sensor it spits out is a “total today” style gauge… i’m impressed the energy monitoring can still split it down by hourly consumption.
@HandyHat I’ve had quite a few periods of the sensor dropping out. Looking in the logs I see:
This error originated from a custom integration.
Logger: homeassistant
Source: custom_components/hildebrandglow_dcc/sensor.py:108
Integration: Hildebrand Glow (DCC) (documentation, issues)
First occurred: 26 August 2021, 0:01:46 (778 occurrences)
Last logged: 10:05:48
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 708, in _update_entity_states
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 451, in async_update_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 498, in _async_write_ha_state
state = self._stringify_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 470, in _stringify_state
state = self.state
File "/config/custom_components/hildebrandglow_dcc/sensor.py", line 108, in state
return self._state["data"][0][1]
KeyError: 'data'
The sensors are not showing as unavailable but haven’t reported any data since 0700 yesterday.
Mine stoped reporting data from 21:00 last night. Interestingly the Bight app has stopped reporting data from 02:00 this morning. The integration however is showing as unavailable rather than zero rate.
Who’s your provider? I’m with Octopus and annoyingly my meter has stopped reporting the reads so I can’t see them in the Bright app. Firmware issue with the meter which is getting resolved in September.
my provider is EDF
I have also been seeing some problems with the integration. Got this when I restarted HA earlier:
Logger: homeassistant.components.sensor
Source: custom_components/hildebrandglow_dcc/sensor.py:36
Integration: Sensor (documentation, issues)
First occurred: 21:28:57 (1 occurrences)
Last logged: 21:28:57
Error while setting up hildebrandglow_dcc platform for sensor
Traceback (most recent call last):
File “/config/custom_components/hildebrandglow_dcc/sensor.py”, line 33, in async_setup_entry
resources = await hass.async_add_executor_job(glow.retrieve_resources)
File “/usr/local/lib/python3.9/concurrent/futures/thread.py”, line 52, in run
result = self.fn(*self.args, **self.kwargs)
File “/config/custom_components/hildebrandglow_dcc/glow.py”, line 78, in retrieve_resources
raise InvalidAuth
custom_components.hildebrandglow_dcc.glow.InvalidAuth
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 249, in _async_setup_platform
await asyncio.shield(task)
File “/config/custom_components/hildebrandglow_dcc/sensor.py”, line 36, in async_setup_entry
await Glow.handle_failed_auth(config, hass)
TypeError: handle_failed_auth() missing 1 required positional argument: ‘hass’
Looks like i lost data (to the bright app too) at 9pm last night… or just after…
Restarted HA a few times but no change… if Bright doesn’t have the data then i guess there’s no way HA will…
I’ve email glowmarkt to see where the problem lies as i assume it’s either with them or with octopus.
You might have the same issue as me. I’m with octopus and my electricity meter has stopped reporting the reads back to Octopus. It’s something to do with faulty firmware. Apparently the fix is due in September.
Interesting… i only had my smart meter installed a week ago… and it’s been reporting like a trooper since then… so not sure it’s the same issue… my timings seem to line up with other someone else here that commented.
Response from Glowmarkt :
Hello Dan,
That looks like a local WAN issue - typically, that isn’t down to your supplier but to the DCC. I believe what they do when a meter doesn’t respond is to send another nudge the next night when they do the daily consumption data collection. If your data still isn’t refreshing by tomorrow, we suggest that you let Octopus know and perhaps they can do something to move things along.
Unfortunately there isn’t anything we can do. Good luck!
Kind regards,
Jane Wilson
Seems odd to me that my timings match up perfectly with Isablend : Hildebrandglow - Smart Meters - SMETS2 - #67 by Isablend
I’m seeing the exact same error when rebooting :
2021-08-31 10:51:56 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up hildebrandglow_dcc platform for sensor
Traceback (most recent call last):
File "/config/custom_components/hildebrandglow_dcc/sensor.py", line 33, in async_setup_entry
resources = await hass.async_add_executor_job(glow.retrieve_resources)
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/hildebrandglow_dcc/glow.py", line 78, in retrieve_resources
raise InvalidAuth
custom_components.hildebrandglow_dcc.glow.InvalidAuth
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/hildebrandglow_dcc/sensor.py", line 36, in async_setup_entry
await Glow.handle_failed_auth(config, hass)
TypeError: handle_failed_auth() missing 1 required positional argument: 'hass'
Hi all,
I am also missing all my smart meter data since the 28th of August, which lines up with @Isablend and @danmed. Interestingly this is also missing in my provider (Shell Energy)'s app, which means the issue does not lie with Glowmarkt.
@Eldudemeister Do you have any more information about the firmware issue with your meter?
@Gronda your error should only occur when the data received from the API is empty - do you have anything showing up in your Bright app?
@jone9618 An error with the retrieval of resources indicates that the API failed to find any meters linked to your account. The error handling of the integration isn’t great so it’s assuming your credentials are bad and attempting to fix that. Assuming your data is showing up in the Bright app, you should be able to fix that by removing and re-adding the integration
Not really annoyingly, this was the update I received from Octopus
Looking into this I have found that your meter is made by Kaifa. We’re having some issues with the firmware on some of these meters.
This means that after a certain period of time (seems to be different for each meter) the meters stop being able to retrieve and provide half hourly readings.
There is a fix for this in the works, and we hope this will be rolled out in the next couple of months (although as always with these types of things, we don’t have definite dates yet).
I found an issue last night where I couldn’t log into the Bright app so I reset my password there and updated the integration. Oddly as of today it is still not pulling through any data and seems to have dropped off from Saturday on Bright and Bulb (my provider). But looking back through the data I do have, there are drop-outs in Hassio where the Bright and Bulb apps both show data e.g. on 25/8 in Hassio I have a gap between 0600 and 1000 but data showing in both the other apps for that period. I’ve now reset my meter display’s connection to my WiFi in case that was the issue (although it was showing as connected). Going to give it a day or two to see if data start reappearing.
So following yesterday’s post, I took the action to remove the integration and install. I made sure to get the password wrong to ensure that i could see it was using my credentials and rejecting me correctly, which it did. I then entered the right credentials and the integration installed. Ininitially not showing any data i.e. it was reporting .
All this time (thoughout the period when the integration has not been showing) the Bright app has been showing data albeit sometimes there would be a delay sometimes up to a few hours, but data none the less.
For 2 days now my IHD has been showing blank or attempting to connect to the meter and failing and I though it can’t be related, but took the action to reboot it, so its now working also, although I’d be happy without it if this works consistently.
Checked it this morning and I’ve got data showing from the time of the re-install and IHD reboot. So something has clearly changed or unblocked during this period. I’ll keep and eye out and report back.
It’s odd that we are all experiencing issues around the same time - might be indicative of wider issues at the DCC