Open eric14142004 opened 8 months ago
I'm currently working on it. So keep in touch 😎
@slajob are you working on putting in a fix to expose isOn and lightLevel? Then I wont work on it
are you working on putting in a fix to expose isOn and lightLevel? Then I wont work on it
@sanjoyg Yes I'm working on exposing remotes (shortcut buttons) pushing action. But It can take more time because it's not native suported by Leggin/dirigera package and looking for some workaround. So still working with the highest priority because I need these functionalities in my system
Cool! Can push to base lib, adding optional attributes to controllerattributes struct
On Thu, 28 Mar 2024 at 15:00, Sławomir Job @.***> wrote:
@slajob https://github.com/slajob are you working on putting in a fix to expose isOn and lightLevel? Then I wont work on it
Yes I'm working on exposing remotes (shortcut buttons) pushing action. But It can take more time because it's not native suported by Leggin/dirigera package. So still working with the highest priority because I need these functionalities in my system
— Reply to this email directly, view it on GitHub https://github.com/sanjoyg/dirigera_platform/issues/23#issuecomment-2024758881, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2X3CVCFQE7BQYLXDPNTXTY2PIJBAVCNFSM6AAAAABFJX4PK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRUG42TQOBYGE . You are receiving this because you commented.Message ID: @.***>
After few deep research probably there is no possibility to use shortcut buttons currently. I tested it out using just base lib in python and unfortunately the shortcut buttons is_on attribute is not changing when pushing shortcut button. I tested it out with old tradfri and new somrig button. The lack of support is also indicated by the fact that the buttons have three functions: one press, two presses and a long hold, and the is_on parameter is only one.
From base lib issue I got there is no possibility for now to receive shortcut buttons push without assigning them to scenes. So you have to create a scene with something dump to get that event. Source: https://github.com/Leggin/dirigera/issues/28
I also asked for issue in some api researcher: https://codeberg.org/argrento/dirigera/issues/1
@sanjoyg are you owing some shortcut buttons to try it by yourself?
No I dont have the shortcut. Did you try dumping the events from the base library event listener api?
On Tue, 2 Apr 2024 at 00:21, Sławomir Job @.***> wrote:
After few deep research probably there is no possibility to use shortcut buttons currently. I tested it out using just base lib in python and unfortunately the shortcut buttons is_on attribute is not changing when pushing shortcut button. I tested it out with old tradfri and new somrig button. From base lib issue I got there is no possibility for now to receive shortcut buttons push without assigning them to scenes. So you have to create a scene with something dump to get that event. Source: Leggin/dirigera#28 https://github.com/Leggin/dirigera/issues/28
I also asked for issue in some api researcher: https://codeberg.org/argrento/dirigera/issues/1
@sanjoyg https://github.com/sanjoyg are you owing some shortcut buttons to try it by yourself?
— Reply to this email directly, view it on GitHub https://github.com/sanjoyg/dirigera_platform/issues/23#issuecomment-2030350922, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2X3CVSAYREQ7NEFVZMWWTY3GUCPAVCNFSM6AAAAABFJX4PK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZQGM2TAOJSGI . You are receiving this because you were mentioned.Message ID: @.***>
@slajob I dont have a shortcut button, would you see using the following code if you are able to see any events coming up when the outlets are clicked
import dirigera from dirigera import Hub
ip=
hub = dirigera.Hub(token, ip)
import json
def on_message(ws: Any, message: str): print(message)
def on_error(ws: Any, message: str): print(message)
hub.create_event_listener( on_message=on_message, on_error=on_error )
@sanjoyg As I said in previous message i tried this code from base library using this event listener but it works ONLY when you have a shortcut connected with scene in Ikea Smart home app and there is a message printed where you can see its triggered by my scene "Stop frame speaker":
{"id":"10abbfd1-154e-44ad-baca-b82c1d44e4f8","time":"2024-04-02T18:09:59.362Z","specversion":"3.146.0","source":"urn:com:ikea:homesmart:iotc:rulesengine","type":"sceneUpdated","data":{"id":"12e08765-cbc8-4f32-8940-6f00da400933","info":{"name":"Stop frame speaker","icon":"scenes_clean_sparkles"},"type":"userScene","triggers":[{"id":"b63926a9-9933-440a-a107-293dfb853331","type":"app","triggeredAt":"2024-04-01T17:44:47.340Z","disabled":false},{"id":"0bcf91eb-93e1-41cf-9630-d32f30c34b9d","type":"controller","triggeredAt":"2024-04-02T18:09:59.362Z","disabled":false,"trigger":{"days":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],"controllerType":"shortcutController","clickPattern":"singlePress","buttonIndex":0,"deviceId":"b55c75ec-829c-4623-a167-0b537569c9e2_1"}}],"actions":[],"commands":[],"createdAt":"2023-04-03T20:35:38.713Z","lastCompleted":"2024-04-02T18:02:10.502Z","lastTriggered":"2024-04-02T18:02:10.502Z","undoAllowedDuration":30,"lastUndo":"2024-04-01T17:44:47.352Z"}}
{"id":"775d55fe-0a90-4579-85dd-f2516984da6b","time":"2024-04-02T18:09:59.386Z","specversion":"3.146.0","source":"urn:com:ikea:homesmart:iotc:rulesengine","type":"sceneUpdated","data":{"id":"12e08765-cbc8-4f32-8940-6f00da400933","info":{"name":"Stop frame speaker","icon":"scenes_clean_sparkles"},"type":"userScene","triggers":[{"id":"b63926a9-9933-440a-a107-293dfb853331","type":"app","triggeredAt":"2024-04-01T17:44:47.340Z","disabled":false},{"id":"0bcf91eb-93e1-41cf-9630-d32f30c34b9d","type":"controller","triggeredAt":"2024-04-02T18:09:59.362Z","disabled":false,"trigger":{"days":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],"controllerType":"shortcutController","clickPattern":"singlePress","buttonIndex":0,"deviceId":"b55c75ec-829c-4623-a167-0b537569c9e2_1"}}],"actions":[],"commands":[],"createdAt":"2023-04-03T20:35:38.713Z","lastCompleted":"2024-04-02T18:09:59.372Z","lastTriggered":"2024-04-02T18:09:59.372Z","undoAllowedDuration":30,"lastUndo":"2024-04-01T17:44:47.352Z"}}
When shortcut button is not connected to any scene, clicking shortcut button dont raise this event listener. Creating empty scenes could resolve that, but ikea smart home app don't allow creating empty scenes doing nothing.
Here in this thread you can see a owner of this base lib said there is not possibility to handle empty shortcut buttons
@slajob 1.1.0 of the base library was released, it has the ability to create_scene , will that help with empty scene?
@sanjoyg Yess, I requested for that feature and started working
Will this help in any way?
Data pulled out of MQTT via Zigbee2MQTT:
Device info SOMRIG shortcut button (E2213) by IKEA
Entities Kitchen Button Ikea Battery (sensor.kitchen_button_ikea_battery) MQTT discovery data: Topic: homeassistant/sensor/0x6c5cb1fffe1421bf/battery/config Payload Subscribed topics: zigbee2mqtt/bridge/state 1 most recently received message(s) Received 4:23:43 PM QoS: 0, Retained Payload: state: online zigbee2mqtt/Kitchen Button Ikea 1 most recently received message(s) Received 4:24:21 PM QoS: 0 Payload: action: null battery: 100 linkquality: 96 update: installed_version: 16777248 latest_version: 16777248 state: idle update_available: null Transmitted messages: Kitchen Button Ikea Action (sensor.kitchen_button_ikea_action) MQTT discovery data: Topic: homeassistant/sensor/0x6c5cb1fffe1421bf/action/config Payload availability:
I have the following shortcut buttons:
TRADFRI open/close remote
RODRET Dimmer
SOMRIG shortcut button
I can try and help testing ...
Thank you for this, but cant assume zigbeemqtt integration for all installations. @slajob is already working on a mechanism to enable these buttons
I have a Styrbar and a Somrig buttons. Would be great to see that work without any workaround 😁💪
amazing work, the remotes will be a great functionality through HA even if have to go through a work around
@slajob Hello, I have few Styrbar remotes (E2002), some Tradfri On/Off switches (E1743). Can you please confirm that these models will be also supported? Thank you so much for your effort and great job!
Can ou please get the json dump please.
Can ou please get the json dump please.
2024-05-21 19:38:08.974 INFO (SyncWorker_20) [custom_components.dirigera_platform] === START Devices JSON === 2024-05-21 19:38:08.974 INFO (SyncWorker_20) [custom_components.dirigera_platform] -------------- 2024-05-21 19:38:10.204 INFO (SyncWorker_20) [custom_components.dirigera_platform] [{'id': 'a21e9ef8-762d-4349-9f6a-3a596fd9680a_1', 'type': 'sensor', 'deviceType': 'environmentSensor', 'createdAt': '2024-05-20T15:19:46.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T19:36:25.000Z', 'attributes': {'customName': 'Bathroom temp sensor', 'model': 'Temperature/Humidity Sensor', 'manufacturer': 'SONOFF', 'firmwareVersion': '', 'hardwareVersion': '', 'serialNumber': '00124B0025394BA4', 'productCode': 'SNZB-02', 'currentTemperature': 23.709999084472656, 'currentRH': 73, 'permittingJoin': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName']}, 'room': {'id': 'cb0cc864-07df-454d-9577-c239437bb537', 'name': 'Koupelna', 'color': 'ikea_yellow_no_31', 'icon': 'rooms_bathtub'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '8027239f-e4de-4a38-a1d3-bcb7d5ce5070_1', 'relationId': '8027239f-e4de-4a38-a1d3-bcb7d5ce5070', 'type': 'gateway', 'deviceType': 'gateway', 'createdAt': '2024-03-08T06:39:04.188Z', 'isReachable': True, 'lastSeen': '2024-05-21T17:38:00.666Z', 'attributes': {'customName': 'Domov', 'model': 'DIRIGERA Hub for smart products', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.556.0', 'hardwareVersion': 'P2.5', 'serialNumber': '8027239f-e4de-4a38-a1d3-bcb7d5ce5070', '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': 'CZ', 'userConsents': [{'name': 'analytics', 'value': 'enabled'}, {'name': 'diagnostics', 'value': 'enabled'}], 'logLevel': 3, 'coredump': False, 'timezone': 'Europe/Prague', 'nextSunSet': '2024-05-21T18:55:00.000Z', 'nextSunRise': '2024-05-22T03:08:00.000Z', 'homestate': 'home', 'countryCode': 'XZ', 'coordinates': {'latitude': 50.59167335305864, 'longitude': 13.835090060341294, 'accuracy': -1}, 'isOn': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'permittingJoin', 'userConsents', 'logLevel', 'time', 'timezone', 'countryCode', 'coordinates']}, 'deviceSet': [], 'remoteLinks': []}, {'id': '426e4cc1-bcf3-4f24-bd39-75a6c2bb5663_1', 'type': 'sensor', 'deviceType': 'environmentSensor', 'createdAt': '2024-05-20T17:27:00.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T19:35:48.000Z', 'attributes': {'customName': 'Hall temp sensor', 'model': 'Temperature/Humidity Sensor', 'manufacturer': 'SONOFF', 'firmwareVersion': '', 'hardwareVersion': '', 'serialNumber': '00124B00291FEB5F', 'productCode': 'SNZB-02', 'currentTemperature': 22.280000686645508, 'currentRH': 61, 'permittingJoin': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName']}, 'room': {'id': 'b29f6476-3176-4035-9ddf-233fa2f384f1', 'name': 'Chodba', 'color': 'pantone_16_0940_tcx', 'icon': 'rooms_coat_hanger'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '0f391aa0-11ec-472b-a3cd-3f9a169b0a40_1', 'type': 'controller', 'deviceType': 'soundController', 'createdAt': '2024-05-20T15:08:37.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T14:32:48.000Z', 'attributes': {'customName': 'Office Symfonisk remote', 'model': 'SYMFONISK Sound Controller', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '24.4.5', 'hardwareVersion': '1', 'serialNumber': '943469FFFE5CBFDE', 'productCode': 'E1744', 'batteryPercentage': 75, 'isOn': False, 'lightLevel': 1, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00'}, 'capabilities': {'canSend': ['isOn', 'lightLevel'], 'canReceive': ['customName']}, 'room': {'id': 'd0f42d15-bf83-4537-a9fd-bd6e2311e734', 'name': 'Ložnice\xa0', 'color': 'ikea_yellow_no_24', 'icon': 'rooms_bed'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '87725d07-0089-4ffa-8050-ce42f79b0860_1', 'type': 'controller', 'deviceType': 'lightController', 'createdAt': '2024-05-20T14:59:09.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T17:49:40.000Z', 'attributes': {'customName': 'Office Styrbar remote', 'model': 'Remote Control N2', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.4.11', 'hardwareVersion': '1', 'serialNumber': '0C4314FFFEC56B45', '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': '171caf1a-699b-4c62-ba63-0255ecbbbccf', 'name': 'Pracovna', 'color': 'ikea_yellow_no_28', 'icon': 'rooms_office_chair'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'b7ee70a0-3c10-4033-8453-a260c5910c37_1', 'type': 'sensor', 'deviceType': 'environmentSensor', 'createdAt': '2024-05-20T17:33:48.000Z', 'isReachable': False, 'lastSeen': '2024-05-21T16:32:47.000Z', 'attributes': {'customName': 'Kitchen temp sensor', 'model': 'Temperature/Humidity Sensor', 'manufacturer': 'SONOFF', 'firmwareVersion': '', 'hardwareVersion': '', 'serialNumber': '00124B00290FB51B', 'productCode': 'SNZB-02', 'currentTemperature': 21.979999542236328, 'currentRH': 0, 'permittingJoin': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName']}, 'room': {'id': 'fe35b4c1-a4c7-4bdf-83a1-f892b7b43367', 'name': 'Kuchyně', 'color': 'ikea_blue_no_58', 'icon': 'rooms_kitchen'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'ca0dc5c0-c966-4b81-86b8-30a7ee03a843_1', 'type': 'speaker', 'deviceType': 'speaker', 'createdAt': '2024-05-20T10:40:31.487Z', 'isReachable': True, 'lastSeen': '2024-05-20T13:15:44.494Z', 'attributes': {'customName': 'Bedroom', 'model': 'SYMFONISK Bookshelf S21', 'manufacturer': 'Sonos, Inc.', 'firmwareVersion': '79.0-52294', 'hardwareVersion': '1.20.3.3-2.0', 'serialNumber': '34-7E-5C-38-2C-28:B', 'productCode': 'S21', 'identifyStarted': '2024-05-20T10:40:31.487Z', 'identifyPeriod': 0, 'playback': 'playbackIdle', 'playbackLastChangedTimestamp': '2024-05-20T13:15:44.494Z', 'playbackAudio': {'serviceType': 'sonos', 'providerType': 'Sonos Radio', 'playlist': {'id': 'eyJhY2NvdW50VHlwZSI6InNvbm9zIiwiY29udGVudFR5cGUiOiJjb250YWluZXIiLCJjb250ZW50Ijp7ImNvbnRhaW5lciI6eyJhY2NvdW50SWQiOiJzbl8xIiwib2JqZWN0SWQiOiJ0dW5laW46NDU2MSIsInNlcnZpY2VJZCI6IjMwMyIsInR5cGUiOiJzdGF0aW9uIn19fQ==', 'title': 'Radio Kiss'}}, 'playbackPosition': {'position': 0, 'timestamp': '2024-05-20T13:15:44.494Z'}, 'playbackAvailableActions': {'crossfade': False, 'pause': False, 'repeat': ['off'], 'seek': False, 'shuffle': False, 'playbackNext': False, 'playbackPrev': False}, 'playbackModes': {'crossfade': False, 'repeat': 'off', 'shuffle': False}, 'volume': 11, 'isMuted': False, 'audioGroup': '3c580627-580a-413d-abe0-6afafa2e3991'}, 'capabilities': {'canSend': [], 'canReceive': ['playback', 'playbackAudio', 'volume', 'isMuted']}, 'room': {'id': 'd0f42d15-bf83-4537-a9fd-bd6e2311e734', 'name': 'Ložnice\xa0', 'color': 'ikea_yellow_no_24', 'icon': 'rooms_bed'}, 'deviceSet': [], 'remoteLinks': ['0f391aa0-11ec-472b-a3cd-3f9a169b0a40_1'], 'isHidden': False}, {'id': '757307b9-cbe9-4bf1-9c61-2f79dad058e2_1', 'type': 'controller', 'deviceType': 'soundController', 'createdAt': '2024-05-20T15:15:51.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T16:35:33.000Z', 'attributes': {'customName': 'Bathroom Symfonisk remote', 'model': 'SYMFONISK Sound Controller', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '24.4.5', 'hardwareVersion': '1', 'serialNumber': '943469FFFE75C561', 'productCode': 'E1744', 'batteryPercentage': 1, 'isOn': False, 'lightLevel': 1, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00'}, 'capabilities': {'canSend': ['isOn', 'lightLevel'], 'canReceive': ['customName']}, 'room': {'id': 'cb0cc864-07df-454d-9577-c239437bb537', 'name': 'Koupelna', 'color': 'ikea_yellow_no_31', 'icon': 'rooms_bathtub'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'aa4bbdf1-931e-49bb-8cf9-726038b307d3_1', 'type': 'sensor', 'deviceType': 'environmentSensor', 'createdAt': '2024-05-20T13:16:01.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T19:31:35.000Z', 'attributes': {'customName': 'Bedroom Temp sensor', 'model': 'Temperature/Humidity Sensor', 'manufacturer': 'SONOFF', 'firmwareVersion': '', 'hardwareVersion': '', 'serialNumber': '00124B002543B50A', 'productCode': 'SNZB-02', 'currentTemperature': 20.950000762939453, 'currentRH': 70, 'permittingJoin': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName']}, 'room': {'id': '171caf1a-699b-4c62-ba63-0255ecbbbccf', 'name': 'Pracovna', 'color': 'ikea_yellow_no_28', 'icon': 'rooms_office_chair'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '5646d068-683d-4301-bab0-aa73758350ac_1', 'type': 'speaker', 'deviceType': 'speaker', 'createdAt': '2024-05-20T10:40:30.940Z', 'isReachable': True, 'lastSeen': '2024-05-20T13:16:18.256Z', 'attributes': {'customName': 'Bathroom', 'model': 'SYMFONISK Bookshelf S21', 'manufacturer': 'Sonos, Inc.', 'firmwareVersion': '79.0-52294', 'hardwareVersion': '1.20.3.3-2.0', 'serialNumber': '54-2A-1B-64-9E-08:4', 'productCode': 'S21', 'identifyStarted': '2024-05-20T10:40:30.940Z', 'identifyPeriod': 0, 'playback': 'playbackPaused', 'playbackLastChangedTimestamp': '2024-05-20T10:40:30.940Z', 'playbackAudio': {}, 'playbackPosition': {'position': 0, 'timestamp': '2024-05-20T10:40:29.826Z'}, 'playbackAvailableActions': {'crossfade': False, 'pause': False, 'repeat': ['off'], 'seek': False, 'shuffle': False, 'playbackNext': False, 'playbackPrev': False}, 'playbackModes': {'crossfade': False, 'repeat': 'off', 'shuffle': False}, 'volume': 0, 'isMuted': True, 'audioGroup': '08c02da0-c7f7-43dd-9404-a6c0b3212710'}, 'capabilities': {'canSend': [], 'canReceive': ['playback', 'playbackAudio', 'volume', 'isMuted']}, 'room': {'id': 'cb0cc864-07df-454d-9577-c239437bb537', 'name': 'Koupelna', 'color': 'ikea_yellow_no_31', 'icon': 'rooms_bathtub'}, 'deviceSet': [], 'remoteLinks': ['757307b9-cbe9-4bf1-9c61-2f79dad058e2_1'], 'isHidden': False}, {'id': '7fddfe10-24c8-43b0-82c1-9afbf074ae0c_1', 'type': 'repeater', 'deviceType': 'repeater', 'createdAt': '2024-05-20T13:43:52.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T16:33:10.000Z', 'attributes': {'customName': 'Signal repeater', 'model': 'TRADFRI Signal Repeater', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.3.086', 'hardwareVersion': '1', 'serialNumber': '70AC08FFFEB85433', 'productCode': 'E1746', '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']}, 'room': {'id': '771767fc-ad61-4c22-9189-60ab3e41a0a9', 'name': 'Dětský pokoj', 'color': 'ikea_orange_no_11', 'icon': 'rooms_play_area'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'e792f52a-cf3c-4fd4-a827-e0b7a3b9983d_1', 'type': 'sensor', 'deviceType': 'environmentSensor', 'createdAt': '2024-05-20T17:34:44.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T19:15:46.000Z', 'attributes': {'customName': 'Living Room temp sensor', 'model': 'Temperature/Humidity Sensor', 'manufacturer': 'SONOFF', 'firmwareVersion': '', 'hardwareVersion': '', 'serialNumber': '00124B00290F79CA', 'productCode': 'SNZB-02', 'currentTemperature': 23.549999237060547, 'currentRH': 61, 'permittingJoin': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName']}, 'room': {'id': 'e95da93f-3139-4fd5-b187-b26d7835f79f', 'name': 'Obývací pokoj', 'color': 'ikea_green_no_65', 'icon': 'rooms_sofa'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'cded7b04-d687-4c1e-8048-56481a89e352_1', 'type': 'controller', 'deviceType': 'shortcutController', 'createdAt': '2024-05-20T15:25:58.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T19:24:30.000Z', 'attributes': {'customName': 'Hall shortcut button', 'model': 'TRADFRI SHORTCUT Button', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '24.4.6', 'hardwareVersion': '1', 'serialNumber': 'F082C0FFFE2E2C21', 'productCode': 'E1812', 'batteryPercentage': 20, 'isOn': False, 'lightLevel': 1, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00'}, 'capabilities': {'canSend': ['singlePress', 'doublePress', 'longPress'], 'canReceive': ['customName']}, 'room': {'id': 'b29f6476-3176-4035-9ddf-233fa2f384f1', 'name': 'Chodba', 'color': 'pantone_16_0940_tcx', 'icon': 'rooms_coat_hanger'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'e08c299f-55a9-4199-b6fb-7b2299ca588f_1', 'type': 'sensor', 'deviceType': 'motionSensor', 'createdAt': '2024-05-20T14:43:42.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T19:32:30.000Z', 'attributes': {'customName': 'Office motion sensor', 'model': 'TRADFRI motion sensor', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '24.4.5', 'hardwareVersion': '1', 'serialNumber': '3425B4FFFE2E5D9A', 'productCode': 'E1745', 'batteryPercentage': 65, 'isOn': False, 'lightLevel': 1, 'permittingJoin': False, 'isDetected': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00', 'sensorConfig': {'scheduleOn': False, 'onDuration': 180}, 'circadianPresets': []}, 'capabilities': {'canSend': ['isOn', 'lightLevel'], 'canReceive': ['customName']}, 'room': {'id': '171caf1a-699b-4c62-ba63-0255ecbbbccf', 'name': 'Pracovna', 'color': 'ikea_yellow_no_28', 'icon': 'rooms_office_chair'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'b741f34a-bf6a-4f44-b21b-aac202e92acd_1', 'type': 'sensor', 'deviceType': 'environmentSensor', 'createdAt': '2024-05-20T15:21:12.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T19:37:12.000Z', 'attributes': {'customName': 'Kids Room temp sensor', 'model': 'Temperature/Humidity Sensor', 'manufacturer': 'SONOFF', 'firmwareVersion': '', 'hardwareVersion': '', 'serialNumber': '00124B00290F7C95', 'productCode': 'SNZB-02', 'currentTemperature': 22.049999237060547, 'currentRH': 66, 'permittingJoin': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName']}, 'room': {'id': '771767fc-ad61-4c22-9189-60ab3e41a0a9', 'name': 'Dětský pokoj', 'color': 'ikea_orange_no_11', 'icon': 'rooms_play_area'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'd7198534-d7ae-4ed8-8274-8c4e2e7ba3ea_1', 'type': 'speaker', 'deviceType': 'speaker', 'createdAt': '2024-05-20T10:40:31.236Z', 'isReachable': True, 'lastSeen': '2024-05-21T17:28:42.363Z', 'attributes': {'customName': 'TV Room', 'model': 'Sonos Beam S31 ColorWhite', 'manufacturer': 'Sonos, Inc.', 'firmwareVersion': '79.0-52294', 'hardwareVersion': '1.35.1.7-2.1', 'serialNumber': '54-2A-1B-94-29-2E:7', 'productCode': 'S31White', 'identifyStarted': '2024-05-20T10:40:31.236Z', 'identifyPeriod': 0, 'playback': 'playbackPlaying', 'playbackLastChangedTimestamp': '2024-05-21T14:21:22.984Z', 'playbackAudio': {'serviceType': 'sonos', 'providerType': 'linein.homeTheater.hdmi', 'playlist': {'id': 'eyJhY2NvdW50VHlwZSI6InNvbm9zIiwiY29udGVudFR5cGUiOiJjb250YWluZXIiLCJjb250ZW50Ijp7ImNvbnRhaW5lciI6eyJhY2NvdW50SWQiOm51bGwsIm9iamVjdElkIjoiaG9tZVRoZWF0ZXItaW5wdXQiLCJzZXJ2aWNlSWQiOm51bGwsInR5cGUiOiJsaW5laW4uaG9tZVRoZWF0ZXIuaGRtaSJ9fX0=', 'title': 'TV Audio'}}, 'playbackPosition': {'position': 0, 'timestamp': '2024-05-21T14:21:22.984Z'}, 'playbackAvailableActions': {'crossfade': False, 'pause': False, 'repeat': ['off'], 'seek': False, 'shuffle': False, 'playbackNext': False, 'playbackPrev': False}, 'playbackModes': {'crossfade': False, 'repeat': 'off', 'shuffle': False}, 'volume': 8, 'isMuted': False, 'audioGroup': '63031a4a-923e-4931-8a44-7e6b2cb99f7b'}, 'capabilities': {'canSend': [], 'canReceive': ['playback', 'playbackAudio', 'volume', 'isMuted']}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': True}, {'id': '0c8cec69-141e-47fd-ac97-af5b269d2fcd_1', 'type': 'controller', 'deviceType': 'lightController', 'createdAt': '2024-05-21T19:34:38.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T19:37:11.000Z', 'attributes': {'customName': 'Office On/Off switch', 'firmwareVersion': '24.4.6', 'hardwareVersion': '1', 'manufacturer': 'IKEA of Sweden', 'model': 'TRADFRI on/off switch', 'productCode': 'E1743', 'serialNumber': '70AC08FFFE94B220', 'batteryPercentage': 40, 'isOn': False, 'lightLevel': 1, 'permittingJoin': False, 'otaPolicy': 'autoUpdate', 'otaProgress': 0, 'otaScheduleEnd': '00:00', 'otaScheduleStart': '00:00', 'otaState': 'readyToCheck', 'otaStatus': 'upToDate', 'circadianPresets': []}, 'capabilities': {'canSend': ['isOn', 'lightLevel', 'blindsState'], 'canReceive': ['customName']}, 'room': {'id': '171caf1a-699b-4c62-ba63-0255ecbbbccf', 'name': 'Pracovna', 'color': 'ikea_yellow_no_28', 'icon': 'rooms_office_chair'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}] 2024-05-21 19:38:10.205 INFO (SyncWorker_20) [custom_components.dirigera_platform] -------------- 2024-05-21 19:38:10.205 INFO (SyncWorker_20) [custom_components.dirigera_platform] === END Devices JSON ===
@slajob @sanjoyg Is there any progress on the remote integrations? As far as I can tell, none of the remotes work?
Regardless, appreciate all your efforts!
Are you ok to create empty scenes and that trigger the remotes? The challenge with remote is that as far as I understand its a P2P device-2-device communication doesnt go thru the gateway.
Would it be possible to already add this feature as a beta because of the scenes? i would really like to use it and do not care if i have to use a empty scene for that.
I am having issues setting up an empty scene in the Home smart app. When I try to deselect the lightbulbs or try to proceed through the scene setup without selecting anything the Done button is greyed-out.
@slajob I will get on the empty scene. Can you confirm the behaviour of lightController, does that also generate events similar to what you posted
@ianlockhead I am working on the shortcuts but I dont have the buttons with me, let me know if you can help try out some beta release to make this work
@sanjoyg sorry guys I can’t help anymore cause I returned my Dirigera and completely switched all zigbee stuff to zigbee2mqtt
@sanjoyg I'm happy to beta test I've got a somrig
@sanjoyg I'm happy to beta test I've got a somrig
Lovely. Please do the following
Enabled
Debug Log, I just edited out the child names debug.json
No log events
Attach Scene to both buttons, I edited the second button twice
2024-09-09 02:56:08.016 DEBUG (Thread-312) [custom_components.dirigera_platform] rcvd message : {"id":"2533b4ce-d5de-4ea1-a8ef-a39432d7cab2","time":"2024-09-09T02:56:07.969Z","specversion":"3.160.0","source":"urn:com:ikea:homesmart:iotc:rulesengine","type":"sceneUpdated","data":{"id":"d7b6f882-37ca-4141-b18b-44230d603133","info":{"name":"Child2's Lights On","icon":"scenes_heart"},"type":"userScene","triggers":[{"id":"9a1a16b7-ef38-475f-a8c5-ece93d154483","type":"app","disabled":false},{"id":"a7ffef82-291f-4ac1-913c-1d88465a2834","type":"controller","disabled":false,"trigger":{"days":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],"controllerType":"shortcutController","clickPattern":"singlePress","buttonIndex":0,"deviceId":"534f7a8b-b1e9-494e-b397-d1612b5d859b_2"}}],"actions":[{"id":"5ce8eaf0-f949-4b19-9b3a-7c496615b724_1","type":"device","deviceId":"5ce8eaf0-f949-4b19-9b3a-7c496615b724_1","enabled":true,"attributes":{"isOn":true}}],"commands":[],"createdAt":"2024-09-08T09:31:31.902Z","lastCompleted":"2024-09-08T21:44:46.279Z","lastTriggered":"2024-09-08T21:44:46.279Z","undoAllowedDuration":30}}
2024-09-09 02:56:08.017 DEBUG (Thread-312) [custom_components.dirigera_platform] discarding non state message: {'id': '2533b4ce-d5de-4ea1-a8ef-a39432d7cab2', 'time': '2024-09-09T02:56:07.969Z', 'specversion': '3.160.0', 'source': 'urn:com:ikea:homesmart:iotc:rulesengine', 'type': 'sceneUpdated', 'data': {'id': 'd7b6f882-37ca-4141-b18b-44230d603133', 'info': {'name': "Child2's Lights On", 'icon': 'scenes_heart'}, 'type': 'userScene', 'triggers': [{'id': '9a1a16b7-ef38-475f-a8c5-ece93d154483', 'type': 'app', 'disabled': False}, {'id': 'a7ffef82-291f-4ac1-913c-1d88465a2834', 'type': 'controller', 'disabled': False, 'trigger': {'days': ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], 'controllerType': 'shortcutController', 'clickPattern': 'singlePress', 'buttonIndex': 0, 'deviceId': '534f7a8b-b1e9-494e-b397-d1612b5d859b_2'}}], 'actions': [{'id': '5ce8eaf0-f949-4b19-9b3a-7c496615b724_1', 'type': 'device', 'deviceId': '5ce8eaf0-f949-4b19-9b3a-7c496615b724_1', 'enabled': True, 'attributes': {'isOn': True}}], 'commands': [], 'createdAt': '2024-09-08T09:31:31.902Z', 'lastCompleted': '2024-09-08T21:44:46.279Z', 'lastTriggered': '2024-09-08T21:44:46.279Z', 'undoAllowedDuration': 30}}
2024-09-09 02:56:08.715 DEBUG (MainThread) [custom_components.dirigera_platform] update called Office Roof Light
2024-09-09 02:56:08.716 DEBUG (MainThread) [custom_components.dirigera_platform] update called Entryway
2024-09-09 02:56:08.716 DEBUG (MainThread) [custom_components.dirigera_platform] update called Outside Lights
2024-09-09 02:56:08.716 DEBUG (MainThread) [custom_components.dirigera_platform] update called Child2 Roof Light
2024-09-09 02:56:08.716 DEBUG (MainThread) [custom_components.dirigera_platform] update called Upstairs Light
2024-09-09 02:56:09.584 DEBUG (MainThread) [custom_components.dirigera_platform] update called Remote 1
2024-09-09 02:56:20.928 DEBUG (Thread-312) [custom_components.dirigera_platform] rcvd message : {"id":"c463a126-8883-43ad-b6d7-70482408f784","time":"2024-09-09T02:56:20.884Z","specversion":"3.160.0","source":"urn:com:ikea:homesmart:iotc:rulesengine","type":"sceneUpdated","data":{"id":"d7b6f882-37ca-4141-b18b-44230d603133","info":{"name":"Child2's Lights On","icon":"scenes_heart"},"type":"userScene","triggers":[{"id":"a7ffef82-291f-4ac1-913c-1d88465a2834","type":"controller","disabled":false,"trigger":{"days":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],"controllerType":"shortcutController","clickPattern":"singlePress","buttonIndex":0,"deviceId":"534f7a8b-b1e9-494e-b397-d1612b5d859b_2"}},{"id":"dda3e5f7-f59b-427f-bac9-38efdcd3fbc9","type":"controller","disabled":false,"trigger":{"days":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],"controllerType":"shortcutController","clickPattern":"singlePress","buttonIndex":0,"deviceId":"534f7a8b-b1e9-494e-b397-d1612b5d859b_1"}},{"id":"6830067d-ebe8-4ceb-aed3-b94825d700d1","type":"app","disabled":false}],"actions":[{"id":"5ce8eaf0-f949-4b19-9b3a-7c496615b724_1","type":"device","deviceId":"5ce8eaf0-f949-4b19-9b3a-7c496615b724_1","enabled":true,"attributes":{"isOn":true}}],"commands":[],"createdAt":"2024-09-08T09:31:31.902Z","lastCompleted":"2024-09-08T21:44:46.279Z","lastTriggered":"2024-09-08T21:44:46.279Z","undoAllowedDuration":30}}
2024-09-09 02:56:20.928 DEBUG (Thread-312) [custom_components.dirigera_platform] discarding non state message: {'id': 'c463a126-8883-43ad-b6d7-70482408f784', 'time': '2024-09-09T02:56:20.884Z', 'specversion': '3.160.0', 'source': 'urn:com:ikea:homesmart:iotc:rulesengine', 'type': 'sceneUpdated', 'data': {'id': 'd7b6f882-37ca-4141-b18b-44230d603133', 'info': {'name': "Child2's Lights On", 'icon': 'scenes_heart'}, 'type': 'userScene', 'triggers': [{'id': 'a7ffef82-291f-4ac1-913c-1d88465a2834', 'type': 'controller', 'disabled': False, 'trigger': {'days': ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], 'controllerType': 'shortcutController', 'clickPattern': 'singlePress', 'buttonIndex': 0, 'deviceId': '534f7a8b-b1e9-494e-b397-d1612b5d859b_2'}}, {'id': 'dda3e5f7-f59b-427f-bac9-38efdcd3fbc9', 'type': 'controller', 'disabled': False, 'trigger': {'days': ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], 'controllerType': 'shortcutController', 'clickPattern': 'singlePress', 'buttonIndex': 0, 'deviceId': '534f7a8b-b1e9-494e-b397-d1612b5d859b_1'}}, {'id': '6830067d-ebe8-4ceb-aed3-b94825d700d1', 'type': 'app', 'disabled': False}], 'actions': [{'id': '5ce8eaf0-f949-4b19-9b3a-7c496615b724_1', 'type': 'device', 'deviceId': '5ce8eaf0-f949-4b19-9b3a-7c496615b724_1', 'enabled': True, 'attributes': {'isOn': True}}], 'commands': [], 'createdAt': '2024-09-08T09:31:31.902Z', 'lastCompleted': '2024-09-08T21:44:46.279Z', 'lastTriggered': '2024-09-08T21:44:46.279Z', 'undoAllowedDuration': 30}}
2024-09-09 02:56:30.694 DEBUG (Thread-312) [custom_components.dirigera_platform] rcvd message : {"id":"c188bd32-73b2-458b-aee1-e8eb49635e81","time":"2024-09-09T02:56:30.616Z","specversion":"3.160.0","source":"urn:com:ikea:homesmart:iotc:rulesengine","type":"sceneUpdated","data":{"id":"d7b6f882-37ca-4141-b18b-44230d603133","info":{"name":"Child2's Lights On","icon":"scenes_heart"},"type":"userScene","triggers":[{"id":"dda3e5f7-f59b-427f-bac9-38efdcd3fbc9","type":"controller","disabled":false,"trigger":{"days":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],"controllerType":"shortcutController","clickPattern":"singlePress","buttonIndex":0,"deviceId":"534f7a8b-b1e9-494e-b397-d1612b5d859b_1"}},{"id":"5ea5fc6d-399b-4637-bad9-98572d107e9f","type":"app","disabled":false}],"actions":[{"id":"5ce8eaf0-f949-4b19-9b3a-7c496615b724_1","type":"device","deviceId":"5ce8eaf0-f949-4b19-9b3a-7c496615b724_1","enabled":true,"attributes":{"isOn":true}}],"commands":[],"createdAt":"2024-09-08T09:31:31.902Z","lastCompleted":"2024-09-08T21:44:46.279Z","lastTriggered":"2024-09-08T21:44:46.279Z","undoAllowedDuration":30}}
2024-09-09 02:56:30.694 DEBUG (Thread-312) [custom_components.dirigera_platform] discarding non state message: {'id': 'c188bd32-73b2-458b-aee1-e8eb49635e81', 'time': '2024-09-09T02:56:30.616Z', 'specversion': '3.160.0', 'source': 'urn:com:ikea:homesmart:iotc:rulesengine', 'type': 'sceneUpdated', 'data': {'id': 'd7b6f882-37ca-4141-b18b-44230d603133', 'info': {'name': "Child2's Lights On", 'icon': 'scenes_heart'}, 'type': 'userScene', 'triggers': [{'id': 'dda3e5f7-f59b-427f-bac9-38efdcd3fbc9', 'type': 'controller', 'disabled': False, 'trigger': {'days': ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], 'controllerType': 'shortcutController', 'clickPattern': 'singlePress', 'buttonIndex': 0, 'deviceId': '534f7a8b-b1e9-494e-b397-d1612b5d859b_1'}}, {'id': '5ea5fc6d-399b-4637-bad9-98572d107e9f', 'type': 'app', 'disabled': False}], 'actions': [{'id': '5ce8eaf0-f949-4b19-9b3a-7c496615b724_1', 'type': 'device', 'deviceId': '5ce8eaf0-f949-4b19-9b3a-7c496615b724_1', 'enabled': True, 'attributes': {'isOn': True}}], 'commands': [], 'createdAt': '2024-09-08T09:31:31.902Z', 'lastCompleted': '2024-09-08T21:44:46.279Z', 'lastTriggered': '2024-09-08T21:44:46.279Z', 'undoAllowedDuration': 30}}
2024-09-09 02:56:30.846 DEBUG (Thread-312) [custom_components.dirigera_platform] rcvd message : {"id":"b9de05dc-436a-4f0a-b4df-3b926c4d5999","time":"2024-09-09T02:56:30.803Z","specversion":"3.160.0","source":"urn:com:ikea:homesmart:iotc:rulesengine","type":"sceneUpdated","data":{"id":"4db06ef5-55ef-4eb1-bb14-710eb8e96e74","info":{"name":"Child2's Light Off","icon":"scenes_game_pad"},"type":"userScene","triggers":[{"id":"fe5f0a4e-3a3a-4d33-9e5d-c7179adb638b","type":"controller","disabled":false,"trigger":{"days":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],"controllerType":"shortcutController","clickPattern":"singlePress","buttonIndex":0,"deviceId":"534f7a8b-b1e9-494e-b397-d1612b5d859b_2"}},{"id":"c5fb177e-7dc4-4d6f-8614-5f815c2d7590","type":"app","disabled":false}],"actions":[{"id":"5ce8eaf0-f949-4b19-9b3a-7c496615b724_1","type":"device","deviceId":"5ce8eaf0-f949-4b19-9b3a-7c496615b724_1","enabled":true,"attributes":{"isOn":false}}],"commands":[],"createdAt":"2024-09-08T09:32:54.004Z","lastCompleted":"2024-09-08T10:09:36.986Z","lastTriggered":"2024-09-08T10:09:36.986Z","undoAllowedDuration":30}}
2024-09-09 02:56:30.846 DEBUG (Thread-312) [custom_components.dirigera_platform] discarding non state message: {'id': 'b9de05dc-436a-4f0a-b4df-3b926c4d5999', 'time': '2024-09-09T02:56:30.803Z', 'specversion': '3.160.0', 'source': 'urn:com:ikea:homesmart:iotc:rulesengine', 'type': 'sceneUpdated', 'data': {'id': '4db06ef5-55ef-4eb1-bb14-710eb8e96e74', 'info': {'name': "Child2's Light Off", 'icon': 'scenes_game_pad'}, 'type': 'userScene', 'triggers': [{'id': 'fe5f0a4e-3a3a-4d33-9e5d-c7179adb638b', 'type': 'controller', 'disabled': False, 'trigger': {'days': ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], 'controllerType': 'shortcutController', 'clickPattern': 'singlePress', 'buttonIndex': 0, 'deviceId': '534f7a8b-b1e9-494e-b397-d1612b5d859b_2'}}, {'id': 'c5fb177e-7dc4-4d6f-8614-5f815c2d7590', 'type': 'app', 'disabled': False}], 'actions': [{'id': '5ce8eaf0-f949-4b19-9b3a-7c496615b724_1', 'type': 'device', 'deviceId': '5ce8eaf0-f949-4b19-9b3a-7c496615b724_1', 'enabled': True, 'attributes': {'isOn': False}}], 'commands': [], 'createdAt': '2024-09-08T09:32:54.004Z', 'lastCompleted': '2024-09-08T10:09:36.986Z', 'lastTriggered': '2024-09-08T10:09:36.986Z', 'undoAllowedDuration': 30}}
Press Button 1
2024-09-09 02:59:09.579 DEBUG (Thread-312) [custom_components.dirigera_platform] rcvd message : {"id":"8f20c5ca-1534-4d04-bf81-20bd6312491e","time":"2024-09-09T02:59:09.221Z","specversion":"3.160.0","source":"urn:com:ikea:homesmart:iotc:rulesengine","type":"sceneUpdated","data":{"id":"d7b6f882-37ca-4141-b18b-44230d603133","info":{"name":"Child2's Lights On","icon":"scenes_heart"},"type":"userScene","triggers":[{"id":"dda3e5f7-f59b-427f-bac9-38efdcd3fbc9","type":"controller","triggeredAt":"2024-09-09T02:59:09.221Z","disabled":false,"trigger":{"days":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],"controllerType":"shortcutController","clickPattern":"singlePress","buttonIndex":0,"deviceId":"534f7a8b-b1e9-494e-b397-d1612b5d859b_1"}},{"id":"5ea5fc6d-399b-4637-bad9-98572d107e9f","type":"app","disabled":false}],"actions":[{"id":"5ce8eaf0-f949-4b19-9b3a-7c496615b724_1","type":"device","deviceId":"5ce8eaf0-f949-4b19-9b3a-7c496615b724_1","enabled":true,"attributes":{"isOn":true}}],"commands":[],"createdAt":"2024-09-08T09:31:31.902Z","lastCompleted":"2024-09-09T02:59:09.239Z","lastTriggered":"2024-09-09T02:59:09.239Z","undoAllowedDuration":30}}
2024-09-09 02:59:09.579 DEBUG (Thread-312) [custom_components.dirigera_platform] discarding non state message: {'id': '8f20c5ca-1534-4d04-bf81-20bd6312491e', 'time': '2024-09-09T02:59:09.221Z', 'specversion': '3.160.0', 'source': 'urn:com:ikea:homesmart:iotc:rulesengine', 'type': 'sceneUpdated', 'data': {'id': 'd7b6f882-37ca-4141-b18b-44230d603133', 'info': {'name': "Child2's Lights On", 'icon': 'scenes_heart'}, 'type': 'userScene', 'triggers': [{'id': 'dda3e5f7-f59b-427f-bac9-38efdcd3fbc9', 'type': 'controller', 'triggeredAt': '2024-09-09T02:59:09.221Z', 'disabled': False, 'trigger': {'days': ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], 'controllerType': 'shortcutController', 'clickPattern': 'singlePress', 'buttonIndex': 0, 'deviceId': '534f7a8b-b1e9-494e-b397-d1612b5d859b_1'}}, {'id': '5ea5fc6d-399b-4637-bad9-98572d107e9f', 'type': 'app', 'disabled': False}], 'actions': [{'id': '5ce8eaf0-f949-4b19-9b3a-7c496615b724_1', 'type': 'device', 'deviceId': '5ce8eaf0-f949-4b19-9b3a-7c496615b724_1', 'enabled': True, 'attributes': {'isOn': True}}], 'commands': [], 'createdAt': '2024-09-08T09:31:31.902Z', 'lastCompleted': '2024-09-09T02:59:09.239Z', 'lastTriggered': '2024-09-09T02:59:09.239Z', 'undoAllowedDuration': 30}}
2024-09-09 02:59:09.587 DEBUG (MainThread) [custom_components.dirigera_platform] update called Remote 1
2024-09-09 02:59:09.809 DEBUG (Thread-312) [custom_components.dirigera_platform] rcvd message : {"id":"7f750462-6dd8-479f-a850-5b4ab8ff0ff9","time":"2024-09-09T02:59:09.260Z","specversion":"3.160.0","source":"urn:com:ikea:homesmart:iotc:rulesengine","type":"sceneUpdated","data":{"id":"d7b6f882-37ca-4141-b18b-44230d603133","info":{"name":"Child2's Lights On","icon":"scenes_heart"},"type":"userScene","triggers":[{"id":"dda3e5f7-f59b-427f-bac9-38efdcd3fbc9","type":"controller","triggeredAt":"2024-09-09T02:59:09.221Z","disabled":false,"trigger":{"days":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],"controllerType":"shortcutController","clickPattern":"singlePress","buttonIndex":0,"deviceId":"534f7a8b-b1e9-494e-b397-d1612b5d859b_1"}},{"id":"5ea5fc6d-399b-4637-bad9-98572d107e9f","type":"app","disabled":false}],"actions":[{"id":"5ce8eaf0-f949-4b19-9b3a-7c496615b724_1","type":"device","deviceId":"5ce8eaf0-f949-4b19-9b3a-7c496615b724_1","enabled":true,"attributes":{"isOn":true}}],"commands":[],"createdAt":"2024-09-08T09:31:31.902Z","lastCompleted":"2024-09-09T02:59:09.239Z","lastTriggered":"2024-09-09T02:59:09.239Z","undoAllowedDuration":30}}
2024-09-09 02:59:09.809 DEBUG (Thread-312) [custom_components.dirigera_platform] discarding non state message: {'id': '7f750462-6dd8-479f-a850-5b4ab8ff0ff9', 'time': '2024-09-09T02:59:09.260Z', 'specversion': '3.160.0', 'source': 'urn:com:ikea:homesmart:iotc:rulesengine', 'type': 'sceneUpdated', 'data': {'id': 'd7b6f882-37ca-4141-b18b-44230d603133', 'info': {'name': "Child2's Lights On", 'icon': 'scenes_heart'}, 'type': 'userScene', 'triggers': [{'id': 'dda3e5f7-f59b-427f-bac9-38efdcd3fbc9', 'type': 'controller', 'triggeredAt': '2024-09-09T02:59:09.221Z', 'disabled': False, 'trigger': {'days': ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], 'controllerType': 'shortcutController', 'clickPattern': 'singlePress', 'buttonIndex': 0, 'deviceId': '534f7a8b-b1e9-494e-b397-d1612b5d859b_1'}}, {'id': '5ea5fc6d-399b-4637-bad9-98572d107e9f', 'type': 'app', 'disabled': False}], 'actions': [{'id': '5ce8eaf0-f949-4b19-9b3a-7c496615b724_1', 'type': 'device', 'deviceId': '5ce8eaf0-f949-4b19-9b3a-7c496615b724_1', 'enabled': True, 'attributes': {'isOn': True}}], 'commands': [], 'createdAt': '2024-09-08T09:31:31.902Z', 'lastCompleted': '2024-09-09T02:59:09.239Z', 'lastTriggered': '2024-09-09T02:59:09.239Z', 'undoAllowedDuration': 30}}
Press Button 2
2024-09-09 02:59:48.029 DEBUG (Thread-312) [custom_components.dirigera_platform] rcvd message : {"id":"2769f539-b7ed-4ac6-ac04-47b0d409109f","time":"2024-09-09T02:59:47.996Z","specversion":"3.160.0","source":"urn:com:ikea:homesmart:iotc:rulesengine","type":"sceneUpdated","data":{"id":"4db06ef5-55ef-4eb1-bb14-710eb8e96e74","info":{"name":"Child2's Light Off","icon":"scenes_game_pad"},"type":"userScene","triggers":[{"id":"fe5f0a4e-3a3a-4d33-9e5d-c7179adb638b","type":"controller","triggeredAt":"2024-09-09T02:59:47.995Z","disabled":false,"trigger":{"days":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],"controllerType":"shortcutController","clickPattern":"singlePress","buttonIndex":0,"deviceId":"534f7a8b-b1e9-494e-b397-d1612b5d859b_2"}},{"id":"c5fb177e-7dc4-4d6f-8614-5f815c2d7590","type":"app","disabled":false}],"actions":[{"id":"5ce8eaf0-f949-4b19-9b3a-7c496615b724_1","type":"device","deviceId":"5ce8eaf0-f949-4b19-9b3a-7c496615b724_1","enabled":true,"attributes":{"isOn":false}}],"commands":[],"createdAt":"2024-09-08T09:32:54.004Z","lastCompleted":"2024-09-08T10:09:36.986Z","lastTriggered":"2024-09-08T10:09:36.986Z","undoAllowedDuration":30}}
2024-09-09 02:59:48.029 DEBUG (Thread-312) [custom_components.dirigera_platform] discarding non state message: {'id': '2769f539-b7ed-4ac6-ac04-47b0d409109f', 'time': '2024-09-09T02:59:47.996Z', 'specversion': '3.160.0', 'source': 'urn:com:ikea:homesmart:iotc:rulesengine', 'type': 'sceneUpdated', 'data': {'id': '4db06ef5-55ef-4eb1-bb14-710eb8e96e74', 'info': {'name': "Child2's Light Off", 'icon': 'scenes_game_pad'}, 'type': 'userScene', 'triggers': [{'id': 'fe5f0a4e-3a3a-4d33-9e5d-c7179adb638b', 'type': 'controller', 'triggeredAt': '2024-09-09T02:59:47.995Z', 'disabled': False, 'trigger': {'days': ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], 'controllerType': 'shortcutController', 'clickPattern': 'singlePress', 'buttonIndex': 0, 'deviceId': '534f7a8b-b1e9-494e-b397-d1612b5d859b_2'}}, {'id': 'c5fb177e-7dc4-4d6f-8614-5f815c2d7590', 'type': 'app', 'disabled': False}], 'actions': [{'id': '5ce8eaf0-f949-4b19-9b3a-7c496615b724_1', 'type': 'device', 'deviceId': '5ce8eaf0-f949-4b19-9b3a-7c496615b724_1', 'enabled': True, 'attributes': {'isOn': False}}], 'commands': [], 'createdAt': '2024-09-08T09:32:54.004Z', 'lastCompleted': '2024-09-08T10:09:36.986Z', 'lastTriggered': '2024-09-08T10:09:36.986Z', 'undoAllowedDuration': 30}}
2024-09-09 02:59:48.065 DEBUG (Thread-312) [custom_components.dirigera_platform] rcvd message : {"id":"73789962-55af-4d9d-aeff-47015df21f71","time":"2024-09-09T02:59:48.034Z","specversion":"3.160.0","source":"urn:com:ikea:homesmart:iotc:rulesengine","type":"sceneUpdated","data":{"id":"4db06ef5-55ef-4eb1-bb14-710eb8e96e74","info":{"name":"Child2's Light Off","icon":"scenes_game_pad"},"type":"userScene","triggers":[{"id":"fe5f0a4e-3a3a-4d33-9e5d-c7179adb638b","type":"controller","triggeredAt":"2024-09-09T02:59:47.995Z","disabled":false,"trigger":{"days":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],"controllerType":"shortcutController","clickPattern":"singlePress","buttonIndex":0,"deviceId":"534f7a8b-b1e9-494e-b397-d1612b5d859b_2"}},{"id":"c5fb177e-7dc4-4d6f-8614-5f815c2d7590","type":"app","disabled":false}],"actions":[{"id":"5ce8eaf0-f949-4b19-9b3a-7c496615b724_1","type":"device","deviceId":"5ce8eaf0-f949-4b19-9b3a-7c496615b724_1","enabled":true,"attributes":{"isOn":false}}],"commands":[],"createdAt":"2024-09-08T09:32:54.004Z","lastCompleted":"2024-09-09T02:59:48.002Z","lastTriggered":"2024-09-09T02:59:48.002Z","undoAllowedDuration":30}}
2024-09-09 02:59:48.065 DEBUG (Thread-312) [custom_components.dirigera_platform] discarding non state message: {'id': '73789962-55af-4d9d-aeff-47015df21f71', 'time': '2024-09-09T02:59:48.034Z', 'specversion': '3.160.0', 'source': 'urn:com:ikea:homesmart:iotc:rulesengine', 'type': 'sceneUpdated', 'data': {'id': '4db06ef5-55ef-4eb1-bb14-710eb8e96e74', 'info': {'name': "Child2's Light Off", 'icon': 'scenes_game_pad'}, 'type': 'userScene', 'triggers': [{'id': 'fe5f0a4e-3a3a-4d33-9e5d-c7179adb638b', 'type': 'controller', 'triggeredAt': '2024-09-09T02:59:47.995Z', 'disabled': False, 'trigger': {'days': ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], 'controllerType': 'shortcutController', 'clickPattern': 'singlePress', 'buttonIndex': 0, 'deviceId': '534f7a8b-b1e9-494e-b397-d1612b5d859b_2'}}, {'id': 'c5fb177e-7dc4-4d6f-8614-5f815c2d7590', 'type': 'app', 'disabled': False}], 'actions': [{'id': '5ce8eaf0-f949-4b19-9b3a-7c496615b724_1', 'type': 'device', 'deviceId': '5ce8eaf0-f949-4b19-9b3a-7c496615b724_1', 'enabled': True, 'attributes': {'isOn': False}}], 'commands': [], 'createdAt': '2024-09-08T09:32:54.004Z', 'lastCompleted': '2024-09-09T02:59:48.002Z', 'lastTriggered': '2024-09-09T02:59:48.002Z', 'undoAllowedDuration': 30}}
2024-09-09 02:59:48.475 DEBUG (Thread-312) [custom_components.dirigera_platform] rcvd message : {"id":"6f92a513-0f95-4b07-b6a3-94944d298925","time":"2024-09-09T02:59:48.000Z","specversion":"3.160.0","source":"urn:com:ikea:homesmart:iotc:zigbee","type":"deviceStateChanged","data":{"id":"5ce8eaf0-f949-4b19-9b3a-7c496615b724_1","type":"outlet","deviceType":"outlet","createdAt":"2024-09-08T07:34:16.000Z","isReachable":true,"lastSeen":"2024-09-09T02:59:48.000Z","attributes":{"isOn":false},"remoteLinks":[]}}
2024-09-09 02:59:48.475 DEBUG (Thread-312) [custom_components.dirigera_platform] device type of message outlet
2024-09-09 02:59:48.475 DEBUG (Thread-312) [custom_components.dirigera_platform] Setting 5ce8eaf0-f949-4b19-9b3a-7c496615b724_1 reachable as True
2024-09-09 02:59:48.475 DEBUG (Thread-312) [custom_components.dirigera_platform] setting is_on to False
2024-09-09 02:59:48.475 DEBUG (Thread-312) [custom_components.dirigera_platform] id='5ce8eaf0-f949-4b19-9b3a-7c496615b724_1' relation_id=None type='outlet' device_type='outlet' created_at=datetime.datetime(2024, 9, 8, 7, 34, 16, tzinfo=datetime.timezone.utc) is_reachable=True last_seen=datetime.datetime(2024, 9, 8, 21, 44, 46, tzinfo=datetime.timezone.utc) attributes=OutletAttributes(custom_name='Child2 Roof Light', model='TRETAKT Smart plug', manufacturer='IKEA of Sweden', firmware_version='2.4.4', hardware_version='1', serial_number='8C65A3FFFE6F465D', product_code='E2217', ota_status='upToDate', ota_state='readyToCheck', ota_progress=0, ota_policy='autoUpdate', ota_schedule_start=datetime.time(0, 0), ota_schedule_end=datetime.time(0, 0), is_on=False, startup_on_off=<StartupEnum.START_PREVIOUS: 'startPrevious'>) capabilities=Capabilities(can_send=[], can_receive=['customName', 'isOn', 'lightLevel', 'childLock', 'statusLight']) room=Room(id='82b278fa-d8b3-49b1-b430-76713fbb725e', name="Child2's Room", color='ikea_pink_no_4', icon='rooms_bed') device_set=[] remote_links=[] is_hidden=False dirigera_client=<dirigera.hub.hub.Hub object at 0x7eb0da5f5910>
The attached scene is turn on TRETAKT with button 1 and turn off TRETAKT with button 2
Additional.. a device changed by a scene does not show its new state in HASS
So if I press the remote button the light turns on but HASS show's the light as off
Thank you for all the debug info @s3than . Please try the latest release (pre-release)
Apologies @sanjoyg please find attached logs..
2024-09-21 05:48:29.041 ERROR (MainThread) [custom_components.dirigera_platform] In unload so forcing delete of scenes...
2024-09-21 05:48:29.274 ERROR (MainThread) [custom_components.dirigera_platform] Done deleting scene....
2024-09-21 05:48:29.276 DEBUG (MainThread) [custom_components.dirigera_platform] Successfully popped entry
2024-09-21 05:48:29.276 DEBUG (MainThread) [custom_components.dirigera_platform] Complete async_unload_entry
2024-09-21 05:48:29.276 ERROR (MainThread) [custom_components.dirigera_platform] Staring async_setup_entry in init...
2024-09-21 05:48:29.276 ERROR (MainThread) [custom_components.dirigera_platform] {'ip_address': '192.168.80.55', 'token': 'eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjkyODQ3ZDM4ZDI0Njg0YzdmMDc4ZjVkZGYxMmI1YTM0ZWU0NzQ3N2VkZjYxZGNkN2ZiZWZlZGRhOTdmYjk5YjQifQ.eyJpc3MiOiJiOTkyNzRjMi03MmY0LTQ0NWEtYWIyYy0wMTQ5ZWMwYjQ3NDkiLCJ0eXBlIjoiYWNjZXNzIiwiYXVkIjoiaG9tZXNtYXJ0LmxvY2FsIiwic3ViIjoiNjFkNTAwNzYtM2NlZC00NTVhLTlmNzYtMDUwMGEyNGVlMGEyIiwiaWF0IjoxNzI1Nzc4ODExLCJleHAiOjIwNDEzNTQ4MTF9.EYg8nmDwNquZNVzTCNci9A2w6V_TiHzlJAHnLypObvTra5SDKW_KwNNsd52Dj632rhhBnFNvaqdCWBD7cS6b8A', 'hide_device_set_bulbs': True}
2024-09-21 05:48:29.276 ERROR (MainThread) [custom_components.dirigera_platform] async_setup_entry None ConfigEntryState.SETUP_IN_PROGRESS 01J786XQ56KF0MAHBFKWYW07ES IKEA Dirigera Hub : 192.168.80.55 dirigera_platform
2024-09-21 05:48:29.276 DEBUG (MainThread) [custom_components.dirigera_platform] hass_data : {'ip_address': '192.168.80.55', 'token': 'eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjkyODQ3ZDM4ZDI0Njg0YzdmMDc4ZjVkZGYxMmI1YTM0ZWU0NzQ3N2VkZjYxZGNkN2ZiZWZlZGRhOTdmYjk5YjQifQ.eyJpc3MiOiJiOTkyNzRjMi03MmY0LTQ0NWEtYWIyYy0wMTQ5ZWMwYjQ3NDkiLCJ0eXBlIjoiYWNjZXNzIiwiYXVkIjoiaG9tZXNtYXJ0LmxvY2FsIiwic3ViIjoiNjFkNTAwNzYtM2NlZC00NTVhLTlmNzYtMDUwMGEyNGVlMGEyIiwiaWF0IjoxNzI1Nzc4ODExLCJleHAiOjIwNDEzNTQ4MTF9.EYg8nmDwNquZNVzTCNci9A2w6V_TiHzlJAHnLypObvTra5SDKW_KwNNsd52Dj632rhhBnFNvaqdCWBD7cS6b8A', 'hide_device_set_bulbs': True}
2024-09-21 05:48:29.276 DEBUG (MainThread) [custom_components.dirigera_platform] Found HIDE_DEVICE_SET *****
2024-09-21 05:48:29.276 DEBUG (MainThread) [custom_components.dirigera_platform] {'ip_address': '192.168.80.55', 'token': 'eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjkyODQ3ZDM4ZDI0Njg0YzdmMDc4ZjVkZGYxMmI1YTM0ZWU0NzQ3N2VkZjYxZGNkN2ZiZWZlZGRhOTdmYjk5YjQifQ.eyJpc3MiOiJiOTkyNzRjMi03MmY0LTQ0NWEtYWIyYy0wMTQ5ZWMwYjQ3NDkiLCJ0eXBlIjoiYWNjZXNzIiwiYXVkIjoiaG9tZXNtYXJ0LmxvY2FsIiwic3ViIjoiNjFkNTAwNzYtM2NlZC00NTVhLTlmNzYtMDUwMGEyNGVlMGEyIiwiaWF0IjoxNzI1Nzc4ODExLCJleHAiOjIwNDEzNTQ4MTF9.EYg8nmDwNquZNVzTCNci9A2w6V_TiHzlJAHnLypObvTra5SDKW_KwNNsd52Dj632rhhBnFNvaqdCWBD7cS6b8A', 'hide_device_set_bulbs': True}
2024-09-21 05:48:29.276 DEBUG (MainThread) [custom_components.dirigera_platform] ******** HIDE : True ********
2024-09-21 05:48:29.276 DEBUG (MainThread) [custom_components.dirigera_platform] SWITCH Starting async_setup_entry
2024-09-21 05:48:29.276 DEBUG (MainThread) [custom_components.dirigera_platform] Binary Sensor Starting async_setup_entry
2024-09-21 05:48:29.276 DEBUG (MainThread) [custom_components.dirigera_platform] {'ip_address': '192.168.80.55', 'token': 'eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjkyODQ3ZDM4ZDI0Njg0YzdmMDc4ZjVkZGYxMmI1YTM0ZWU0NzQ3N2VkZjYxZGNkN2ZiZWZlZGRhOTdmYjk5YjQifQ.eyJpc3MiOiJiOTkyNzRjMi03MmY0LTQ0NWEtYWIyYy0wMTQ5ZWMwYjQ3NDkiLCJ0eXBlIjoiYWNjZXNzIiwiYXVkIjoiaG9tZXNtYXJ0LmxvY2FsIiwic3ViIjoiNjFkNTAwNzYtM2NlZC00NTVhLTlmNzYtMDUwMGEyNGVlMGEyIiwiaWF0IjoxNzI1Nzc4ODExLCJleHAiOjIwNDEzNTQ4MTF9.EYg8nmDwNquZNVzTCNci9A2w6V_TiHzlJAHnLypObvTra5SDKW_KwNNsd52Dj632rhhBnFNvaqdCWBD7cS6b8A', 'hide_device_set_bulbs': True, 'unsub_options_update_listener': <function ConfigEntry.add_update_listener.<locals>.<lambda> at 0x7d64d64c28e0>}
2024-09-21 05:48:29.276 DEBUG (MainThread) [custom_components.dirigera_platform] LIGHT Starting async_setup_entry
2024-09-21 05:48:29.276 DEBUG (MainThread) [custom_components.dirigera_platform] {'ip_address': '192.168.80.55', 'token': 'eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjkyODQ3ZDM4ZDI0Njg0YzdmMDc4ZjVkZGYxMmI1YTM0ZWU0NzQ3N2VkZjYxZGNkN2ZiZWZlZGRhOTdmYjk5YjQifQ.eyJpc3MiOiJiOTkyNzRjMi03MmY0LTQ0NWEtYWIyYy0wMTQ5ZWMwYjQ3NDkiLCJ0eXBlIjoiYWNjZXNzIiwiYXVkIjoiaG9tZXNtYXJ0LmxvY2FsIiwic3ViIjoiNjFkNTAwNzYtM2NlZC00NTVhLTlmNzYtMDUwMGEyNGVlMGEyIiwiaWF0IjoxNzI1Nzc4ODExLCJleHAiOjIwNDEzNTQ4MTF9.EYg8nmDwNquZNVzTCNci9A2w6V_TiHzlJAHnLypObvTra5SDKW_KwNNsd52Dj632rhhBnFNvaqdCWBD7cS6b8A', 'hide_device_set_bulbs': True, 'unsub_options_update_listener': <function ConfigEntry.add_update_listener.<locals>.<lambda> at 0x7d64d64c28e0>}
2024-09-21 05:48:29.276 DEBUG (MainThread) [custom_components.dirigera_platform] found setting hide_device_set_bulbs : True
2024-09-21 05:48:29.276 DEBUG (MainThread) [custom_components.dirigera_platform] EnvSensor & Controllers Starting async_setup_entry
2024-09-21 05:48:29.276 ERROR (MainThread) [custom_components.dirigera_platform] Staring async_setup_entry in SENSOR...
2024-09-21 05:48:29.276 ERROR (MainThread) [custom_components.dirigera_platform] {'ip_address': '192.168.80.55', 'token': 'eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjkyODQ3ZDM4ZDI0Njg0YzdmMDc4ZjVkZGYxMmI1YTM0ZWU0NzQ3N2VkZjYxZGNkN2ZiZWZlZGRhOTdmYjk5YjQifQ.eyJpc3MiOiJiOTkyNzRjMi03MmY0LTQ0NWEtYWIyYy0wMTQ5ZWMwYjQ3NDkiLCJ0eXBlIjoiYWNjZXNzIiwiYXVkIjoiaG9tZXNtYXJ0LmxvY2FsIiwic3ViIjoiNjFkNTAwNzYtM2NlZC00NTVhLTlmNzYtMDUwMGEyNGVlMGEyIiwiaWF0IjoxNzI1Nzc4ODExLCJleHAiOjIwNDEzNTQ4MTF9.EYg8nmDwNquZNVzTCNci9A2w6V_TiHzlJAHnLypObvTra5SDKW_KwNNsd52Dj632rhhBnFNvaqdCWBD7cS6b8A', 'hide_device_set_bulbs': True}
2024-09-21 05:48:29.276 ERROR (MainThread) [custom_components.dirigera_platform] async_setup_entry SENSOR None ConfigEntryState.SETUP_IN_PROGRESS 01J786XQ56KF0MAHBFKWYW07ES IKEA Dirigera Hub : 192.168.80.55 dirigera_platform
2024-09-21 05:48:29.277 DEBUG (MainThread) [custom_components.dirigera_platform] {'ip_address': '192.168.80.55', 'token': 'eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjkyODQ3ZDM4ZDI0Njg0YzdmMDc4ZjVkZGYxMmI1YTM0ZWU0NzQ3N2VkZjYxZGNkN2ZiZWZlZGRhOTdmYjk5YjQifQ.eyJpc3MiOiJiOTkyNzRjMi03MmY0LTQ0NWEtYWIyYy0wMTQ5ZWMwYjQ3NDkiLCJ0eXBlIjoiYWNjZXNzIiwiYXVkIjoiaG9tZXNtYXJ0LmxvY2FsIiwic3ViIjoiNjFkNTAwNzYtM2NlZC00NTVhLTlmNzYtMDUwMGEyNGVlMGEyIiwiaWF0IjoxNzI1Nzc4ODExLCJleHAiOjIwNDEzNTQ4MTF9.EYg8nmDwNquZNVzTCNci9A2w6V_TiHzlJAHnLypObvTra5SDKW_KwNNsd52Dj632rhhBnFNvaqdCWBD7cS6b8A', 'hide_device_set_bulbs': True, 'unsub_options_update_listener': <function ConfigEntry.add_update_listener.<locals>.<lambda> at 0x7d64d64c28e0>}
2024-09-21 05:48:29.277 DEBUG (MainThread) [custom_components.dirigera_platform] BLINDS Starting async_setup_entry
2024-09-21 05:48:29.277 DEBUG (MainThread) [custom_components.dirigera_platform] FAN/AirPurifier Starting async_setup_entry
2024-09-21 05:48:29.277 DEBUG (MainThread) [custom_components.dirigera_platform] {'ip_address': '192.168.80.55', 'token': 'eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjkyODQ3ZDM4ZDI0Njg0YzdmMDc4ZjVkZGYxMmI1YTM0ZWU0NzQ3N2VkZjYxZGNkN2ZiZWZlZGRhOTdmYjk5YjQifQ.eyJpc3MiOiJiOTkyNzRjMi03MmY0LTQ0NWEtYWIyYy0wMTQ5ZWMwYjQ3NDkiLCJ0eXBlIjoiYWNjZXNzIiwiYXVkIjoiaG9tZXNtYXJ0LmxvY2FsIiwic3ViIjoiNjFkNTAwNzYtM2NlZC00NTVhLTlmNzYtMDUwMGEyNGVlMGEyIiwiaWF0IjoxNzI1Nzc4ODExLCJleHAiOjIwNDEzNTQ4MTF9.EYg8nmDwNquZNVzTCNci9A2w6V_TiHzlJAHnLypObvTra5SDKW_KwNNsd52Dj632rhhBnFNvaqdCWBD7cS6b8A', 'hide_device_set_bulbs': True, 'unsub_options_update_listener': <function ConfigEntry.add_update_listener.<locals>.<lambda> at 0x7d64d64c28e0>}
2024-09-21 05:48:29.277 DEBUG (MainThread) [custom_components.dirigera_platform] async_setup_entry for scenes...
2024-09-21 05:48:29.277 INFO (Thread-148) [custom_components.dirigera_platform] Starting dirigera hub event listener
2024-09-21 05:48:29.279 DEBUG (MainThread) [custom_components.dirigera_platform] Complete async_setup_entry...
2024-09-21 05:48:30.134 DEBUG (MainThread) [custom_components.dirigera_platform] ikea_base_device ctor...
2024-09-21 05:48:30.134 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property custom_name : value Office Roof Light
2024-09-21 05:48:30.134 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property model : value TRETAKT Smart plug
2024-09-21 05:48:30.134 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property manufacturer : value IKEA of Sweden
2024-09-21 05:48:30.134 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property firmware_version : value 2.4.4
2024-09-21 05:48:30.134 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property hardware_version : value 1
2024-09-21 05:48:30.134 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property serial_number : value 94B216FFFEC67F6A
2024-09-21 05:48:30.134 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property product_code : value E2217
2024-09-21 05:48:30.134 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_status : value upToDate
2024-09-21 05:48:30.134 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_state : value readyToCheck
2024-09-21 05:48:30.134 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_progress : value 0
2024-09-21 05:48:30.134 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_policy : value autoUpdate
2024-09-21 05:48:30.134 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_schedule_start : value 00:00:00
2024-09-21 05:48:30.134 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_schedule_end : value 00:00:00
2024-09-21 05:48:30.134 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property is_on : value False
2024-09-21 05:48:30.134 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property startup_on_off : value StartupEnum.START_PREVIOUS
2024-09-21 05:48:30.134 DEBUG (MainThread) [custom_components.dirigera_platform] ikea_base_device ctor...
2024-09-21 05:48:30.134 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property custom_name : value Entryway
2024-09-21 05:48:30.134 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property model : value TRETAKT Smart plug
2024-09-21 05:48:30.134 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property manufacturer : value IKEA of Sweden
2024-09-21 05:48:30.134 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property firmware_version : value 2.4.4
2024-09-21 05:48:30.134 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property hardware_version : value 1
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property serial_number : value 8C65A3FFFE6E75BB
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property product_code : value E2217
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_status : value upToDate
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_state : value readyToCheck
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_progress : value 0
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_policy : value autoUpdate
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_schedule_start : value 00:00:00
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_schedule_end : value 00:00:00
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property is_on : value False
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property startup_on_off : value StartupEnum.START_PREVIOUS
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] ikea_base_device ctor...
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property custom_name : value Outside Lights
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property model : value TRETAKT Smart plug
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property manufacturer : value IKEA of Sweden
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property firmware_version : value 2.4.4
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property hardware_version : value 1
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property serial_number : value 8C65A3FFFE6F5232
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property product_code : value E2217
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_status : value upToDate
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_state : value readyToCheck
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_progress : value 0
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_policy : value autoUpdate
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_schedule_start : value 00:00:00
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_schedule_end : value 00:00:00
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property is_on : value False
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property startup_on_off : value StartupEnum.START_PREVIOUS
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] ikea_base_device ctor...
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property custom_name : value Child Roof Light
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property model : value TRETAKT Smart plug
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property manufacturer : value IKEA of Sweden
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property firmware_version : value 2.4.4
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property hardware_version : value 1
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property serial_number : value 8C65A3FFFE6F465D
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property product_code : value E2217
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_status : value upToDate
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_state : value readyToCheck
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_progress : value 0
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_policy : value autoUpdate
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_schedule_start : value 00:00:00
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_schedule_end : value 00:00:00
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property is_on : value False
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property startup_on_off : value StartupEnum.START_PREVIOUS
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] ikea_base_device ctor...
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property custom_name : value Upstairs Light
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property model : value TRETAKT Smart plug
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property manufacturer : value IKEA of Sweden
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property firmware_version : value 2.4.4
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property hardware_version : value 1
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property serial_number : value 8C65A3FFFE6E763B
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property product_code : value E2217
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_status : value upToDate
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_state : value readyToCheck
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_progress : value 0
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_policy : value autoUpdate
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_schedule_start : value 00:00:00
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_schedule_end : value 00:00:00
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property is_on : value False
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property startup_on_off : value StartupEnum.START_PREVIOUS
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] Found 5 outlet entities to setup...
2024-09-21 05:48:30.135 DEBUG (MainThread) [custom_components.dirigera_platform] device_info called Office Roof Light
2024-09-21 05:48:30.136 DEBUG (MainThread) [custom_components.dirigera_platform] device_info called Entryway
2024-09-21 05:48:30.136 DEBUG (MainThread) [custom_components.dirigera_platform] device_info called Outside Lights
2024-09-21 05:48:30.136 DEBUG (MainThread) [custom_components.dirigera_platform] device_info called Child Roof Light
2024-09-21 05:48:30.136 DEBUG (MainThread) [custom_components.dirigera_platform] device_info called Upstairs Light
2024-09-21 05:48:30.136 DEBUG (MainThread) [custom_components.dirigera_platform] SWITCH Complete async_setup_entry
2024-09-21 05:48:30.353 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0.0 motion_sensor entities to setup...
2024-09-21 05:48:30.582 DEBUG (MainThread) [custom_components.dirigera_platform] ikea_bulb ctor...
2024-09-21 05:48:30.582 DEBUG (MainThread) [custom_components.dirigera_platform] Set State of bulb..
2024-09-21 05:48:30.582 DEBUG (MainThread) [custom_components.dirigera_platform] ikea_bulb ctor...
2024-09-21 05:48:30.582 DEBUG (MainThread) [custom_components.dirigera_platform] Set State of bulb..
2024-09-21 05:48:30.582 DEBUG (MainThread) [custom_components.dirigera_platform] ikea_bulb ctor...
2024-09-21 05:48:30.582 DEBUG (MainThread) [custom_components.dirigera_platform] Set State of bulb..
2024-09-21 05:48:30.582 DEBUG (MainThread) [custom_components.dirigera_platform] ikea_bulb ctor...
2024-09-21 05:48:30.582 DEBUG (MainThread) [custom_components.dirigera_platform] Set State of bulb..
2024-09-21 05:48:30.582 DEBUG (MainThread) [custom_components.dirigera_platform] ikea_bulb ctor...
2024-09-21 05:48:30.582 DEBUG (MainThread) [custom_components.dirigera_platform] Set State of bulb..
2024-09-21 05:48:30.582 DEBUG (MainThread) [custom_components.dirigera_platform] ikea_bulb ctor...
2024-09-21 05:48:30.582 DEBUG (MainThread) [custom_components.dirigera_platform] Set State of bulb..
2024-09-21 05:48:30.582 DEBUG (MainThread) [custom_components.dirigera_platform] Found 6 total of all light entities to setup...
2024-09-21 05:48:30.582 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 device_sets
2024-09-21 05:48:30.582 DEBUG (MainThread) [custom_components.dirigera_platform] Found 6 lights to setup...
2024-09-21 05:48:30.582 DEBUG (MainThread) [custom_components.dirigera_platform] device info called...
2024-09-21 05:48:30.583 DEBUG (MainThread) [custom_components.dirigera_platform] device info called...
2024-09-21 05:48:30.583 DEBUG (MainThread) [custom_components.dirigera_platform] device info called...
2024-09-21 05:48:30.583 DEBUG (MainThread) [custom_components.dirigera_platform] device info called...
2024-09-21 05:48:30.583 DEBUG (MainThread) [custom_components.dirigera_platform] device info called...
2024-09-21 05:48:30.583 DEBUG (MainThread) [custom_components.dirigera_platform] device info called...
2024-09-21 05:48:30.584 DEBUG (MainThread) [custom_components.dirigera_platform] LIGHT Complete async_setup_entry
2024-09-21 05:48:30.805 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 blinds entities to setup...
2024-09-21 05:48:30.805 DEBUG (MainThread) [custom_components.dirigera_platform] BLINDS Complete async_setup_entry
2024-09-21 05:48:31.059 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 air_purifier devices to setup...
2024-09-21 05:48:31.059 DEBUG (MainThread) [custom_components.dirigera_platform] FAN/AirPurifier Complete async_setup_entry
2024-09-21 05:48:31.264 ERROR (MainThread) [custom_components.dirigera_platform] Found 0 scenes...
2024-09-21 05:48:31.264 ERROR (MainThread) [custom_components.dirigera_platform] Found 0 scenes
2024-09-21 05:48:31.486 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0.0 open close entities to setup...
2024-09-21 05:48:31.528 ERROR (MainThread) [custom_components.dirigera_platform] Got 0 controllers...
2024-09-21 05:48:31.528 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 env devices to setup...
2024-09-21 05:48:31.528 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 env entities to setup...
2024-09-21 05:48:31.528 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 controller devices to setup...
2024-09-21 05:48:31.528 DEBUG (MainThread) [custom_components.dirigera_platform] EnvSensor & Controllers Complete async_setup_entry
2024-09-21 05:48:31.750 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0.0 water sensors to setup....
2024-09-21 05:48:31.750 DEBUG (MainThread) [custom_components.dirigera_platform] Binary Sensor Complete async_setup_entry
2024-09-21 05:48:31.750 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setups for integration dirigera_platform with title: IKEA Dirigera Hub : 192.168.80.55 and entry_id: 01J786XQ56KF0MAHBFKWYW07ES, during setup without awaiting async_forward_entry_setups, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.
Stack (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
self._run_once()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
handle._run()
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2125, in async_forward_entry_setups
_report_non_awaited_platform_forwards(
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1201, in _report_non_awaited_platform_forwards
report(
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 151, in report
_LOGGER.warning(msg, stack_info=True)
The remote is no longer present in HASS at all
This seems like the issue here
2024-09-21 05:52:53.934 DEBUG (MainThread) [custom_components.dirigera_platform] Binary Sensor Complete async_setup_entry
2024-09-21 05:52:54.163 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up dirigera_platform platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 361, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/dirigera_platform/sensor.py", line 81, in async_setup_entry
await hass.async_add_executor_job(hub.create_empty_scene,scene_name, controller.unique_id)
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/dirigera_platform/dirigera_lib_patch.py", line 42, in create_empty_scene
response_dict = self.post(
^^^^^^^^^^
File "/config/deps/lib/python3.12/site-packages/dirigera/hub/hub.py", line 131, in post
response.raise_for_status()
File "/usr/local/lib/python3.12/site-packages/requests/models.py", line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://192.168.80.55:8443/v1/scenes
2024-09-21 05:52:54.165 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forw
I removed the remote and reconnected to the Ikea App and get this error
Additional logs prior to above
2024-09-21 05:52:53.434 ERROR (MainThread) [custom_components.dirigera_platform] Found 0 scenes...
2024-09-21 05:52:53.434 ERROR (MainThread) [custom_components.dirigera_platform] Found 0 scenes
2024-09-21 05:52:53.480 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0.0 open close entities to setup...
2024-09-21 05:52:53.890 ERROR (MainThread) [custom_components.dirigera_platform] Got 2 controllers...
2024-09-21 05:52:53.890 DEBUG (MainThread) [custom_components.dirigera_platform] ikea_controller ctor...
2024-09-21 05:52:53.890 ERROR (MainThread) [custom_components.dirigera_platform] Set #buttons to 2 as controller model is : SOMRIG shortcut button
2024-09-21 05:52:53.891 DEBUG (MainThread) [custom_components.dirigera_platform] ikea_base_device ctor...
2024-09-21 05:52:53.891 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property custom_name : value Remote 1
2024-09-21 05:52:53.891 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property model : value SOMRIG shortcut button
2024-09-21 05:52:53.891 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property manufacturer : value IKEA of Sweden
2024-09-21 05:52:53.891 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property firmware_version : value 1.0.21
2024-09-21 05:52:53.891 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property hardware_version : value 1
2024-09-21 05:52:53.891 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property serial_number : value 5CC7C1FFFE83527E
2024-09-21 05:52:53.891 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property product_code : value E2213
2024-09-21 05:52:53.891 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_status : value upToDate
2024-09-21 05:52:53.891 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_state : value readyToCheck
2024-09-21 05:52:53.891 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_progress : value 0
2024-09-21 05:52:53.891 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_policy : value autoUpdate
2024-09-21 05:52:53.891 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_schedule_start : value 00:00:00
2024-09-21 05:52:53.891 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_schedule_end : value 00:00:00
2024-09-21 05:52:53.891 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property is_on : value False
2024-09-21 05:52:53.891 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property battery_percentage : value 100
2024-09-21 05:52:53.891 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property switch_label : value Shortcut 1
2024-09-21 05:52:53.891 ERROR (MainThread) [custom_components.dirigera_platform] Creating empty scene dirigera_platform_empty_scene_352d453f-3477-4917-ba71-70cd8fed01bc_1 for controller 352d453f-3477-4917-ba71-70cd8fed01bc_1...
2024-09-21 05:52:53.933 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0.0 water sensors to setup....
Please try release the latest release and let me know
I can see the empty scenes and the debug logs are as below
2024-10-17 13:00:55.194 DEBUG (Thread-44) [custom_components.dirigera_platform] Found sceneUpdated message...
2024-10-17 13:00:55.194 DEBUG (Thread-44) [custom_components.dirigera_platform] Multi button controller, device_id effective : 9debb7b6-6aac-44e6-a6b3-b39cc3841a16_1 with buttons : 1
2024-10-17 13:00:55.194 DEBUG (Thread-44) [custom_components.dirigera_platform] Found date/time in map for controller : 2024-10-17 13:00:32.815000
2024-10-17 13:00:55.194 DEBUG (Thread-44) [custom_components.dirigera_platform] Updated date/time in map for controller with : 2024-10-17 13:00:32.815000
2024-10-17 13:00:55.194 DEBUG (Thread-44) [custom_components.dirigera_platform] Will not let this event be fired, this is to get over bug IKEA bug of firing event twice for controller
2024-10-17 13:00:55.223 DEBUG (Thread-44) [custom_components.dirigera_platform] rcvd message : {"id":"a2666d7b-86fe-4218-880b-926daa6a8d6d","time":"2024-10-17T13:00:55.159Z","specversion":"3.163.0","source":"urn:com:ikea:homesmart:iotc:rulesengine","type":"sceneUpdated","data":{"id":"322b171b-366c-4d45-8697-4da0d3fc9113","info":{"name":"dirigera_integration_empty_scene_9debb7b6-6aac-44e6-a6b3-b39cc3841a16_1_singlePress","icon":"scenes_cake"},"type":"customScene","triggers":[{"id":"3079a487-63c6-4928-9337-2b5a4f98282d","type":"controller","triggeredAt":"2024-10-17T13:00:55.127Z","disabled":false,"trigger":{"days":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],"controllerType":"shortcutController","clickPattern":"singlePress","buttonIndex":0,"deviceId":"9debb7b6-6aac-44e6-a6b3-b39cc3841a16_1"}},{"id":"f9bc3479-f323-460d-9553-75b170ea92f7","type":"app","disabled":false}],"actions":[],"commands":[],"createdAt":"2024-10-17T12:43:35.997Z","lastCompleted":"2024-10-17T13:00:55.135Z","lastTriggered":"2024-10-17T13:00:55.135Z","undoAllowedDuration":30}}
2024-10-17 13:00:55.223 DEBUG (Thread-44) [custom_components.dirigera_platform] Found sceneUpdated message...
2024-10-17 13:00:55.223 DEBUG (Thread-44) [custom_components.dirigera_platform] Multi button controller, device_id effective : 9debb7b6-6aac-44e6-a6b3-b39cc3841a16_1 with buttons : 1
2024-10-17 13:00:55.223 DEBUG (Thread-44) [custom_components.dirigera_platform] Found date/time in map for controller : 2024-10-17 13:00:32.815000
2024-10-17 13:00:55.223 DEBUG (Thread-44) [custom_components.dirigera_platform] Updated date/time in map for controller with : 2024-10-17 13:00:55.135000
2024-10-17 13:00:55.223 DEBUG (Thread-44) [custom_components.dirigera_platform] Event fired.. {'type': 'button1_single_click', 'device_id': '0b6676feca446b830f516f7a073a541e', 'entity_id': 'sensor.j_remote'}
2024-10-17 13:00:55.223 DEBUG (Thread-44) [custom_components.dirigera_platform] Trigger type : app not controller ignoring...
2024-10-17 13:01:02.490 DEBUG (MainThread) [custom_components.dirigera_platform] update called Office Roof Light
2024-10-17 13:01:02.490 DEBUG (MainThread) [custom_components.dirigera_platform] update called Entryway
2024-10-17 13:01:02.490 DEBUG (MainThread) [custom_components.dirigera_platform] update called Outside Lights
2024-10-17 13:01:02.491 DEBUG (MainThread) [custom_components.dirigera_platform] update called Upstairs Light
2024-10-17 13:01:02.491 DEBUG (MainThread) [custom_components.dirigera_platform] update called J Roof Light
2024-10-17 13:01:03.155 DEBUG (Thread-44) [custom_components.dirigera_platform] rcvd message : {"id":"c3c98d7c-3f6f-4715-97ae-86098d7a1368","time":"2024-10-17T13:01:02.918Z","specversion":"3.163.0","source":"urn:com:ikea:homesmart:iotc:rulesengine","type":"sceneUpdated","data":{"id":"322b171b-366c-4d45-8697-4da0d3fc9113","info":{"name":"dirigera_integration_empty_scene_9debb7b6-6aac-44e6-a6b3-b39cc3841a16_1_singlePress","icon":"scenes_cake"},"type":"customScene","triggers":[{"id":"3079a487-63c6-4928-9337-2b5a4f98282d","type":"controller","triggeredAt":"2024-10-17T13:01:02.917Z","disabled":false,"trigger":{"days":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],"controllerType":"shortcutController","clickPattern":"singlePress","buttonIndex":0,"deviceId":"9debb7b6-6aac-44e6-a6b3-b39cc3841a16_1"}},{"id":"f9bc3479-f323-460d-9553-75b170ea92f7","type":"app","disabled":false}],"actions":[],"commands":[],"createdAt":"2024-10-17T12:43:35.997Z","lastCompleted":"2024-10-17T13:01:02.924Z","lastTriggered":"2024-10-17T13:01:02.924Z","undoAllowedDuration":30}}
2024-10-17 13:01:03.155 DEBUG (Thread-44) [custom_components.dirigera_platform] Found sceneUpdated message...
2024-10-17 13:01:03.155 DEBUG (Thread-44) [custom_components.dirigera_platform] Multi button controller, device_id effective : 9debb7b6-6aac-44e6-a6b3-b39cc3841a16_1 with buttons : 1
2024-10-17 13:01:03.155 DEBUG (Thread-44) [custom_components.dirigera_platform] Found date/time in map for controller : 2024-10-17 13:00:55.135000
2024-10-17 13:01:03.155 DEBUG (Thread-44) [custom_components.dirigera_platform] Updated date/time in map for controller with : 2024-10-17 13:01:02.924000
2024-10-17 13:01:03.156 DEBUG (Thread-44) [custom_components.dirigera_platform] Event fired.. {'type': 'button1_single_click', 'device_id': '0b6676feca446b830f516f7a073a541e', 'entity_id': 'sensor.j_remote'}
2024-10-17 13:01:03.156 DEBUG (Thread-44) [custom_components.dirigera_platform] Trigger type : app not controller ignoring...
2024-10-17 13:01:03.358 DEBUG (Thread-44) [custom_components.dirigera_platform] rcvd message : {"id":"f9f0aae4-3428-4d48-a302-2c55668d0469","time":"2024-10-17T13:01:02.937Z","specversion":"3.163.0","source":"urn:com:ikea:homesmart:iotc:rulesengine","type":"sceneUpdated","data":{"id":"322b171b-366c-4d45-8697-4da0d3fc9113","info":{"name":"dirigera_integration_empty_scene_9debb7b6-6aac-44e6-a6b3-b39cc3841a16_1_singlePress","icon":"scenes_cake"},"type":"customScene","triggers":[{"id":"3079a487-63c6-4928-9337-2b5a4f98282d","type":"controller","triggeredAt":"2024-10-17T13:01:02.917Z","disabled":false,"trigger":{"days":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],"controllerType":"shortcutController","clickPattern":"singlePress","buttonIndex":0,"deviceId":"9debb7b6-6aac-44e6-a6b3-b39cc3841a16_1"}},{"id":"f9bc3479-f323-460d-9553-75b170ea92f7","type":"app","disabled":false}],"actions":[],"commands":[],"createdAt":"2024-10-17T12:43:35.997Z","lastCompleted":"2024-10-17T13:01:02.924Z","lastTriggered":"2024-10-17T13:01:02.924Z","undoAllowedDuration":30}}
2024-10-17 13:01:03.358 DEBUG (Thread-44) [custom_components.dirigera_platform] Found sceneUpdated message...
2024-10-17 13:01:03.358 DEBUG (Thread-44) [custom_components.dirigera_platform] Multi button controller, device_id effective : 9debb7b6-6aac-44e6-a6b3-b39cc3841a16_1 with buttons : 1
2024-10-17 13:01:03.358 DEBUG (Thread-44) [custom_components.dirigera_platform] Found date/time in map for controller : 2024-10-17 13:01:02.924000
2024-10-17 13:01:03.358 DEBUG (Thread-44) [custom_components.dirigera_platform] Updated date/time in map for controller with : 2024-10-17 13:01:02.924000
2024-10-17 13:01:03.358 DEBUG (Thread-44) [custom_components.dirigera_platform] Will not let this event be fired, this is to get over bug IKEA bug of firing event twice for controller
2024-10-17 13:01:05.091 DEBUG (Thread-44) [custom_components.dirigera_platform] rcvd message : {"id":"233a9577-53f7-43ab-b594-2eba89308236","time":"2024-10-17T13:01:05.050Z","specversion":"3.163.0","source":"urn:com:ikea:homesmart:iotc:rulesengine","type":"sceneUpdated","data":{"id":"c2b4b7bf-052f-4372-bece-69cacbbe6273","info":{"name":"dirigera_integration_empty_scene_9debb7b6-6aac-44e6-a6b3-b39cc3841a16_1_doublePress","icon":"scenes_cake"},"type":"customScene","triggers":[{"id":"5337498b-737d-4124-9d4e-751599036a1d","type":"controller","triggeredAt":"2024-10-17T13:01:05.049Z","disabled":false,"trigger":{"days":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],"controllerType":"shortcutController","clickPattern":"doublePress","buttonIndex":0,"deviceId":"9debb7b6-6aac-44e6-a6b3-b39cc3841a16_1"}},{"id":"37795f20-eab9-4e9b-9e9b-363879fa98e0","type":"app","disabled":false}],"actions":[],"commands":[],"createdAt":"2024-10-17T12:43:36.889Z","lastCompleted":"2024-10-17T12:58:12.004Z","lastTriggered":"2024-10-17T12:58:12.004Z","undoAllowedDuration":30}}
2024-10-17 13:01:05.091 DEBUG (Thread-44) [custom_components.dirigera_platform] Found sceneUpdated message...
2024-10-17 13:01:05.091 DEBUG (Thread-44) [custom_components.dirigera_platform] Multi button controller, device_id effective : 9debb7b6-6aac-44e6-a6b3-b39cc3841a16_1 with buttons : 1
2024-10-17 13:01:05.091 DEBUG (Thread-44) [custom_components.dirigera_platform] Found date/time in map for controller : 2024-10-17 12:58:12.004000
2024-10-17 13:01:05.091 DEBUG (Thread-44) [custom_components.dirigera_platform] Updated date/time in map for controller with : 2024-10-17 12:58:12.004000
2024-10-17 13:01:05.091 DEBUG (Thread-44) [custom_components.dirigera_platform] Will not let this event be fired, this is to get over bug IKEA bug of firing event twice for controller
2024-10-17 13:01:05.104 DEBUG (Thread-44) [custom_components.dirigera_platform] rcvd message : {"id":"10ec1d44-9d42-4e1e-ab65-0dd22c615d65","time":"2024-10-17T13:01:05.071Z","specversion":"3.163.0","source":"urn:com:ikea:homesmart:iotc:rulesengine","type":"sceneUpdated","data":{"id":"c2b4b7bf-052f-4372-bece-69cacbbe6273","info":{"name":"dirigera_integration_empty_scene_9debb7b6-6aac-44e6-a6b3-b39cc3841a16_1_doublePress","icon":"scenes_cake"},"type":"customScene","triggers":[{"id":"5337498b-737d-4124-9d4e-751599036a1d","type":"controller","triggeredAt":"2024-10-17T13:01:05.049Z","disabled":false,"trigger":{"days":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],"controllerType":"shortcutController","clickPattern":"doublePress","buttonIndex":0,"deviceId":"9debb7b6-6aac-44e6-a6b3-b39cc3841a16_1"}},{"id":"37795f20-eab9-4e9b-9e9b-363879fa98e0","type":"app","disabled":false}],"actions":[],"commands":[],"createdAt":"2024-10-17T12:43:36.889Z","lastCompleted":"2024-10-17T13:01:05.066Z","lastTriggered":"2024-10-17T13:01:05.066Z","undoAllowedDuration":30}}
2024-10-17 13:01:05.105 DEBUG (Thread-44) [custom_components.dirigera_platform] Found sceneUpdated message...
2024-10-17 13:01:05.105 DEBUG (Thread-44) [custom_components.dirigera_platform] Multi button controller, device_id effective : 9debb7b6-6aac-44e6-a6b3-b39cc3841a16_1 with buttons : 1
2024-10-17 13:01:05.105 DEBUG (Thread-44) [custom_components.dirigera_platform] Found date/time in map for controller : 2024-10-17 12:58:12.004000
2024-10-17 13:01:05.105 DEBUG (Thread-44) [custom_components.dirigera_platform] Updated date/time in map for controller with : 2024-10-17 13:01:05.066000
2024-10-17 13:01:05.105 DEBUG (Thread-44) [custom_components.dirigera_platform] Event fired.. {'type': 'button1_double_click', 'device_id': '0b6676feca446b830f516f7a073a541e', 'entity_id': 'sensor.j_remote'}
2024-10-17 13:01:05.105 DEBUG (Thread-44) [custom_components.dirigera_platform] Trigger type : app not controller ignoring...
I can confirm I get ..
Single Press Double Press Long Press
on both buttons..
Super.. are you able to put automation to respond to those events?
On Thu, 17 Oct 2024 at 18:34, Timothy Colbert @.***> wrote:
I can confirm I get ..
Single Press Double Press Long Press
on both buttons..
— Reply to this email directly, view it on GitHub https://github.com/sanjoyg/dirigera_platform/issues/23#issuecomment-2419491981, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2X3CQNI2VTZR3QSOIRQK3Z36YUTAVCNFSM6AAAAABFJX4PK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJZGQ4TCOJYGE . You are receiving this because you were mentioned.Message ID: @.***>
Try 2.0 and let know.
I've just updated to 2.0. I'm using a MOES four button remote, which is correctly paired to the dirigera hub and shows on HA integration. I create an automation and set the entity "Single Click" as trigger, but it never fires.
EDIT: if I try to dump data with "dirigera_platform.dump_data" I get the following error in HA logs: Logger: homeassistant.components.websocket_api.http.connection Source: custom_components/dirigera_platform/init.py:61 integration: Home Assistant WebSocket API (documentation, issues) First occurred: 22:58:48 (3 occurrences) Last logged: 22:59:24
[3763302440] Error handling message: Unknown error (unknown_error) ...) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 28, in _handle_async_response await func(hass, connection, msg) File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 816, in handle_execute_script script_result = await script_obj.async_run( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1795, in async_run return await asyncio.shield(create_eager_task(run.async_run())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 463, in async_run await self._async_step(log_exceptions=False) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 527, in _async_step self._handle_exception( File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 557, in _handle_exception raise exception File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 525, in _async_step await getattr(self, handler)() File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 763, in _async_call_service_step response_data = await self._async_run_long_action( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 726, in _async_run_long_action return await long_task ^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2811, in _execute_service return await self._hass.async_add_executor_job(target, service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/dirigera_platform/init.py", line 61, in handle_dump_data ip = config_data[CONF_IP_ADDRESS]
TypeError: 'ikea_gateway' object is not subscriptable
@sanjoyg I did a complete uninstall of the integration and on a clean install I get
2024-10-17 23:11:21.057 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to import_module with args ('custom_components.dirigera_platform.config_flow',) inside the event loop by integration 'config' at homeassistant/components/config/config_entries.py, line 179: return await super()._post_impl(request, data) (offender: /usr/src/homeassistant/homeassistant/loader.py, line 1296: return importlib.import_module(f"{self.pkg_path}.{platform_name}")), please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+config%22
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#import_module
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
self._run_once()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
handle._run()
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 477, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 559, in _handle
return await handler(request)
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 210, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 85, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 32, in headers_middleware
response = await handler(request)
File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle
result = await handler(request, **request.match_info)
File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 81, in with_admin
return await func(self, request, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 74, in wrapper
return await method(view, request, data, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 172, in post
return await self._post_impl(request, data)
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 179, in _post_impl
return await super()._post_impl(request, data)
2024-10-17 23:11:21.058 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration dirigera_platform: cannot import name 'EndTriggerEvent' from 'dirigera.devices.scene' (/config/deps/lib/python3.12/site-packages/dirigera/devices/scene.py)
Full uninstall and install 1.8.9 works as before
@sanjoyg If it makes it easier you can create a branch and I can fork and tag that to run tests on this functionality
I've just updated to 2.0. I'm using a MOES four button remote, which is correctly paired to the dirigera hub and shows on HA integration. I create an automation and set the entity "Single Click" as trigger, but it never fires.
EDIT: if I try to dump data with "dirigera_platform.dump_data" I get the following error in HA logs: Logger: homeassistant.components.websocket_api.http.connection Source: custom_components/dirigera_platform/init.py:61 integration: Home Assistant WebSocket API (documentation, issues) First occurred: 22:58:48 (3 occurrences) Last logged: 22:59:24
[3763302440] Error handling message: Unknown error (unknown_error) ...) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 28, in _handle_async_response await func(hass, connection, msg) File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 816, in handle_execute_script script_result = await script_obj.async_run( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1795, in async_run return await asyncio.shield(create_eager_task(run.async_run())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 463, in async_run await self._async_step(log_exceptions=False) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 527, in _async_step self._handle_exception( File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 557, in _handle_exception raise exception File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 525, in _async_step await getattr(self, handler)() File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 763, in _async_call_service_step response_data = await self._async_run_long_action( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 726, in _async_run_long_action return await long_task ^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2811, in _execute_service return await self._hass.async_add_executor_job(target, service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/dirigera_platform/init**.py", line 61, in handle_dump_data ip = config_data[CONF_IP_ADDRESS]
~~~^^^^^^^^^^^^^^^^^ TypeError: 'ikea_gateway' object is not subscriptable
This is fixed with the new release. I had not tested it earlier, have tested it and it works
Please dump_json
@sanjoyg created a new issue for this https://github.com/sanjoyg/dirigera_platform/issues/23#issuecomment-2420826246
I don't know if there is some old config hanging around or it's because of the empty scenes
Let me know if I should bring the conversation for that back here..
@sanjoyg I resolved the https://github.com/sanjoyg/dirigera_platform/issues/95 the dep for lib didn't update..
I have done a re-install and am running 2.3 I no longer see any scenes, events are triggering in the logs see below
2024-10-21 00:28:13.233 DEBUG (Thread-23) [custom_components.dirigera_platform] Found date/time in map for controller : 2024-10-21 00:28:06.338000
2024-10-21 00:28:13.233 DEBUG (Thread-23) [custom_components.dirigera_platform] Updated date/time in map for controller with : 2024-10-21 00:28:13.196000
2024-10-21 00:28:13.233 DEBUG (Thread-23) [custom_components.dirigera_platform] Event fired.. {'type': 'button1_single_click', 'device_id': 'adffe01969659370f7797eac93561bcd', 'entity_id': 'sensor.remote'}
2024-10-21 00:28:13.233 DEBUG (Thread-23) [custom_components.dirigera_platform] Trigger type : app not controller ignoring...
2024-10-21 00:28:15.485 DEBUG (Thread-23) [custom_components.dirigera_platform] rcvd message : {"id":"aa8611e8-09c5-4656-9c82-c3a58ad825b4","time":"2024-10-21T00:28:15.456Z","specversion":"3.163.0","source":"urn:com:ikea:homesmart:iotc:rulesengine","type":"sceneUpdated","data":{"id":"7d45b533-0c00-4e69-a53d-832dd469785e","info":{"name":"dirigera_integration_empty_scene_2171df84-b532-4661-9415-90851fd1d472_2_singlePress","icon":"scenes_cake"},"type":"customScene","triggers":[{"id":"0ff7a325-b33f-4b40-bed1-e7f04312077d","type":"controller","triggeredAt":"2024-10-21T00:28:15.456Z","disabled":false,"trigger":{"days":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],"controllerType":"shortcutController","clickPattern":"singlePress","buttonIndex":0,"deviceId":"2171df84-b532-4661-9415-90851fd1d472_2"}},{"id":"5ae56f2d-e671-4a05-83d9-a10288ca4e3a","type":"app","disabled":false}],"actions":[],"commands":[],"createdAt":"2024-10-21T00:26:57.193Z","lastCompleted":"2024-10-21T00:28:07.764Z","lastTriggered":"2024-10-21T00:28:07.764Z","undoAllowedDuration":30}}
2024-10-21 00:28:15.485 DEBUG (Thread-23) [custom_components.dirigera_platform] Found sceneUpdated message...
2024-10-21 00:28:15.485 DEBUG (Thread-23) [custom_components.dirigera_platform] Multi button controller, device_id effective : 2171df84-b532-4661-9415-90851fd1d472_1 with buttons : 2
2024-10-21 00:28:15.485 DEBUG (Thread-23) [custom_components.dirigera_platform] Found date/time in map for controller : 2024-10-21 00:28:07.764000
2024-10-21 00:28:15.485 DEBUG (Thread-23) [custom_components.dirigera_platform] Updated date/time in map for controller with : 2024-10-21 00:28:07.764000
2024-10-21 00:28:15.485 DEBUG (Thread-23) [custom_components.dirigera_platform] Will not let this event be fired, this is to get over bug IKEA bug of firing event twice for controller
2024-10-21 00:28:15.504 DEBUG (Thread-23) [custom_components.dirigera_platform] rcvd message : {"id":"628b0814-837c-40ff-9976-26c8a2058ba8","time":"2024-10-21T00:28:15.476Z","specversion":"3.163.0","source":"urn:com:ikea:homesmart:iotc:rulesengine","type":"sceneUpdated","data":{"id":"7d45b533-0c00-4e69-a53d-832dd469785e","info":{"name":"dirigera_integration_empty_scene_2171df84-b532-4661-9415-90851fd1d472_2_singlePress","icon":"scenes_cake"},"type":"customScene","triggers":[{"id":"0ff7a325-b33f-4b40-bed1-e7f04312077d","type":"controller","triggeredAt":"2024-10-21T00:28:15.456Z","disabled":false,"trigger":{"days":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],"controllerType":"shortcutController","clickPattern":"singlePress","buttonIndex":0,"deviceId":"2171df84-b532-4661-9415-90851fd1d472_2"}},{"id":"5ae56f2d-e671-4a05-83d9-a10288ca4e3a","type":"app","disabled":false}],"actions":[],"commands":[],"createdAt":"2024-10-21T00:26:57.193Z","lastCompleted":"2024-10-21T00:28:15.470Z","lastTriggered":"2024-10-21T00:28:15.470Z","undoAllowedDuration":30}}
2024-10-21 00:28:15.504 DEBUG (Thread-23) [custom_components.dirigera_platform] Found sceneUpdated message...
2024-10-21 00:28:15.505 DEBUG (Thread-23) [custom_components.dirigera_platform] Multi button controller, device_id effective : 2171df84-b532-4661-9415-90851fd1d472_1 with buttons : 2
2024-10-21 00:28:15.505 DEBUG (Thread-23) [custom_components.dirigera_platform] Found date/time in map for controller : 2024-10-21 00:28:07.764000
2024-10-21 00:28:15.505 DEBUG (Thread-23) [custom_components.dirigera_platform] Updated date/time in map for controller with : 2024-10-21 00:28:15.470000
2024-10-21 00:28:15.505 DEBUG (Thread-23) [custom_components.dirigera_platform] Event fired.. {'type': 'button2_single_click', 'device_id': 'adffe01969659370f7797eac93561bcd', 'entity_id': 'sensor.remote'}
2024-10-21 00:28:15.505 DEBUG (Thread-23) [custom_components.dirigera_platform] Trigger type : app not controller ignoring...
2024-10-21 00:28:16.589 DEBUG (Thread-23) [custom_components.dirigera_platform] rcvd message : {"id":"2def1a62-1a56-4751-bdcd-08c7e15693c2","time":"2024-10-21T00:28:16.560Z","specversion":"3.163.0","source":"urn:com:ikea:homesmart:iotc:rulesengine","type":"sceneUpdated","data":{"id":"85ea52d1-91dc-483e-8641-0b265ae686bf","info":{"name":"dirigera_integration_empty_scene_2171df84-b532-4661-9415-90851fd1d472_1_singlePress","icon":"scenes_cake"},"type":"customScene","triggers":[{"id":"6c2c41ee-8dc0-4e78-88bd-da391fbb7826","type":"controller","triggeredAt":"2024-10-21T00:28:16.560Z","disabled":false,"trigger":{"days":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],"controllerType":"shortcutController","clickPattern":"singlePress","buttonIndex":0,"deviceId":"2171df84-b532-4661-9415-90851fd1d472_1"}},{"id":"ca9416bf-e275-4c00-95e2-001f191a4589","type":"app","disabled":false}],"actions":[],"commands":[],"createdAt":"2024-10-21T00:26:55.995Z","lastCompleted":"2024-10-21T00:28:13.196Z","lastTriggered":"2024-10-21T00:28:13.196Z","undoAllowedDuration":30}}
2024-10-21 00:28:16.589 DEBUG (Thread-23) [custom_components.dirigera_platform] Found sceneUpdated message...
2024-10-21 00:28:16.589 DEBUG (Thread-23) [custom_components.dirigera_platform] Multi button controller, device_id effective : 2171df84-b532-4661-9415-90851fd1d472_1 with buttons : 1
2024-10-21 00:28:16.589 DEBUG (Thread-23) [custom_components.dirigera_platform] Found date/time in map for controller : 2024-10-21 00:28:13.196000
2024-10-21 00:28:16.589 DEBUG (Thread-23) [custom_components.dirigera_platform] Updated date/time in map for controller with : 2024-10-21 00:28:13.196000
2024-10-21 00:28:16.589 DEBUG (Thread-23) [custom_components.dirigera_platform] Will not let this event be fired, this is to get over bug IKEA bug of firing event twice for controller
2024-10-21 00:28:16.609 DEBUG (Thread-23) [custom_components.dirigera_platform] rcvd message : {"id":"8e981f44-d104-4460-aece-0dc01f914247","time":"2024-10-21T00:28:16.578Z","specversion":"3.163.0","source":"urn:com:ikea:homesmart:iotc:rulesengine","type":"sceneUpdated","data":{"id":"85ea52d1-91dc-483e-8641-0b265ae686bf","info":{"name":"dirigera_integration_empty_scene_2171df84-b532-4661-9415-90851fd1d472_1_singlePress","icon":"scenes_cake"},"type":"customScene","triggers":[{"id":"6c2c41ee-8dc0-4e78-88bd-da391fbb7826","type":"controller","triggeredAt":"2024-10-21T00:28:16.560Z","disabled":false,"trigger":{"days":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],"controllerType":"shortcutController","clickPattern":"singlePress","buttonIndex":0,"deviceId":"2171df84-b532-4661-9415-90851fd1d472_1"}},{"id":"ca9416bf-e275-4c00-95e2-001f191a4589","type":"app","disabled":false}],"actions":[],"commands":[],"createdAt":"2024-10-21T00:26:55.995Z","lastCompleted":"2024-10-21T00:28:16.569Z","lastTriggered":"2024-10-21T00:28:16.569Z","undoAllowedDuration":30}}
2024-10-21 00:28:16.609 DEBUG (Thread-23) [custom_components.dirigera_platform] Found sceneUpdated message...
2024-10-21 00:28:16.609 DEBUG (Thread-23) [custom_components.dirigera_platform] Multi button controller, device_id effective : 2171df84-b532-4661-9415-90851fd1d472_1 with buttons : 1
2024-10-21 00:28:16.609 DEBUG (Thread-23) [custom_components.dirigera_platform] Found date/time in map for controller : 2024-10-21 00:28:13.196000
2024-10-21 00:28:16.610 DEBUG (Thread-23) [custom_components.dirigera_platform] Updated date/time in map for controller with : 2024-10-21 00:28:16.569000
2024-10-21 00:28:16.610 DEBUG (Thread-23) [custom_components.dirigera_platform] Event fired.. {'type': 'button1_single_click', 'device_id': 'adffe01969659370f7797eac93561bcd', 'entity_id': 'sensor.remote'}
2024-10-21 00:28:16.610 DEBUG (Thread-23) [custom_components.dirigera_platform] Trigger type : app not controller ignoring...
With the newest version, all paired remotes appeared as sensor entities in HA, but only showing the battery info: How does it really work? Are they being treated as HA events?