Great job! Works like a charm
Very happy to find this post … but for some reason this is not coming up in HACS. Am I missing out on a step to add or find this in HACS?
It is a custom repo:
Daniel thanks for the hard work. I have been using this for some months with no issues. However a couple of days ago I see the below. I have checked my account on airthings and I can log in fine.
Logger: homeassistant.loader
Source: loader.py:465
First occurred: January 19, 2021, 3:20:39 PM (1 occurrences)
Last logged: January 19, 2021, 3:20:39 PM
You are using a custom integration for airthings_cloud which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
Logger: custom_components.airthings_cloud.sensor
Source: custom_components/airthings_cloud/sensor.py:241
Integration: airthings_cloud (documentation, issues)
First occurred: January 19, 2021, 6:20:47 PM (48 occurrences)
Last logged: 10:01:08 AM
Error connecting to Airthings, resp code: 401 Unauthorized
So you do not get any updates?
It works fine here
Sorry yes I see that it is updating. I guess it only updates at certain intervals and what was throwing me off was the error and when I seen the values on the app they were different from HA. This morning I see that HA has the same values as the app. Thanks again
Before I purchase any hardware, is this still working for people on the latest HA on a non-Pi?
Quick question from a new Wave Plus owner. I’ve installed the Airthings Cloud from @Danielhiversen, however I’m not sure, in order for the values to update, do I need to log into the app and sync or does the Airthings sync with the cloud directly?
Hi, I interrogate the device directly negating the need for the cloud. I use this custom component: GitHub - custom-components/sensor.airthings_wave: hassio support for Airthings Wave BLE environmental radon sensor.
This integration was working great but after my upgrade Core to 2021.5.5 the entities do not show up. I tried to re-install but the below error persists. Any help would be greatly appreciated
Logger: homeassistant.components.sensor
Source: custom_components/airthings_cloud/sensor.py:242
Integration: Sensor (documentation, issues)
First occurred: 10:41:23 AM (1 occurrences)
Last logged: 10:41:23 AM
Error while setting up airthings_cloud platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 231, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/airthings_cloud/sensor.py", line 61, in async_setup_platform
if not await airthings_data.update_data():
File "/config/custom_components/airthings_cloud/sensor.py", line 242, in update_data
resp = await self._session.get(
File "/usr/local/lib/python3.8/site-packages/aiohttp/client.py", line 542, in _request
resp = await req.send(conn)
File "/usr/local/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 668, in send
await writer.write_headers(status_line, self.headers)
File "/usr/local/lib/python3.8/site-packages/aiohttp/http_writer.py", line 118, in write_headers
buf = _serialize_headers(status_line, headers)
File "aiohttp/_http_writer.pyx", line 137, in aiohttp._http_writer._serialize_headers
File "aiohttp/_http_writer.pyx", line 109, in aiohttp._http_writer.to_str
TypeError: Cannot serialize non-str key None
Hello, I purchased a Wave Plus last week and have it correctly working in their app. I put the sensor next to my rPi4 with Home Assistant, installed the custom component via HACS (+configuration.yaml) but nothing appears to get found or added.
Do I need to do something to activate bluetooth (see you are using bluepy) or is that taken care of by the integration already?
Seems these HA guys are changing the component interface so often that it’s impossible to keep up.
My advice is starting to be create every component as MQTT component so you don’t have to update your component every time HA gods decide “NULL_VALUE” should actually be “Null_Value”.