Giter Club home page Giter Club logo

Comments (17)

vulcanoid1975 avatar vulcanoid1975 commented on June 12, 2024

Hi,

I have 5 of those, and have no similar issue:
image

image

Just did an update on the integration as per @sanjoyg 's launch ... (Many Many Thanks BTW!)

from dirigera_platform.

acces90 avatar acces90 commented on June 12, 2024

mhhh weird. I just reinstalled the addon and suddenly it works.

Before that I tried restarting HA several times without success...

from dirigera_platform.

acces90 avatar acces90 commented on June 12, 2024

Nah, same thing, worked for like 1 minute and then same logs as above

from dirigera_platform.

vulcanoid1975 avatar vulcanoid1975 commented on June 12, 2024

I reloaded the integration after update (which need the restart anyway) ... that's it ... All devices work as they were ...

from dirigera_platform.

sanjoyg avatar sanjoyg commented on June 12, 2024

Still getting the issue?

from dirigera_platform.

acces90 avatar acces90 commented on June 12, 2024

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.

vulcanoid1975 avatar vulcanoid1975 commented on June 12, 2024

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 PM

Update 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):

image

image

from dirigera_platform.

sanjoyg avatar sanjoyg commented on June 12, 2024

Let me check this

from dirigera_platform.

vulcanoid1975 avatar vulcanoid1975 commented on June 12, 2024

Just to confirm @acces90 report:

image

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:

image

from dirigera_platform.

sanjoyg avatar sanjoyg commented on June 12, 2024

This is fixed, there was a code bug. Was introduced during the async implementation. @acces90 do check and let know please

from dirigera_platform.

acces90 avatar acces90 commented on June 12, 2024

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.

vulcanoid1975 avatar vulcanoid1975 commented on June 12, 2024

I'll second that ...
image
image

from dirigera_platform.

sanjoyg avatar sanjoyg commented on June 12, 2024

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.

sanjoyg avatar sanjoyg commented on June 12, 2024

While you check this, could you also test the motion sensor if that works

from dirigera_platform.

vulcanoid1975 avatar vulcanoid1975 commented on June 12, 2024

Good Morning,

It seems to be working now:
image
image
image

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.

sanjoyg avatar sanjoyg commented on June 12, 2024

Perfect, please do let me know once you can check with motion sensor. Closing this for now.

from dirigera_platform.

vulcanoid1975 avatar vulcanoid1975 commented on June 12, 2024

Just for confirmation:
image

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.