@HandyHat and that has solved the issue of midnight cutoff for me. Thank you!
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.