Comments (17)
Hi,
I have 5 of those, and have no similar issue:
Just did an update on the integration as per @sanjoyg 's launch ... (Many Many Thanks BTW!)
from dirigera_platform.
mhhh weird. I just reinstalled the addon and suddenly it works.
Before that I tried restarting HA several times without success...
from dirigera_platform.
Nah, same thing, worked for like 1 minute and then same logs as above
from dirigera_platform.
I reloaded the integration after update (which need the restart anyway) ... that's it ... All devices work as they were ...
from dirigera_platform.
Still getting the issue?
from dirigera_platform.
yep, it gets the first values when initializing i guess and then the errors in logs occure. I have the same firmware as @vulcanoid1975. The device itself is okay, it works in Ikea Home Smart app
from dirigera_platform.
The logs show these errors:
This error originated from a custom integration.
Logger: custom_components.dirigera_platform
Source: custom_components/dirigera_platform/sensor.py:99
integration: IKEA Dirigera Hub Integration (documentation, issues)
First occurred: 7:13:01 PM (150 occurrences)
Last logged: 7:15:01 PM
and:
'ikea_vindstyrka_device' object has no attribute 'hass'
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:951
First occurred: 7:13:01 PM (150 occurrences)
Last logged: 7:15:01 PMUpdate for sensor.sensor_office_humidity fails
Update for sensor.sensor_office_current_pm2_5 fails
Update for sensor.sensor_office_max_measured_pm2_5 fails
Update for sensor.sensor_office_min_measured_pm2_5 fails
Update for sensor.sensor_office_voc_index fails
Traceback (most recent call last):
File "/config/custom_components/dirigera_platform/sensor.py", line 93, in async_update
self._json_data = await self.hass.async_add_executor_job(self._hub.get_environment_sensor_by_id, self._json_data.id)
^^^^^^^^^
AttributeError: 'ikea_vindstyrka_device' object has no attribute 'hass'During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 951, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1268, in async_device_update
await self.async_update()
File "/config/custom_components/dirigera_platform/sensor.py", line 175, in async_update
await self._ikea_env_device.async_update()
File "/config/custom_components/dirigera_platform/sensor.py", line 100, in async_update
raise HomeAssistantError(ex, DOMAIN, "hub_exception")
homeassistant.exceptions.HomeAssistantError: (AttributeError("'ikea_vindstyrka_device' object has no attribute 'hass'"), 'dirigera_platform', 'hub_exception')
But everything is working ... specifically with the devices reporting the error (Office):
from dirigera_platform.
Let me check this
from dirigera_platform.
Just to confirm @acces90 report:
The sensors are not updating ...
@acces90 sorry my post was misleading, it seems the sensors only update after a reboot or reload of the integration.
Just reloaded the integration and:
from dirigera_platform.
This is fixed, there was a code bug. Was introduced during the async implementation. @acces90 do check and let know please
from dirigera_platform.
there are no errors in logs appearing and in the logs I see that it pulls the actual values of my sensors (both environment sensor and the pm25 from air purifier) but those values are not updated for the entities. I'm positive it's not my HA because my other non-IKEA sensors update their values.
from dirigera_platform.
from dirigera_platform.
It seems the changes in the sensor is not pushed to hub thus to the component. Reverted to local polling, should work now please let know
from dirigera_platform.
While you check this, could you also test the motion sensor if that works
from dirigera_platform.
Good Morning,
Installed the update 10 mins ago, and sensors have updated with changes to environment conditions accordingly. Logs are clean, no errors.
I don't have motion sensors from Ikea, but I was going to buy one, I'll report back probably today.
Thank You @sanjoyg!
from dirigera_platform.
Perfect, please do let me know once you can check with motion sensor. Closing this for now.
from dirigera_platform.
I had moved the Sensor in the Bathroom and Kitchen to ZigbeetoMQTT and maintained the Sensors in the Office and Bedroom on Dirigera ... updates are further in between but that's already what happened before ...
Again, Thank you!
from dirigera_platform.
Related Issues (20)
- Vallhorn motion sensor always reported as "clear" HOT 5
- Trigger scenes HOT 7
- Issues since 1.4.2 HOT 8
- 1.4.1 - set support -no lights included in the set HOT 13
- Badring watersensor HOT 11
- Non-IKEA sensors support? HOT 4
- Parasoll slow response HOT 9
- TRADFRI motion sensor HOT 9
- Not full spectrum of color temp of smart bulbs HOT 7
- Show battery level in device list HOT 37
- Light status updates are very slow (e.g. when changing brightness) HOT 23
- Error installing HOT 1
- HA status not updated HOT 10
- Name of reposetory ? HOT 4
- issue with update of lights since last version 1.7.6 and 1.7.5 HOT 13
- Rodret Wireless Dimmer HOT 2
- Doorsensor event propagation no longer instant HOT 3
- Dirigera HUB connection lost after update / reboot of HomeAutomation HOT 1
- New devices: door sensor (PARASOLL) & Water Leak sensor (BADRING) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dirigera_platform.