Since sometime tonight the CO2 signal sensors are unavailable.
Am I the only one?
Same here. No data since 3 days. Not yet investigated what the reason may be…
1 Like
It’s back, without me doing anything.
I hate to be “that guy”, but ditto. Must have been a glitch somewhere. Now happily reporting almost 80% non-fossil.
It’s fascinating to see the impact of the weather on my energy mix.
Anyone else lost their CO2Signal data in the Home Assistant Energy Module?
Mine stopped reporting two days ago.
Thanks!
scotty
(Scott Phillips)
December 27, 2021, 8:28pm
7
Mine has been dead for same period. It’s a pity as it’s my favourite feature of the new energy app.
OzGav
(Oz Gav)
December 29, 2021, 1:29am
8
The better question at the moment is does this work for ANYONE at the moment?
On my energy page the Non-Fossil energy is being calculated but the CO2signal integration is showing that it can’t be setup and the two entities are unavailable…?
Mine and s working continuously since the original issue was resolved
OzGav
(Oz Gav)
December 30, 2021, 1:11pm
10
Maybe it is just Australia that has gone offline then?
1 Like
I updated to Home Assistant 2021.12.6 and CO2signal functionality seems to have returned.
It last reported correctly on 20 December for me, and today’s (31 Dec) data is looking about right. Days in between are lost.
OzGav
(Oz Gav)
December 30, 2021, 11:54pm
12
Unfortunately I just updated to .7 and still no good.
On 12.7 as well. Its been out for me all day. This is the first time i am trying this integration. Based on this thread, it sounds like their API goes out often. Are these usually global outages or just specific country/area outages? Are they usually offline for multiple days?
tyzack39
(Tyzack39)
January 1, 2022, 11:06pm
14
Also on 2021.12.7 as well. It has been Unavailable for sometime, I’m in Australia!
OzGav
(Oz Gav)
January 1, 2022, 11:54pm
15
Looks like it is an issue with using a latitude and longitude for the location in Australia. Reinstall the integration and select the state code instead https://api.electricitymap.org/v3/zones This may not be as accurate in terms of data as previously.
See here for more discussions:
opened 10:55PM - 24 Dec 21 UTC
integration: co2signal
### The problem
Does not work in Australia at all as of about 2 weeks ago, wh… ether you use the country, (au), state (victoria), coordinates or home location.
Just errors when you remove and readd integration now.
Website has marked all stats for australia as non free.
Suggest removing this integration, its useless to the HA userbase (Error is "unexpected error")
### What version of Home Assistant Core has the issue?
core-2021.12.4
### What was the last working version of Home Assistant Core?
core-2021.12.1
### What type of installation are you running?
Home Assistant Container
### Integration causing the issue
CO2 Signal
### Link to integration documentation on our website
(https://www.home-assistant.io/integrations/co2signal/)
### Example YAML snippet
```yaml
No yaml, Integration is UI configured
```
### Anything in the logs that might be useful for us?
```txt
2021-12-24 01:22:09 WARNING (MainThread) [homeassistant.config_entries] Config e ntry 'CO2 Signal' for co2signal integration not ready yet: Unknown server error; Retrying in background
```
I also tried readding the integration using the country-region code documented in the API (AUS-VIC) and got
2021-12-26 00:09:56 WARNING (MainThread) [homeassistant.config_entries] Config entry 'AUS-VIC' for co2signal integration not ready yet; Retrying in background
### Additional information
The CO2 Signal appears to have marked the Australian data as non free
opened 11:07AM - 14 Aug 21 UTC
integration: co2signal
energy
### The problem
The CO2 Signal integration stopped working after a couple of da… ys. Error message: Retrying setup
Check the logs.
### What is version of Home Assistant Core has the issue?
core-2021.8.6
### What was the last working version of Home Assistant Core?
core-2021.8.6
### What type of installation are you running?
Home Assistant OS
### Integration causing the issue
CO2 Signal
### Link to integration documentation on our website
https://www.home-assistant.io/integrations/co2signal/
### Example YAML snippet
_No response_
### Anything in the logs that might be useful for us?
```txt
Logger: homeassistant.config_entries
Source: config_entries.py:324
First occurred: 12:55:06 PM (2 occurrences)
Last logged: 12:55:17 PM
Config entry 'CO2 Signal' for co2signal integration not ready yet; Retrying in background
Config entry 'Veste Zonnepanelen' for forecast_solar integration not ready yet: 502, message='Bad Gateway', url=URL('https://91.228.53.233/estimate/52.51956842555332/5.4729482531547555/23/-90/3.6?time=iso8601&damping=0.0'); Retrying in background
Logger: homeassistant.components.co2signal
Source: components/co2signal/__init__.py:119
Integration: CO2 Signal (documentation, issues)
First occurred: 12:55:01 PM (12 occurrences)
Last logged: 1:06:06 PM
Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/co2signal/__init__.py", line 119, in get_data
data = CO2Signal.get_latest(
File "/usr/local/lib/python3.9/site-packages/CO2Signal/co2signal.py", line 34, in get_latest
latest_data = (requests
File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 900, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/local/lib/python3.9/site-packages/simplejson/__init__.py", line 525, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.9/site-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/local/lib/python3.9/site-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
```
### Additional information
_No response_
1 Like
tyzack39
(Tyzack39)
January 2, 2022, 12:43am
16
The Integration is now working using the country/state code (AUS/VIC). Thanks
1 Like
jazzyisj
(Jason)
January 2, 2022, 3:27am
17
Thank you! Ontario, Canada here (Country Code CA-ON). Been down for a couple of weeks, reinstalling with country code worked perfect.
OzGav
(Oz Gav)
January 13, 2022, 10:23am
18
I contacted co2signal just to ask what had happened and apparently there was a bug that is now fixed so you can try the home location again and hopefully it will work!
Thanks. I don’t understand the way the non-fossil power is being calculated or summed.
If I look at today it says 0.5kWh of the 18.9kWh from the grid is non-fossil. It seems to be a similar value each day. And it’s too low. Our grid ain’t exactly green but it’s not that bad.
But what’s weirder is if I look at weekly and monthly energy summaries the non-fossil contribution makes no sense.
The current week total (5 of 7 days so far) is 1.1kWh non-fossil while the month to date summary says only 0.5kWh is non-fossil.
Yet the daily numbers this week are:
10 Jan 1.1 kWh
11 Jan 1.0 kWh
12 Jan 0.8 kWh
13 Jan 0.5 kWh
14 Jan 0.5 kWh
The numbers just make no sense.
Seems to have happened again.
My sensors are shown as unavailable in Germany since yesterday.
Anybody else?