Comments (7)
Check the new release, Philip pushed a fix
from dirigera_platform.
Thanks for the update.
Good news is that the door window sensor updates are working now.
Unfortunately the light entity still doesn’t get updates. See logging for a light entity at the top of this post.
The async_schedule… function is raising a error.
from dirigera_platform.
My apologies William for the mix-up. So even the async_schedule is raising an exception?
from dirigera_platform.
Hello Sanjoy,
No problem.
Yes the async_schedule is raising exception for light entity.
I’m not familiar with the code but I tried to do some debugging.
The door/window sensor is calling the async_schedule_update_ha_state routine from the base_classes module. This is working fine now.
However the light entity calls a different async_schedule_update_ha_state routine, I assume the one from HA entity class, which causes an exception.
For debugging I created a workaround in module hub_event_listener line 112. This is working fine, and also the brightness issue seems to be solved as well. I could only test with light and door/window sensors.
Hope you can use the workaround:
from dirigera_platform.
Do try the latest release
from dirigera_platform.
Just updated to 1.7.7, with the latest HA release and I am still having the status not updating issue.
Once a light is turned on in HA, the status will change to on, but will not change to off, even though the light will switch off.
Additionally, since the status in HA for the light is "stuck" at on, HA will turn the light back on after a few minutes.
Below is the JSON log output:
2024-06-01 08:20:03.204 INFO (SyncWorker_8) [custom_components.dirigera_platform] --------------
2024-06-01 08:20:03.506 INFO (SyncWorker_8) [custom_components.dirigera_platform] [{'id': 'dcddda9b-41b3-47de-9b4c-80f40222deb8_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-05-23T15:35:12.000Z', 'isReachable': True, 'lastSeen': '2024-05-31T23:56:18.000Z', 'attributes': {'customName': 'Countertop Sink', 'model': 'TRADFRI Driver 30W', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.4', 'hardwareVersion': '1', 'serialNumber': 'A49E69FFFE011F1D', 'productCode': 'ICPSLC2430NAIL2', 'isOn': False, 'startupOnOff': 'startOn', 'lightLevel': 1, 'startUpCurrentLevel': -1, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'identifyPeriod': 0, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'isOn', 'lightLevel']}, 'room': {'id': '481ec555-5359-4204-8f0a-006651c071d7', 'name': 'Kitchen', 'color': 'ikea_blue_no_58', 'icon': 'rooms_kitchen'}, 'deviceSet': [], 'remoteLinks': ['161f0c7d-cedb-42b4-953b-7ea8de9bacc7_1'], 'isHidden': False}, {'id': '6c28c5a9-4777-49e2-ba9f-fcb40c4349d3_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-05-23T15:08:14.000Z', 'isReachable': True, 'lastSeen': '2024-05-31T23:56:19.000Z', 'attributes': {'customName': 'Countertop Cooktop', 'model': 'TRADFRI Driver 30W', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.4', 'hardwareVersion': '1', 'serialNumber': '385CFBFFFEE892C9', 'productCode': 'ICPSLC2430NAIL2', 'isOn': False, 'startupOnOff': 'startOn', 'lightLevel': 1, 'startUpCurrentLevel': -1, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'identifyPeriod': 0, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'isOn', 'lightLevel']}, 'room': {'id': '481ec555-5359-4204-8f0a-006651c071d7', 'name': 'Kitchen', 'color': 'ikea_blue_no_58', 'icon': 'rooms_kitchen'}, 'deviceSet': [], 'remoteLinks': ['161f0c7d-cedb-42b4-953b-7ea8de9bacc7_1'], 'isHidden': False}, {'id': 'a50306b0-0450-4dcc-b210-c132aa180bc1_1', 'relationId': 'a50306b0-0450-4dcc-b210-c132aa180bc1', 'type': 'gateway', 'deviceType': 'gateway', 'createdAt': '2023-03-20T19:41:08.544Z', 'isReachable': True, 'lastSeen': '2024-06-01T13:20:00.800Z', 'attributes': {'customName': 'Home', 'model': 'DIRIGERA Hub for smart products', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.588.0', 'hardwareVersion': 'P2.5', 'serialNumber': 'a50306b0-0450-4dcc-b210-c132aa180bc1', 'identifyStarted': '2024-05-30T08:07:37.000Z', 'identifyPeriod': 65534, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoDownload', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00', 'permittingJoin': False, 'backendConnected': False, 'backendConnectionPersistent': False, 'backendOnboardingComplete': True, 'backendRegion': 'us-east-1', 'backendCountryCode': 'US', 'userConsents': [{'name': 'analytics', 'value': 'disabled'}, {'name': 'diagnostics', 'value': 'enabled'}], 'logLevel': 3, 'coredump': False, 'timezone': 'America/Chicago', 'nextSunSet': None, 'nextSunRise': None, 'homestate': 'home', 'countryCode': 'XZ', 'isOn': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'permittingJoin', 'userConsents', 'logLevel', 'time', 'timezone', 'countryCode', 'coordinates']}, 'deviceSet': [], 'remoteLinks': []}, {'id': '30fb4fc2-e9dd-4af9-ad48-2c3fc3b7c722_1', 'type': 'controller', 'deviceType': 'lightController', 'createdAt': '2024-05-28T07:17:59.000Z', 'isReachable': True, 'lastSeen': '2024-06-01T12:13:29.000Z', 'attributes': {'customName': 'MB Right Nightstand', 'model': 'Remote Control N2', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.4.11', 'hardwareVersion': '1', 'serialNumber': '003C84FFFE2EF59F', 'productCode': 'E2001', 'batteryPercentage': 100, 'isOn': False, 'lightLevel': 1, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00', 'circadianPresets': []}, 'capabilities': {'canSend': ['isOn', 'lightLevel'], 'canReceive': ['customName']}, 'room': {'id': '3af9917c-222e-4414-9f1b-7fe36f98f85b', 'name': 'Master Bedroom', 'color': 'ikea_beige_1', 'icon': 'rooms_bed'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '57de7071-72c7-4b16-bc7d-41e6d345df4b_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2023-10-08T12:29:46.000Z', 'isReachable': True, 'lastSeen': '2024-05-31T20:51:14.000Z', 'customIcon': 'lighting_table_lamp', 'attributes': {'customName': 'MB Right Nightstand', 'model': 'TRADFRIbulbE12WSglobeopal470lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.012', 'hardwareVersion': '1', 'serialNumber': '943469FFFEB77175', 'productCode': 'LED2002G5NA', 'isOn': False, 'startupOnOff': 'startOn', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'colorTemperature': 2202, 'colorTemperatureMin': 4000, 'colorTemperatureMax': 2202, 'startupTemperature': -1, 'colorMode': 'temperature', 'identifyStarted': '2000-01-01T00:00:00.000Z', 'identifyPeriod': 0, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'isOn', 'lightLevel', 'colorTemperature']}, 'room': {'id': '3af9917c-222e-4414-9f1b-7fe36f98f85b', 'name': 'Master Bedroom', 'color': 'ikea_beige_1', 'icon': 'rooms_bed'}, 'deviceSet': [], 'remoteLinks': ['30fb4fc2-e9dd-4af9-ad48-2c3fc3b7c722_1'], 'isHidden': False}, {'id': '63fb3e1f-263a-4442-8d1c-75925e93da6c_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-05-23T15:07:51.000Z', 'isReachable': True, 'lastSeen': '2024-05-31T23:56:18.000Z', 'attributes': {'customName': 'Countertop', 'model': 'TRADFRI Driver 30W', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.4', 'hardwareVersion': '1', 'serialNumber': 'A49E69FFFE0120B4', 'productCode': 'ICPSLC2430NAIL2', 'isOn': False, 'startupOnOff': 'startOn', 'lightLevel': 1, 'startUpCurrentLevel': -1, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'identifyPeriod': 0, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'isOn', 'lightLevel']}, 'room': {'id': '481ec555-5359-4204-8f0a-006651c071d7', 'name': 'Kitchen', 'color': 'ikea_blue_no_58', 'icon': 'rooms_kitchen'}, 'deviceSet': [], 'remoteLinks': ['161f0c7d-cedb-42b4-953b-7ea8de9bacc7_1'], 'isHidden': False}, {'id': '8cd4d8df-3820-4a4a-b62c-0ee30d291260_1', 'type': 'controller', 'deviceType': 'lightController', 'createdAt': '2024-05-27T21:20:00.000Z', 'isReachable': True, 'lastSeen': '2024-06-01T02:10:38.000Z', 'attributes': {'customName': 'MB Left Nightstand', 'model': 'Remote Control N2', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.4.11', 'hardwareVersion': '1', 'serialNumber': '84BA20FFFE6B3563', 'productCode': 'E2001', 'batteryPercentage': 100, 'isOn': False, 'lightLevel': 1, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00', 'circadianPresets': []}, 'capabilities': {'canSend': ['isOn', 'lightLevel'], 'canReceive': ['customName']}, 'room': {'id': '3af9917c-222e-4414-9f1b-7fe36f98f85b', 'name': 'Master Bedroom', 'color': 'ikea_beige_1', 'icon': 'rooms_bed'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'a946dd27-efa4-49a2-ac63-e6c98b74d2ff_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2023-08-28T08:26:13.000Z', 'isReachable': True, 'lastSeen': '2024-06-01T08:18:37.000Z', 'customIcon': 'lighting_table_lamp', 'attributes': {'customName': 'MB Left Nightstand', 'model': 'TRADFRIbulbE12WSglobeopal470lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.012', 'hardwareVersion': '1', 'serialNumber': '943469FFFEACD807', 'productCode': 'LED2002G5NA', 'isOn': True, 'startupOnOff': 'startOn', 'lightLevel': 1, 'startUpCurrentLevel': -1, 'colorTemperature': 3937, 'colorTemperatureMin': 4000, 'colorTemperatureMax': 2202, 'startupTemperature': -1, 'colorMode': 'temperature', 'identifyStarted': '2000-01-01T00:00:00.000Z', 'identifyPeriod': 0, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'isOn', 'lightLevel', 'colorTemperature']}, 'room': {'id': '3af9917c-222e-4414-9f1b-7fe36f98f85b', 'name': 'Master Bedroom', 'color': 'ikea_beige_1', 'icon': 'rooms_bed'}, 'deviceSet': [], 'remoteLinks': ['8cd4d8df-3820-4a4a-b62c-0ee30d291260_1'], 'isHidden': False}, {'id': '161f0c7d-cedb-42b4-953b-7ea8de9bacc7_1', 'type': 'controller', 'deviceType': 'lightController', 'createdAt': '2023-09-01T09:20:49.000Z', 'isReachable': True, 'lastSeen': '2024-06-01T00:49:52.000Z', 'attributes': {'customName': 'Countertop Lights', 'model': 'TRADFRI remote control', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '24.4.5', 'hardwareVersion': '1', 'serialNumber': '04CD15FFFE8B2B8C', 'productCode': 'E1810', 'batteryPercentage': 20, 'isOn': False, 'lightLevel': 1, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00', 'circadianPresets': []}, 'capabilities': {'canSend': ['isOn', 'lightLevel'], 'canReceive': ['customName']}, 'room': {'id': '481ec555-5359-4204-8f0a-006651c071d7', 'name': 'Kitchen', 'color': 'ikea_blue_no_58', 'icon': 'rooms_kitchen'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '393be306-d85b-47a0-84da-25036c0118f4_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-05-23T15:35:34.000Z', 'isReachable': True, 'lastSeen': '2024-06-01T06:11:51.000Z', 'attributes': {'customName': 'Countertop Bar', 'model': 'TRADFRI Driver 30W', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.4', 'hardwareVersion': '1', 'serialNumber': 'A49E69FFFE012314', 'productCode': 'ICPSLC2430NAIL2', 'isOn': False, 'startupOnOff': 'startOn', 'lightLevel': 1, 'startUpCurrentLevel': -1, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'identifyPeriod': 0, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'isOn', 'lightLevel']}, 'room': {'id': '481ec555-5359-4204-8f0a-006651c071d7', 'name': 'Kitchen', 'color': 'ikea_blue_no_58', 'icon': 'rooms_kitchen'}, 'deviceSet': [], 'remoteLinks': ['161f0c7d-cedb-42b4-953b-7ea8de9bacc7_1'], 'isHidden': False}]
2024-06-01 08:20:03.507 INFO (SyncWorker_8) [custom_components.dirigera_platform] --------------
2024-06-01 08:20:03.507 INFO (SyncWorker_8) [custom_components.dirigera_platform] === END Devices JSON ===
Edit: Rolling back to 1.7.4 fixes the issue for me.
from dirigera_platform.
Thank you for testing it out. Do enable debug for the integration and paste the DEBUG logs when this issue occurs that way I can figure what is going on
from dirigera_platform.
Related Issues (20)
- JSON Dump of STARKVIND Table air purifier HOT 4
- How to use Remote Controllers in HA? HOT 17
- Duplicate SOMRIG devices created during import HOT 8
- Devices managed in _sets_ in Ikea Home Smart are unnamed HOT 28
- 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
- Vindstyrka Enviroment Sensor broken HOT 17
- 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 26
- Light status updates are very slow (e.g. when changing brightness) HOT 22
- Error installing HOT 1
- Name of reposetory ? HOT 4
- issue with update of lights since last version 1.7.6 and 1.7.5 HOT 10
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.