sanjoyg / dirigera_platform

HomeAssistant Integration for Dirigera Platform
MIT License
71 stars 8 forks source link

1.4.1 - set support -no lights included in the set #30

Closed oat1 closed 2 months ago

oat1 commented 2 months ago

I have a set ( chandelier) that consists of 4 Ikea bulbs. Since this version, I can see it now in HA.

But unfortunately, the bulbs that are part of this set disappeared from HA and I cannot control them separately

Is it possible to expose both, the set and the light which are part of the set ? And control them separately?

dump json

2024-04-12 17:01:09.972 INFO (SyncWorker_27) [custom_components.dirigera_platform] === START Devices JSON === 2024-04-12 17:01:09.972 INFO (SyncWorker_27) [custom_components.dirigera_platform] -------------- 2024-04-12 17:01:10.261 INFO (SyncWorker_27) [custom_components.dirigera_platform] [{'id': 'd613d6b7-098e-4bdd-adff-16cc16aaf161_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-03-05T18:42:33.000Z', 'isReachable': False, 'lastSeen': '2024-04-12T16:53:53.000Z', 'attributes': {'customName': 'Światło 4', 'model': 'TRADFRI bulb E27 WS opal 1000lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.3.095', 'hardwareVersion': '1', 'serialNumber': '680AE2FFFE11D61A', 'productCode': 'LED1732G11E27', 'isOn': True, 'startupOnOff': 'startOn', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'colorTemperature': 4000, 'colorTemperatureMin': 4000, 'colorTemperatureMax': 2202, 'startupTemperature': -1, 'colorMode': 'temperature', 'identifyStarted': '2024-03-05T18:43:58.000Z', 'identifyPeriod': 15, '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': 'da936cc0-f77b-48b6-83b5-7809a394f5d7', 'name': 'Salon', 'color': 'ikea_blue_no_63', 'icon': 'rooms_sofa'}, 'deviceSet': [{'id': '12f5e91a-bcb2-4dfb-841a-ba093c0a9e64', 'name': 'Żyrandol Salon', 'icon': 'lighting_chandelier'}], 'remoteLinks': [], 'isHidden': False}, {'id': 'b4a1385d-c3ac-491c-bde4-6b81733a0d47_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-03-05T19:00:31.000Z', 'isReachable': False, 'lastSeen': '2024-04-12T16:52:06.000Z', 'attributes': {'customName': 'Światło 5', 'model': 'TRADFRIbulbGU10WS345lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.012', 'hardwareVersion': '1', 'serialNumber': '9035EAFFFE30B3B8', 'productCode': 'LED2005R5', 'isOn': True, 'startupOnOff': 'startOn', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'colorTemperature': 3717, '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': '51349cda-556c-4d2c-a0f0-983a06699b84', 'name': 'Julia', 'color': 'ikea_pink_no_8', 'icon': 'rooms_play_area'}, 'deviceSet': [], 'remoteLinks': ['45a42119-2f56-4326-8b80-907af9b064f4_1'], 'isHidden': False}, {'id': '085bd163-c0b0-40a4-bb31-8091328d6ce3_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-03-05T18:42:30.000Z', 'isReachable': False, 'lastSeen': '2024-04-12T16:53:53.000Z', 'attributes': {'customName': 'Światło 2', 'model': 'TRADFRI bulb E27 WS opal 1000lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.3.095', 'hardwareVersion': '1', 'serialNumber': 'CCCCCCFFFE3C7738', 'productCode': 'LED1732G11E27', 'isOn': True, 'startupOnOff': 'startOn', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'colorTemperature': 4000, 'colorTemperatureMin': 4000, 'colorTemperatureMax': 2202, 'startupTemperature': -1, 'colorMode': 'temperature', 'identifyStarted': '2024-03-05T18:43:58.000Z', 'identifyPeriod': 15, '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': 'da936cc0-f77b-48b6-83b5-7809a394f5d7', 'name': 'Salon', 'color': 'ikea_blue_no_63', 'icon': 'rooms_sofa'}, 'deviceSet': [{'id': '12f5e91a-bcb2-4dfb-841a-ba093c0a9e64', 'name': 'Żyrandol Salon', 'icon': 'lighting_chandelier'}], 'remoteLinks': [], 'isHidden': False}, {'id': '33ce7f5e-e0f2-4f0a-9e7f-f77a805382a2_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-03-05T19:00:35.000Z', 'isReachable': False, 'lastSeen': '2024-04-12T16:51:58.000Z', 'attributes': {'customName': 'Światło 7', 'model': 'TRADFRI bulb GU10 WS 400lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.3.095', 'hardwareVersion': '1', 'serialNumber': 'EC1BBDFFFE467F3F', 'productCode': 'LED1737R5GU10', 'isOn': True, 'startupOnOff': 'startOn', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'colorTemperature': 3703, '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': '51349cda-556c-4d2c-a0f0-983a06699b84', 'name': 'Julia', 'color': 'ikea_pink_no_8', 'icon': 'rooms_play_area'}, 'deviceSet': [], 'remoteLinks': ['45a42119-2f56-4326-8b80-907af9b064f4_1'], 'isHidden': False}, {'id': '36fee6ac-4395-44c2-acac-a0ef7a2c9cc0_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-03-05T18:42:22.000Z', 'isReachable': False, 'lastSeen': '2024-04-12T16:53:51.000Z', 'attributes': {'customName': 'Światło 1', 'model': 'TRADFRI bulb E27 WS opal 1000lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.3.095', 'hardwareVersion': '1', 'serialNumber': '000D6FFFFE5ADEE7', 'productCode': 'LED1732G11E27', 'isOn': True, 'startupOnOff': 'startOn', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'colorTemperature': 4000, 'colorTemperatureMin': 4000, 'colorTemperatureMax': 2202, 'startupTemperature': -1, 'colorMode': 'temperature', 'identifyStarted': '2024-03-05T18:43:58.000Z', 'identifyPeriod': 15, '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': 'da936cc0-f77b-48b6-83b5-7809a394f5d7', 'name': 'Salon', 'color': 'ikea_blue_no_63', 'icon': 'rooms_sofa'}, 'deviceSet': [{'id': '12f5e91a-bcb2-4dfb-841a-ba093c0a9e64', 'name': 'Żyrandol Salon', 'icon': 'lighting_chandelier'}], 'remoteLinks': [], 'isHidden': False}, {'id': '678aacf3-ceb1-46b4-8938-eb16634d25d6_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-03-05T19:00:31.000Z', 'isReachable': False, 'lastSeen': '2024-04-12T16:52:05.000Z', 'attributes': {'customName': 'Światło 6', 'model': 'TRADFRI bulb GU10 WS 400lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.3.095', 'hardwareVersion': '1', 'serialNumber': 'CCCCCCFFFEDDF64C', 'productCode': 'LED1737R5GU10', 'isOn': True, 'startupOnOff': 'startOn', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'colorTemperature': 3703, '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': '51349cda-556c-4d2c-a0f0-983a06699b84', 'name': 'Julia', 'color': 'ikea_pink_no_8', 'icon': 'rooms_play_area'}, 'deviceSet': [], 'remoteLinks': ['45a42119-2f56-4326-8b80-907af9b064f4_1'], 'isHidden': False}, {'id': 'd9572831-60bc-4e89-8f03-2a3a3a24be31_1', 'relationId': 'd9572831-60bc-4e89-8f03-2a3a3a24be31', 'type': 'gateway', 'deviceType': 'gateway', 'createdAt': '2023-12-15T15:44:20.614Z', 'isReachable': True, 'lastSeen': '2024-04-12T15:01:00.445Z', 'attributes': {'customName': 'Dom', 'model': 'DIRIGERA Hub for smart products', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.556.0', 'hardwareVersion': 'P2.5', 'serialNumber': 'd9572831-60bc-4e89-8f03-2a3a3a24be31', 'identifyStarted': '2000-01-01T00:00:00.000Z', 'identifyPeriod': 0, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoDownload', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00', 'permittingJoin': False, 'backendConnected': True, 'backendConnectionPersistent': True, 'backendOnboardingComplete': True, 'backendRegion': 'eu-central-1', 'backendCountryCode': 'PL', 'userConsents': [{'name': 'analytics', 'value': 'enabled'}, {'name': 'diagnostics', 'value': 'enabled'}], 'logLevel': 3, 'coredump': False, 'timezone': 'Europe/Warsaw', 'nextSunSet': '2024-04-12T17:29:00.000Z', 'nextSunRise': '2024-04-13T03:43:00.000Z', 'homestate': 'home', 'countryCode': 'XZ', 'coordinates': {'latitude': 52.306306306306304, 'longitude': 20.98133894019359, 'accuracy': -1}, 'isOn': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'permittingJoin', 'userConsents', 'logLevel', 'time', 'timezone', 'countryCode', 'coordinates']}, 'deviceSet': [], 'remoteLinks': []}, {'id': '45a42119-2f56-4326-8b80-907af9b064f4_1', 'type': 'controller', 'deviceType': 'lightController', 'createdAt': '2024-03-05T19:03:05.000Z', 'isReachable': True, 'lastSeen': '2024-04-12T13:02:11.000Z', 'attributes': {'customName': 'Pilot Julia', 'model': 'TRADFRI remote control', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '24.4.5', 'hardwareVersion': '1', 'serialNumber': 'EC1BBDFFFE8C6358', 'productCode': 'E1810', 'batteryPercentage': 50, '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': '51349cda-556c-4d2c-a0f0-983a06699b84', 'name': 'Julia', 'color': 'ikea_pink_no_8', 'icon': 'rooms_play_area'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'c8c88287-41d6-407a-b087-fcea6f3b0332_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-03-05T18:42:31.000Z', 'isReachable': False, 'lastSeen': '2024-04-12T16:53:34.000Z', 'attributes': {'customName': 'Światło 3', 'model': 'TRADFRI bulb E27 WS opal 1000lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.3.095', 'hardwareVersion': '1', 'serialNumber': 'CCCCCCFFFE3C7DEA', 'productCode': 'LED1732G11E27', 'isOn': True, 'startupOnOff': 'startOn', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'colorTemperature': 4000, 'colorTemperatureMin': 4000, 'colorTemperatureMax': 2202, 'startupTemperature': -1, 'colorMode': 'temperature', 'identifyStarted': '2024-03-05T18:43:58.000Z', 'identifyPeriod': 15, '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': 'da936cc0-f77b-48b6-83b5-7809a394f5d7', 'name': 'Salon', 'color': 'ikea_blue_no_63', 'icon': 'rooms_sofa'}, 'deviceSet': [{'id': '12f5e91a-bcb2-4dfb-841a-ba093c0a9e64', 'name': 'Żyrandol Salon', 'icon': 'lighting_chandelier'}], 'remoteLinks': [], 'isHidden': False}] 2024-04-12 17:01:10.262 INFO (SyncWorker_27) [custom_components.dirigera_platform] -------------- 2024-04-12 17:01:10.262 INFO (SyncWorker_27) [custom_components.dirigera_platform] === END Devices JSON ===

sanjoyg commented 2 months ago

I tried with your JSON, was able to add three lights/bulbs and one device_set and one remote controller

Screenshot 2024-04-12 at 10 42 38 PM

I could expose the bulbs individually as well.. will try and add it as a config input. However do refer to this thread on discussion around device set [https://github.com/sanjoyg/dirigera_platform/issues/25#issuecomment-2032728669]

However do let me know outside of not exposing individual bulbs if you are facing any other issue.

oat1 commented 2 months ago

@sanjoyg Oh Sorry I expressed myself imprecisely. I also see individual lights but they are always off and not responding, even when in reality they are on ( set's reporting correctly) Look below

image

And when I go into one of the lights HA tells me image

I do not have any additional issues anymore.

oat1 commented 2 months ago

Oh I found one, from dirigera but I do not know if it is correlated

`Ten błąd pochodzi z niestandardowej integracji.

Rejestrator: custom_components.dirigera_platform Źródło: custom_components/dirigera_platform/hub_event_listener.py:54 integracja: IKEA Dirigera Hub Integration (dokumentacja, Problemy) Pierwsze zdarzenie: 19:29:59 (1 zdarzenia) Ostatnio zalogowany: 19:29:59

discarding message as device for id: d9572831-60bc-4e89-8f03-2a3a3a24be31_1 not found for msg: {'id': '452441f5-33c4-4f0d-b35a-197a26bf26f0', 'time': '2024-04-12T17:30:00.201Z', 'specversion': '3.150.0', 'source': 'urn:com:ikea:homesmart:iotc:timeservice', 'type': 'deviceStateChanged', 'data': {'id': 'd9572831-60bc-4e89-8f03-2a3a3a24be31_1', 'type': 'gateway', 'deviceType': 'gateway', 'lastSeen': '2024-04-12T17:30:00.200Z', 'attributes': {'nextSunSet': '2024-04-13T17:31:00.000Z', 'nextSunRise': '2024-04-13T03:43:00.000Z'}, 'remoteLinks': []}}`

and one from HA

`Rejestrator: homeassistant.helpers.service Źródło: helpers/service.py:275 Pierwsze zdarzenie: 19:37:24 (4 zdarzenia) Ostatnio zalogowany: 19:37:24

Referenced entities light.swiatlo_1 are missing or not currently available Referenced entities light.swiatlo_2 are missing or not currently available Referenced entities light.swiatlo_3 are missing or not currently available Referenced entities light.swiatlo_4 are missing or not currently available`

oat1 commented 2 months ago

I've deleted and readded the integration and now I only have this devices image

actual json

2024-04-12 19:55:48.020 INFO (SyncWorker_36) [custom_components.dirigera_platform] === START Devices JSON === 2024-04-12 19:55:48.020 INFO (SyncWorker_36) [custom_components.dirigera_platform] -------------- 2024-04-12 19:55:48.273 INFO (SyncWorker_36) [custom_components.dirigera_platform] [{'id': 'd613d6b7-098e-4bdd-adff-16cc16aaf161_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-03-05T18:42:33.000Z', 'isReachable': False, 'lastSeen': '2024-04-12T19:52:56.000Z', 'attributes': {'customName': 'Światło 4', 'model': 'TRADFRI bulb E27 WS opal 1000lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.3.095', 'hardwareVersion': '1', 'serialNumber': '680AE2FFFE11D61A', 'productCode': 'LED1732G11E27', 'isOn': True, 'startupOnOff': 'startOn', 'lightLevel': 93, 'startUpCurrentLevel': -1, 'colorTemperature': 3205, 'colorTemperatureMin': 4000, 'colorTemperatureMax': 2202, 'startupTemperature': -1, 'colorMode': 'temperature', 'identifyStarted': '2024-03-05T18:43:58.000Z', 'identifyPeriod': 15, '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': 'da936cc0-f77b-48b6-83b5-7809a394f5d7', 'name': 'Salon', 'color': 'ikea_blue_no_63', 'icon': 'rooms_sofa'}, 'deviceSet': [{'id': '12f5e91a-bcb2-4dfb-841a-ba093c0a9e64', 'name': 'Żyrandol Salon', 'icon': 'lighting_chandelier'}], 'remoteLinks': [], 'isHidden': False}, {'id': 'b4a1385d-c3ac-491c-bde4-6b81733a0d47_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-03-05T19:00:31.000Z', 'isReachable': True, 'lastSeen': '2024-04-12T17:54:16.000Z', 'attributes': {'customName': 'Światło 5', 'model': 'TRADFRIbulbGU10WS345lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.012', 'hardwareVersion': '1', 'serialNumber': '9035EAFFFE30B3B8', 'productCode': 'LED2005R5', 'isOn': True, 'startupOnOff': 'startOn', 'lightLevel': 3, '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': '51349cda-556c-4d2c-a0f0-983a06699b84', 'name': 'Julia', 'color': 'ikea_pink_no_8', 'icon': 'rooms_play_area'}, 'deviceSet': [], 'remoteLinks': ['45a42119-2f56-4326-8b80-907af9b064f4_1'], 'isHidden': False}, {'id': '085bd163-c0b0-40a4-bb31-8091328d6ce3_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-03-05T18:42:30.000Z', 'isReachable': False, 'lastSeen': '2024-04-12T19:52:57.000Z', 'attributes': {'customName': 'Światło 2', 'model': 'TRADFRI bulb E27 WS opal 1000lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.3.095', 'hardwareVersion': '1', 'serialNumber': 'CCCCCCFFFE3C7738', 'productCode': 'LED1732G11E27', 'isOn': True, 'startupOnOff': 'startOn', 'lightLevel': 93, 'startUpCurrentLevel': -1, 'colorTemperature': 3205, 'colorTemperatureMin': 4000, 'colorTemperatureMax': 2202, 'startupTemperature': -1, 'colorMode': 'temperature', 'identifyStarted': '2024-03-05T18:43:58.000Z', 'identifyPeriod': 15, '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': 'da936cc0-f77b-48b6-83b5-7809a394f5d7', 'name': 'Salon', 'color': 'ikea_blue_no_63', 'icon': 'rooms_sofa'}, 'deviceSet': [{'id': '12f5e91a-bcb2-4dfb-841a-ba093c0a9e64', 'name': 'Żyrandol Salon', 'icon': 'lighting_chandelier'}], 'remoteLinks': [], 'isHidden': False}, {'id': '33ce7f5e-e0f2-4f0a-9e7f-f77a805382a2_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-03-05T19:00:35.000Z', 'isReachable': True, 'lastSeen': '2024-04-12T17:55:41.000Z', 'attributes': {'customName': 'Światło 7', 'model': 'TRADFRI bulb GU10 WS 400lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.3.095', 'hardwareVersion': '1', 'serialNumber': 'EC1BBDFFFE467F3F', 'productCode': 'LED1737R5GU10', 'isOn': True, 'startupOnOff': 'startOn', 'lightLevel': 3, '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': '51349cda-556c-4d2c-a0f0-983a06699b84', 'name': 'Julia', 'color': 'ikea_pink_no_8', 'icon': 'rooms_play_area'}, 'deviceSet': [], 'remoteLinks': ['45a42119-2f56-4326-8b80-907af9b064f4_1'], 'isHidden': False}, {'id': '36fee6ac-4395-44c2-acac-a0ef7a2c9cc0_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-03-05T18:42:22.000Z', 'isReachable': False, 'lastSeen': '2024-04-12T19:52:51.000Z', 'attributes': {'customName': 'Światło 1', 'model': 'TRADFRI bulb E27 WS opal 1000lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.3.095', 'hardwareVersion': '1', 'serialNumber': '000D6FFFFE5ADEE7', 'productCode': 'LED1732G11E27', 'isOn': True, 'startupOnOff': 'startOn', 'lightLevel': 93, 'startUpCurrentLevel': -1, 'colorTemperature': 3205, 'colorTemperatureMin': 4000, 'colorTemperatureMax': 2202, 'startupTemperature': -1, 'colorMode': 'temperature', 'identifyStarted': '2024-03-05T18:43:58.000Z', 'identifyPeriod': 15, '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': 'da936cc0-f77b-48b6-83b5-7809a394f5d7', 'name': 'Salon', 'color': 'ikea_blue_no_63', 'icon': 'rooms_sofa'}, 'deviceSet': [{'id': '12f5e91a-bcb2-4dfb-841a-ba093c0a9e64', 'name': 'Żyrandol Salon', 'icon': 'lighting_chandelier'}], 'remoteLinks': [], 'isHidden': False}, {'id': '678aacf3-ceb1-46b4-8938-eb16634d25d6_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-03-05T19:00:31.000Z', 'isReachable': True, 'lastSeen': '2024-04-12T17:54:58.000Z', 'attributes': {'customName': 'Światło 6', 'model': 'TRADFRI bulb GU10 WS 400lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.3.095', 'hardwareVersion': '1', 'serialNumber': 'CCCCCCFFFEDDF64C', 'productCode': 'LED1737R5GU10', 'isOn': True, 'startupOnOff': 'startOn', 'lightLevel': 3, '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': '51349cda-556c-4d2c-a0f0-983a06699b84', 'name': 'Julia', 'color': 'ikea_pink_no_8', 'icon': 'rooms_play_area'}, 'deviceSet': [], 'remoteLinks': ['45a42119-2f56-4326-8b80-907af9b064f4_1'], 'isHidden': False}, {'id': 'd9572831-60bc-4e89-8f03-2a3a3a24be31_1', 'relationId': 'd9572831-60bc-4e89-8f03-2a3a3a24be31', 'type': 'gateway', 'deviceType': 'gateway', 'createdAt': '2023-12-15T15:44:20.614Z', 'isReachable': True, 'lastSeen': '2024-04-12T17:55:00.865Z', 'attributes': {'customName': 'Dom', 'model': 'DIRIGERA Hub for smart products', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.556.0', 'hardwareVersion': 'P2.5', 'serialNumber': 'd9572831-60bc-4e89-8f03-2a3a3a24be31', 'identifyStarted': '2000-01-01T00:00:00.000Z', 'identifyPeriod': 0, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoDownload', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00', 'permittingJoin': False, 'backendConnected': True, 'backendConnectionPersistent': True, 'backendOnboardingComplete': True, 'backendRegion': 'eu-central-1', 'backendCountryCode': 'PL', 'userConsents': [{'name': 'analytics', 'value': 'enabled'}, {'name': 'diagnostics', 'value': 'enabled'}], 'logLevel': 3, 'coredump': False, 'timezone': 'Europe/Warsaw', 'nextSunSet': '2024-04-13T17:31:00.000Z', 'nextSunRise': '2024-04-13T03:43:00.000Z', 'homestate': 'home', 'countryCode': 'XZ', 'coordinates': {'latitude': 52.306306306306304, 'longitude': 20.98133894019359, 'accuracy': -1}, 'isOn': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'permittingJoin', 'userConsents', 'logLevel', 'time', 'timezone', 'countryCode', 'coordinates']}, 'deviceSet': [], 'remoteLinks': []}, {'id': '45a42119-2f56-4326-8b80-907af9b064f4_1', 'type': 'controller', 'deviceType': 'lightController', 'createdAt': '2024-03-05T19:03:05.000Z', 'isReachable': True, 'lastSeen': '2024-04-12T13:02:11.000Z', 'attributes': {'customName': 'Pilot Julia', 'model': 'TRADFRI remote control', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '24.4.5', 'hardwareVersion': '1', 'serialNumber': 'EC1BBDFFFE8C6358', 'productCode': 'E1810', 'batteryPercentage': 50, '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': '51349cda-556c-4d2c-a0f0-983a06699b84', 'name': 'Julia', 'color': 'ikea_pink_no_8', 'icon': 'rooms_play_area'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'c8c88287-41d6-407a-b087-fcea6f3b0332_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-03-05T18:42:31.000Z', 'isReachable': False, 'lastSeen': '2024-04-12T19:52:46.000Z', 'attributes': {'customName': 'Światło 3', 'model': 'TRADFRI bulb E27 WS opal 1000lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.3.095', 'hardwareVersion': '1', 'serialNumber': 'CCCCCCFFFE3C7DEA', 'productCode': 'LED1732G11E27', 'isOn': True, 'startupOnOff': 'startOn', 'lightLevel': 93, 'startUpCurrentLevel': -1, 'colorTemperature': 3205, 'colorTemperatureMin': 4000, 'colorTemperatureMax': 2202, 'startupTemperature': -1, 'colorMode': 'temperature', 'identifyStarted': '2024-03-05T18:43:58.000Z', 'identifyPeriod': 15, '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': 'da936cc0-f77b-48b6-83b5-7809a394f5d7', 'name': 'Salon', 'color': 'ikea_blue_no_63', 'icon': 'rooms_sofa'}, 'deviceSet': [{'id': '12f5e91a-bcb2-4dfb-841a-ba093c0a9e64', 'name': 'Żyrandol Salon', 'icon': 'lighting_chandelier'}], 'remoteLinks': [], 'isHidden': False}] 2024-04-12 19:55:48.274 INFO (SyncWorker_36) [custom_components.dirigera_platform] -------------- 2024-04-12 19:55:48.274 INFO (SyncWorker_36) [custom_components.dirigera_platform] === END Devices JSON ===

sanjoyg commented 2 months ago

The above seems right. individual bulbs of a set are not exposed. Do refer to the comment earlier, its easy to expose the individual lights as well. The original requestor did not want it. Also the IKEA app doesnt expose it as individual bulbs.

What do u think should it be exposed based on configuration option asked at installation?

oat1 commented 2 months ago

@sanjoyg I think one should have an option: to expose just the sets or sets and the "individual lights". If setting an option is hard to implement, I think both would be better, one can always turn off some useless entities if needed

For me, it is a useful feature because I use Powercalc which finds individual bulbs and can determine their power consumption which I use in statistics. Also in a chandelier like mine, if necessary, I can turn off some of the bulbs to reduce power consumption or lighting

So if you can implement this feature please do so

sanjoyg commented 2 months ago

Great. I will get it done hopefully tomorrow

sanjoyg commented 2 months ago

@oat1 its available now in the new release. You would need to delete the integration and add it again. In the configuration you would see a check box that allows you to hide/show device set bulbs. By default its checked, for your use you would need to uncheck it. Do let me know of issues.

oat1 commented 2 months ago

@sanjoyg I've updated the integration, deleted it, and readded in home assistant.

While readding, I've unchecked the box.

Unfortunately no change. Still, there is just a set and no individual lights of the set.

I do not see any errors in HA

current dump data

2024-04-13 11:58:52.902 INFO (SyncWorker_37) [custom_components.dirigera_platform] === START Devices JSON === 2024-04-13 11:58:52.902 INFO (SyncWorker_37) [custom_components.dirigera_platform] -------------- 2024-04-13 11:58:53.178 INFO (SyncWorker_37) [custom_components.dirigera_platform] [{'id': 'd613d6b7-098e-4bdd-adff-16cc16aaf161_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-03-05T18:42:33.000Z', 'isReachable': True, 'lastSeen': '2024-04-13T11:53:41.000Z', 'attributes': {'customName': 'Światło 4', 'model': 'TRADFRI bulb E27 WS opal 1000lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.3.095', 'hardwareVersion': '1', 'serialNumber': '680AE2FFFE11D61A', 'productCode': 'LED1732G11E27', 'isOn': True, 'startupOnOff': 'startOn', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'colorTemperature': 4000, 'colorTemperatureMin': 4000, 'colorTemperatureMax': 2202, 'startupTemperature': -1, 'colorMode': 'temperature', 'identifyStarted': '2024-03-05T18:43:58.000Z', 'identifyPeriod': 15, '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': 'da936cc0-f77b-48b6-83b5-7809a394f5d7', 'name': 'Salon', 'color': 'ikea_blue_no_63', 'icon': 'rooms_sofa'}, 'deviceSet': [{'id': '12f5e91a-bcb2-4dfb-841a-ba093c0a9e64', 'name': 'Żyrandol Salon', 'icon': 'lighting_chandelier'}], 'remoteLinks': [], 'isHidden': False}, {'id': 'b4a1385d-c3ac-491c-bde4-6b81733a0d47_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-03-05T19:00:31.000Z', 'isReachable': True, 'lastSeen': '2024-04-13T09:54:42.000Z', 'attributes': {'customName': 'Światło 5', 'model': 'TRADFRIbulbGU10WS345lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.012', 'hardwareVersion': '1', 'serialNumber': '9035EAFFFE30B3B8', 'productCode': 'LED2005R5', 'isOn': True, 'startupOnOff': 'startOn', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'colorTemperature': 4000, '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': '51349cda-556c-4d2c-a0f0-983a06699b84', 'name': 'Julia', 'color': 'ikea_pink_no_8', 'icon': 'rooms_play_area'}, 'deviceSet': [], 'remoteLinks': ['45a42119-2f56-4326-8b80-907af9b064f4_1'], 'isHidden': False}, {'id': '085bd163-c0b0-40a4-bb31-8091328d6ce3_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-03-05T18:42:30.000Z', 'isReachable': True, 'lastSeen': '2024-04-13T11:53:41.000Z', 'attributes': {'customName': 'Światło 2', 'model': 'TRADFRI bulb E27 WS opal 1000lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.3.095', 'hardwareVersion': '1', 'serialNumber': 'CCCCCCFFFE3C7738', 'productCode': 'LED1732G11E27', 'isOn': True, 'startupOnOff': 'startOn', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'colorTemperature': 4000, 'colorTemperatureMin': 4000, 'colorTemperatureMax': 2202, 'startupTemperature': -1, 'colorMode': 'temperature', 'identifyStarted': '2024-03-05T18:43:58.000Z', 'identifyPeriod': 15, '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': 'da936cc0-f77b-48b6-83b5-7809a394f5d7', 'name': 'Salon', 'color': 'ikea_blue_no_63', 'icon': 'rooms_sofa'}, 'deviceSet': [{'id': '12f5e91a-bcb2-4dfb-841a-ba093c0a9e64', 'name': 'Żyrandol Salon', 'icon': 'lighting_chandelier'}], 'remoteLinks': [], 'isHidden': False}, {'id': '33ce7f5e-e0f2-4f0a-9e7f-f77a805382a2_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-03-05T19:00:35.000Z', 'isReachable': True, 'lastSeen': '2024-04-13T09:55:21.000Z', 'attributes': {'customName': 'Światło 7', 'model': 'TRADFRI bulb GU10 WS 400lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.3.095', 'hardwareVersion': '1', 'serialNumber': 'EC1BBDFFFE467F3F', 'productCode': 'LED1737R5GU10', 'isOn': True, 'startupOnOff': 'startOn', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'colorTemperature': 4000, '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': '51349cda-556c-4d2c-a0f0-983a06699b84', 'name': 'Julia', 'color': 'ikea_pink_no_8', 'icon': 'rooms_play_area'}, 'deviceSet': [], 'remoteLinks': ['45a42119-2f56-4326-8b80-907af9b064f4_1'], 'isHidden': False}, {'id': '36fee6ac-4395-44c2-acac-a0ef7a2c9cc0_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-03-05T18:42:22.000Z', 'isReachable': True, 'lastSeen': '2024-04-13T11:53:41.000Z', 'attributes': {'customName': 'Światło 1', 'model': 'TRADFRI bulb E27 WS opal 1000lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.3.095', 'hardwareVersion': '1', 'serialNumber': '000D6FFFFE5ADEE7', 'productCode': 'LED1732G11E27', 'isOn': True, 'startupOnOff': 'startOn', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'colorTemperature': 4000, 'colorTemperatureMin': 4000, 'colorTemperatureMax': 2202, 'startupTemperature': -1, 'colorMode': 'temperature', 'identifyStarted': '2024-03-05T18:43:58.000Z', 'identifyPeriod': 15, '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': 'da936cc0-f77b-48b6-83b5-7809a394f5d7', 'name': 'Salon', 'color': 'ikea_blue_no_63', 'icon': 'rooms_sofa'}, 'deviceSet': [{'id': '12f5e91a-bcb2-4dfb-841a-ba093c0a9e64', 'name': 'Żyrandol Salon', 'icon': 'lighting_chandelier'}], 'remoteLinks': [], 'isHidden': False}, {'id': '678aacf3-ceb1-46b4-8938-eb16634d25d6_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-03-05T19:00:31.000Z', 'isReachable': True, 'lastSeen': '2024-04-13T09:56:39.000Z', 'attributes': {'customName': 'Światło 6', 'model': 'TRADFRI bulb GU10 WS 400lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.3.095', 'hardwareVersion': '1', 'serialNumber': 'CCCCCCFFFEDDF64C', 'productCode': 'LED1737R5GU10', 'isOn': True, 'startupOnOff': 'startOn', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'colorTemperature': 4000, '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': '51349cda-556c-4d2c-a0f0-983a06699b84', 'name': 'Julia', 'color': 'ikea_pink_no_8', 'icon': 'rooms_play_area'}, 'deviceSet': [], 'remoteLinks': ['45a42119-2f56-4326-8b80-907af9b064f4_1'], 'isHidden': False}, {'id': 'd9572831-60bc-4e89-8f03-2a3a3a24be31_1', 'relationId': 'd9572831-60bc-4e89-8f03-2a3a3a24be31', 'type': 'gateway', 'deviceType': 'gateway', 'createdAt': '2023-12-15T15:44:20.614Z', 'isReachable': True, 'lastSeen': '2024-04-13T09:58:00.028Z', 'attributes': {'customName': 'Dom', 'model': 'DIRIGERA Hub for smart products', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.556.0', 'hardwareVersion': 'P2.5', 'serialNumber': 'd9572831-60bc-4e89-8f03-2a3a3a24be31', 'identifyStarted': '2000-01-01T00:00:00.000Z', 'identifyPeriod': 0, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoDownload', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00', 'permittingJoin': False, 'backendConnected': True, 'backendConnectionPersistent': True, 'backendOnboardingComplete': True, 'backendRegion': 'eu-central-1', 'backendCountryCode': 'PL', 'userConsents': [{'name': 'analytics', 'value': 'enabled'}, {'name': 'diagnostics', 'value': 'enabled'}], 'logLevel': 3, 'coredump': False, 'timezone': 'Europe/Warsaw', 'nextSunSet': '2024-04-13T17:31:00.000Z', 'nextSunRise': '2024-04-14T03:41:00.000Z', 'homestate': 'home', 'countryCode': 'XZ', 'coordinates': {'latitude': 52.306306306306304, 'longitude': 20.98133894019359, 'accuracy': -1}, 'isOn': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'permittingJoin', 'userConsents', 'logLevel', 'time', 'timezone', 'countryCode', 'coordinates']}, 'deviceSet': [], 'remoteLinks': []}, {'id': '45a42119-2f56-4326-8b80-907af9b064f4_1', 'type': 'controller', 'deviceType': 'lightController', 'createdAt': '2024-03-05T19:03:05.000Z', 'isReachable': True, 'lastSeen': '2024-04-13T02:04:20.000Z', 'attributes': {'customName': 'Pilot Julia', 'model': 'TRADFRI remote control', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '24.4.5', 'hardwareVersion': '1', 'serialNumber': 'EC1BBDFFFE8C6358', 'productCode': 'E1810', 'batteryPercentage': 50, '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': '51349cda-556c-4d2c-a0f0-983a06699b84', 'name': 'Julia', 'color': 'ikea_pink_no_8', 'icon': 'rooms_play_area'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'c8c88287-41d6-407a-b087-fcea6f3b0332_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-03-05T18:42:31.000Z', 'isReachable': True, 'lastSeen': '2024-04-13T11:53:42.000Z', 'attributes': {'customName': 'Światło 3', 'model': 'TRADFRI bulb E27 WS opal 1000lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.3.095', 'hardwareVersion': '1', 'serialNumber': 'CCCCCCFFFE3C7DEA', 'productCode': 'LED1732G11E27', 'isOn': True, 'startupOnOff': 'startOn', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'colorTemperature': 4000, 'colorTemperatureMin': 4000, 'colorTemperatureMax': 2202, 'startupTemperature': -1, 'colorMode': 'temperature', 'identifyStarted': '2024-03-05T18:43:58.000Z', 'identifyPeriod': 15, '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': 'da936cc0-f77b-48b6-83b5-7809a394f5d7', 'name': 'Salon', 'color': 'ikea_blue_no_63', 'icon': 'rooms_sofa'}, 'deviceSet': [{'id': '12f5e91a-bcb2-4dfb-841a-ba093c0a9e64', 'name': 'Żyrandol Salon', 'icon': 'lighting_chandelier'}], 'remoteLinks': [], 'isHidden': False}] 2024-04-13 11:58:53.179 INFO (SyncWorker_37) [custom_components.dirigera_platform] -------------- 2024-04-13 11:58:53.179 INFO (SyncWorker_37) [custom_components.dirigera_platform] === END Devices JSON ===

sanjoyg commented 2 months ago

@oat1 did you uncheck the "Hide device set bulbs/lights" when entering the IP address of the gateway while you re-added the integration?

Screenshot 2024-04-13 at 6 39 22 PM

oat1 commented 2 months ago

Yeah I entered the IP, than unchecked the "Hide device set bulbs/lights" and clicked submit

sanjoyg commented 2 months ago

You are right, the latest release will work. I tested it

oat1 commented 2 months ago

Now works fine, thanks 👍 Problem resolved