Comments (42)
Yup will have it in the next release
from dirigera_platform.
I was trying to co-relate the following entities to your JSON but I could find the entries. Can you point out the id of the entity from JSON dump in this thread for the following
- Office on/off switch
- Office styrbar remote
- Office symfonisk remote
from dirigera_platform.
Actively working on including that in the next release
from dirigera_platform.
Please try the latest release
from dirigera_platform.
Hi,
I have one door sensor with battery, I have other sensors from IKEA but because there was no information on the battery state I was using Z2MQTT instead.
Since this release I do have a state for this sensor, but it looks like this:
I know the state of the battery isn't 0 because:
Now, beside the Door Sensor, I do have two blinds that also use battery, and the new integration shows this:
And when the battery icon is clicked I can see this:
What I would suggest is to show the percentage along with the icon and when you click the icon we can go to the history as per the sensor:
Here is the log from my side. I hope it helps ...
And again, Thank You for making this integration possible!
2024-05-11 09:06:53.387 INFO (SyncWorker_8) [custom_components.dirigera_platform] === START Devices JSON ===
2024-05-11 09:06:53.388 INFO (SyncWorker_8) [custom_components.dirigera_platform] --------------
2024-05-11 09:06:53.462 DEBUG (MainThread) [custom_components.dirigera_platform] update called Door Sensor Outside
2024-05-11 09:06:53.462 DEBUG (MainThread) [custom_components.dirigera_platform] update called Door Sensor Outside
2024-05-11 09:06:53.462 DEBUG (MainThread) [custom_components.dirigera_platform] update called Entrance Door Sensor
2024-05-11 09:06:53.462 DEBUG (MainThread) [custom_components.dirigera_platform] update called Entrance Door Sensor
2024-05-11 09:06:53.496 DEBUG (SyncWorker_7) [custom_components.dirigera_platform] Got can_receive in state
2024-05-11 09:06:53.496 DEBUG (SyncWorker_7) [custom_components.dirigera_platform] ['customName', 'isOn', 'lightLevel']
2024-05-11 09:06:53.496 DEBUG (SyncWorker_7) [custom_components.dirigera_platform] supported color mode set to:
2024-05-11 09:06:53.496 DEBUG (SyncWorker_7) [custom_components.dirigera_platform] [<ColorMode.BRIGHTNESS: 'brightness'>]
2024-05-11 09:06:53.496 DEBUG (SyncWorker_7) [custom_components.dirigera_platform] color mode set to:
2024-05-11 09:06:53.496 DEBUG (SyncWorker_7) [custom_components.dirigera_platform] brightness
2024-05-11 09:06:56.784 DEBUG (Thread-4) [custom_components.dirigera_platform] rcvd message : {"id":"d24e59cb-f346-4ed3-bca2-e67587636c24","time":"2024-05-11T08:06:56.000Z","specversion":"3.150.0","source":"urn:com:ikea:homesmart:iotc:zigbee","type":"deviceStateChanged","data":{"id":"e67bab52-7f2f-4e8e-b6a7-0c10aa06ca1e_1","type":"sensor","deviceType":"environmentSensor","createdAt":"2024-04-05T15:06:00.000Z","isReachable":true,"lastSeen":"2024-05-11T09:06:56.000Z","attributes":{"currentPM25":7},"remoteLinks":[]}}
2024-05-11 09:06:56.784 DEBUG (Thread-4) [custom_components.dirigera_platform] device type of message environmentSensor
2024-05-11 09:06:56.981 DEBUG (Thread-4) [custom_components.dirigera_platform] rcvd message : {"id":"65da41f5-7409-4966-9d35-ce323debc6db","time":"2024-05-11T08:06:56.000Z","specversion":"3.150.0","source":"urn:com:ikea:homesmart:iotc:zigbee","type":"deviceStateChanged","data":{"id":"e67bab52-7f2f-4e8e-b6a7-0c10aa06ca1e_1","type":"sensor","deviceType":"environmentSensor","createdAt":"2024-04-05T15:06:00.000Z","isReachable":true,"lastSeen":"2024-05-11T09:06:56.000Z","attributes":{"vocIndex":152},"remoteLinks":[]}}
2024-05-11 09:06:56.982 DEBUG (Thread-4) [custom_components.dirigera_platform] device type of message environmentSensor
2024-05-11 09:06:58.885 DEBUG (Thread-4) [custom_components.dirigera_platform] rcvd message : {"id":"02ec2485-af32-41db-9c77-89a4e1d36a3d","time":"2024-05-11T08:06:58.000Z","specversion":"3.150.0","source":"urn:com:ikea:homesmart:iotc:zigbee","type":"deviceStateChanged","data":{"id":"68c6621d-a4dc-428f-8135-642ccf743c8c_1","type":"sensor","deviceType":"environmentSensor","createdAt":"2024-04-13T10:29:14.000Z","isReachable":true,"lastSeen":"2024-05-11T09:06:58.000Z","attributes":{"currentRH":60},"remoteLinks":[]}}
2024-05-11 09:06:58.886 DEBUG (Thread-4) [custom_components.dirigera_platform] device type of message environmentSensor
2024-05-11 09:06:59.732 DEBUG (Thread-4) [custom_components.dirigera_platform] rcvd message : {"id":"0dde96da-29a7-40b3-8757-4f3fd3446e62","time":"2024-05-11T08:06:59.000Z","specversion":"3.150.0","source":"urn:com:ikea:homesmart:iotc:zigbee","type":"deviceStateChanged","data":{"id":"e51a9e3c-0e0b-450d-a34d-f741cf6a0923_1","type":"sensor","deviceType":"environmentSensor","createdAt":"2024-04-05T16:31:37.000Z","isReachable":true,"lastSeen":"2024-05-11T09:06:59.000Z","attributes":{"vocIndex":126},"remoteLinks":[]}}
2024-05-11 09:06:59.732 DEBUG (Thread-4) [custom_components.dirigera_platform] device type of message environmentSensor
2024-05-11 09:07:01.731 DEBUG (Thread-4) [custom_components.dirigera_platform] rcvd message : {"id":"c9f1b599-1799-495b-9243-67162d68984d","time":"2024-05-11T08:07:01.000Z","specversion":"3.150.0","source":"urn:com:ikea:homesmart:iotc:zigbee","type":"deviceStateChanged","data":{"id":"e67bab52-7f2f-4e8e-b6a7-0c10aa06ca1e_1","type":"sensor","deviceType":"environmentSensor","createdAt":"2024-04-05T15:06:00.000Z","isReachable":true,"lastSeen":"2024-05-11T09:07:01.000Z","attributes":{"vocIndex":151},"remoteLinks":[]}}
2024-05-11 09:07:01.731 DEBUG (Thread-4) [custom_components.dirigera_platform] device type of message environmentSensor
2024-05-11 09:07:01.837 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.outside_set_lights is taking over 10 seconds
2024-05-11 09:07:02.389 INFO (SyncWorker_8) [custom_components.dirigera_platform] [{'id': 'f299b378-939d-491f-9ba8-f0c724fbc6bf_1', 'type': 'sensor', 'deviceType': 'environmentSensor', 'createdAt': '2024-04-13T10:30:02.000Z', 'isReachable': True, 'lastSeen': '2024-05-11T09:06:42.000Z', 'attributes': {'customName': 'Sensor Kitchen', 'model': 'VINDSTYRKA', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.11', 'hardwareVersion': '1', 'serialNumber': '0CAE5FFFFE5F0A5A', 'productCode': 'E2112', 'currentTemperature': 24, 'currentRH': 60, 'currentPM25': 8, 'maxMeasuredPM25': 999, 'minMeasuredPM25': 0, 'vocIndex': 61, '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': '9c859847-30cf-47e2-8521-84420d88305d', 'name': 'Kitchen', 'color': 'ikea_red_no_39', 'icon': 'rooms_cutlery'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '3f59f95c-4277-409f-833e-8d09f9e3a109_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-04-05T13:58:54.000Z', 'isReachable': True, 'lastSeen': '2024-05-11T02:56:09.000Z', 'customIcon': 'lighting_led_strip', 'attributes': {'customName': 'Kitchen Back Cupboard', 'model': 'ORMANAS LED Strip', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.1.10', 'hardwareVersion': '1', 'serialNumber': '287681FFFE0AE18A', 'productCode': 'L2112', 'isOn': False, 'startupOnOff': 'startOn', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'colorHue': 357.5445556640625, 'colorSaturation': 0.41732283464566927, 'colorTemperature': 2801, 'colorTemperatureMin': 4000, 'colorTemperatureMax': 2202, 'startupTemperature': -1, 'colorMode': 'temperature', 'identifyStarted': '2000-01-01T00:00:00.000Z', 'identifyPeriod': 0, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'isOn', 'lightLevel', 'colorTemperature', 'colorHue', 'colorSaturation']}, 'room': {'id': '9c859847-30cf-47e2-8521-84420d88305d', 'name': 'Kitchen', 'color': 'ikea_red_no_39', 'icon': 'rooms_cutlery'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'e67bab52-7f2f-4e8e-b6a7-0c10aa06ca1e_1', 'type': 'sensor', 'deviceType': 'environmentSensor', 'createdAt': '2024-04-05T15:06:00.000Z', 'isReachable': True, 'lastSeen': '2024-05-11T09:07:01.000Z', 'attributes': {'customName': 'Sensor Office', 'model': 'VINDSTYRKA', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.11', 'hardwareVersion': '1', 'serialNumber': '0CAE5FFFFE642195', 'productCode': 'E2112', 'currentTemperature': 24, 'currentRH': 56, 'currentPM25': 7, 'maxMeasuredPM25': 999, 'minMeasuredPM25': 0, 'vocIndex': 151, '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': 'bb08b138-ac1d-4605-b816-731481dea270', 'name': 'Office', 'color': 'ikea_brown_no_41', 'icon': 'rooms_bedside_table'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'ac63495c-4f46-4ba6-b3e9-6e0706af3c67_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-04-13T21:06:58.000Z', 'isReachable': False, 'lastSeen': '2024-05-08T23:05:15.000Z', 'attributes': {'customName': 'Light 8', 'model': 'TRADFRIbulbE14WWclear250lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.1.006', 'hardwareVersion': '1', 'serialNumber': '0CAE5FFFFE5EB0A4', 'productCode': 'LED1935C3', 'isOn': True, 'startupOnOff': 'startOn', 'lightLevel': 20, 'startUpCurrentLevel': -1, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'identifyPeriod': 0, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'isOn', 'lightLevel']}, 'room': {'id': '0f08fcd6-a8a6-49b0-b77a-9d5779b82f00', 'name': 'Outside', 'color': 'ikea_blue_no_60', 'icon': 'rooms_bedside_table'}, 'deviceSet': [{'id': 'f44a079f-8974-4a2b-b4ad-a3a587b650c4', 'name': 'Outside Set Lights', 'icon': 'lighting_nightstand_light'}], 'remoteLinks': [], 'isHidden': False}, {'id': '41557dbf-10ee-408f-a81c-1b6547e81732_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-04-06T03:00:15.000Z', 'isReachable': True, 'lastSeen': '2024-05-10T19:36:44.000Z', 'customIcon': 'lighting_floor_lamp', 'attributes': {'customName': 'TV Bedroom Light', 'model': 'TRADFRI bulb E27 CWS globe 806lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.38', 'hardwareVersion': '1', 'serialNumber': '3C2EF5FFFEEE373B', 'productCode': 'LED2109G6', 'isOn': False, 'startupOnOff': 'startOn', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'colorHue': 34.9969482421875, 'colorSaturation': 0.7992125984251969, 'colorTemperature': 2202, 'colorTemperatureMin': 4000, 'colorTemperatureMax': 2202, 'startupTemperature': -1, 'colorMode': 'temperature', 'identifyStarted': '2000-01-01T00:00:00.000Z', 'identifyPeriod': 0, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'isOn', 'lightLevel', 'colorTemperature', 'colorHue', 'colorSaturation']}, 'room': {'id': '61d63b7a-1cf7-40aa-b2d8-09c5d9f056e8', 'name': 'Bedroom', 'color': 'ikea_green_no_65', 'icon': 'rooms_bed'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'c8eced1e-2dba-4be8-9c19-687f7744a0d4_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-04-13T22:41:47.000Z', 'isReachable': False, 'lastSeen': '2024-05-08T23:05:19.000Z', 'attributes': {'customName': 'Light 10', 'model': 'TRADFRIbulbE14WWclear250lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.1.006', 'hardwareVersion': '1', 'serialNumber': '0CAE5FFFFE11E8A2', 'productCode': 'LED1935C3', 'isOn': True, 'startupOnOff': 'startOn', 'lightLevel': 20, 'startUpCurrentLevel': -1, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'identifyPeriod': 0, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'isOn', 'lightLevel']}, 'room': {'id': '0f08fcd6-a8a6-49b0-b77a-9d5779b82f00', 'name': 'Outside', 'color': 'ikea_blue_no_60', 'icon': 'rooms_bedside_table'}, 'deviceSet': [{'id': 'f44a079f-8974-4a2b-b4ad-a3a587b650c4', 'name': 'Outside Set Lights', 'icon': 'lighting_nightstand_light'}], 'remoteLinks': [], 'isHidden': False}, {'id': 'e51a9e3c-0e0b-450d-a34d-f741cf6a0923_1', 'type': 'sensor', 'deviceType': 'environmentSensor', 'createdAt': '2024-04-05T16:31:37.000Z', 'isReachable': True, 'lastSeen': '2024-05-11T09:06:59.000Z', 'attributes': {'customName': 'Sensor Bedroom ', 'model': 'VINDSTYRKA', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.11', 'hardwareVersion': '1', 'serialNumber': '0CAE5FFFFE5F0C3A', 'productCode': 'E2112', 'currentTemperature': 24, 'currentRH': 63, 'currentPM25': 8, 'maxMeasuredPM25': 999, 'minMeasuredPM25': 0, 'vocIndex': 126, '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': '61d63b7a-1cf7-40aa-b2d8-09c5d9f056e8', 'name': 'Bedroom', 'color': 'ikea_green_no_65', 'icon': 'rooms_bed'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '9d406c8a-92c8-4139-9860-c94755d33bd6_1', 'type': 'blinds', 'deviceType': 'blinds', 'createdAt': '2024-04-09T20:10:25.000Z', 'isReachable': True, 'lastSeen': '2024-05-11T02:57:09.000Z', 'attributes': {'customName': 'Bedroom Blind Left', 'model': 'FYRTUR block-out roller blind', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '24.4.13', 'hardwareVersion': '1', 'serialNumber': 'BC026EFFFE3B4604', 'productCode': 'E1757-140', 'batteryPercentage': 96, 'blindsTargetLevel': 100, 'blindsCurrentLevel': 100, 'blindsState': 'stopped', 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'blindsCurrentLevel', 'blindsTargetLevel', 'blindsState']}, 'room': {'id': '61d63b7a-1cf7-40aa-b2d8-09c5d9f056e8', 'name': 'Bedroom', 'color': 'ikea_green_no_65', 'icon': 'rooms_bed'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '43b1d2ce-f0a8-44d8-a265-9399d800be54_1', 'relationId': '43b1d2ce-f0a8-44d8-a265-9399d800be54', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-04-09T19:56:20.000Z', 'isReachable': True, 'lastSeen': '2024-05-11T02:51:35.000Z', 'customIcon': 'products_led_bulb', 'attributes': {'customName': 'Outside Lights', 'model': 'lumi.switch.l2aeu1', 'manufacturer': 'LUMI', 'firmwareVersion': '', 'hardwareVersion': '1', 'serialNumber': '54EF441000AE3A7D', 'isOn': False, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'isOn']}, 'room': {'id': 'a7400432-4a38-4d11-821e-d0bb33be1ae1', 'name': 'Media Room', 'color': 'ikea_blue_no_63', 'icon': 'rooms_clapper'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '43b1d2ce-f0a8-44d8-a265-9399d800be54_2', 'relationId': '43b1d2ce-f0a8-44d8-a265-9399d800be54', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-04-09T19:56:20.000Z', 'isReachable': True, 'lastSeen': '2024-05-11T02:51:35.000Z', 'customIcon': 'lighting_fan', 'attributes': {'customName': 'Media Room Fan', 'model': 'lumi.switch.l2aeu1', 'manufacturer': 'LUMI', 'firmwareVersion': '', 'hardwareVersion': '1', 'serialNumber': '54EF441000AE3A7D', 'isOn': False, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'isOn']}, 'room': {'id': 'a7400432-4a38-4d11-821e-d0bb33be1ae1', 'name': 'Media Room', 'color': 'ikea_blue_no_63', 'icon': 'rooms_clapper'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'feab0316-070b-4a2e-8e97-4c0c354a1636_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-04-05T22:43:50.000Z', 'isReachable': True, 'lastSeen': '2024-05-11T08:51:18.000Z', 'customIcon': 'lighting_led_strip', 'attributes': {'customName': 'Back Cupboard Down', 'model': 'lumi.light.acn132', 'manufacturer': 'Aqara', 'firmwareVersion': '', 'hardwareVersion': '1', 'serialNumber': '', 'productCode': '', 'colorHue': 239.660885889077, 'colorSaturation': 1, 'colorTemperature': 3984, 'colorTemperatureMin': 6535, 'colorTemperatureMax': 2702, 'startupTemperature': 4000, 'colorMode': 'temperature', 'lightLevel': 100, 'isOn': False, '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', 'colorTemperature', 'colorHue', 'colorSaturation', 'lightLevel', 'isOn']}, 'room': {'id': '9c859847-30cf-47e2-8521-84420d88305d', 'name': 'Kitchen', 'color': 'ikea_red_no_39', 'icon': 'rooms_cutlery'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '9f64b431-4485-4e14-83f1-4693c0dafc93_1', 'type': 'sensor', 'deviceType': 'openCloseSensor', 'createdAt': '2024-04-13T12:58:10.000Z', 'isReachable': True, 'lastSeen': '2024-05-11T06:15:21.000Z', 'customIcon': 'placement_door', 'attributes': {'customName': 'Door Sensor Outside', 'model': 'PARASOLL Door/Window Sensor', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.19', 'hardwareVersion': '1', 'serialNumber': '048727FFFE5287CE', 'productCode': 'E2013', 'batteryPercentage': 84, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'identifyPeriod': 0, 'isOpen': False, 'permittingJoin': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName']}, 'room': {'id': '0f08fcd6-a8a6-49b0-b77a-9d5779b82f00', 'name': 'Outside', 'color': 'ikea_blue_no_60', 'icon': 'rooms_bedside_table'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'c2a5fc20-d126-4e36-a888-dac432e29351_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-04-05T22:39:55.000Z', 'isReachable': True, 'lastSeen': '2024-05-11T02:56:10.000Z', 'customIcon': 'lighting_led_strip', 'attributes': {'customName': 'Front Cupboard Down', 'model': 'lumi.light.acn132', 'manufacturer': 'Aqara', 'firmwareVersion': '', 'hardwareVersion': '1', 'serialNumber': '', 'productCode': '', 'colorHue': 239.660885889077, 'colorSaturation': 1, 'colorTemperature': 3984, 'colorTemperatureMin': 6535, 'colorTemperatureMax': 2702, 'startupTemperature': 4000, 'colorMode': 'temperature', 'lightLevel': 100, 'isOn': False, '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', 'colorTemperature', 'colorHue', 'colorSaturation', 'lightLevel', 'isOn']}, 'room': {'id': '9c859847-30cf-47e2-8521-84420d88305d', 'name': 'Kitchen', 'color': 'ikea_red_no_39', 'icon': 'rooms_cutlery'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'f8212acf-24d3-42d7-847b-1c305c470462_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-04-13T21:07:45.000Z', 'isReachable': False, 'lastSeen': '2024-05-08T23:05:15.000Z', 'attributes': {'customName': 'Light 9', 'model': 'TRADFRIbulbE14WWclear250lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.1.006', 'hardwareVersion': '1', 'serialNumber': '0CAE5FFFFE06D606', 'productCode': 'LED1935C3', 'isOn': True, 'startupOnOff': 'startOn', 'lightLevel': 20, 'startUpCurrentLevel': -1, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'identifyPeriod': 0, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'isOn', 'lightLevel']}, 'room': {'id': '0f08fcd6-a8a6-49b0-b77a-9d5779b82f00', 'name': 'Outside', 'color': 'ikea_blue_no_60', 'icon': 'rooms_bedside_table'}, 'deviceSet': [{'id': 'f44a079f-8974-4a2b-b4ad-a3a587b650c4', 'name': 'Outside Set Lights', 'icon': 'lighting_nightstand_light'}], 'remoteLinks': [], 'isHidden': False}, {'id': '475cc495-4445-4247-ad3e-ddfa149a9cd1_1', 'type': 'blinds', 'deviceType': 'blinds', 'createdAt': '2024-04-05T14:39:51.000Z', 'isReachable': True, 'lastSeen': '2024-05-11T02:56:54.000Z', 'attributes': {'customName': 'Bedroom Blind Right', 'model': 'FYRTUR block-out roller blind', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '24.4.13', 'hardwareVersion': '1', 'serialNumber': '6C5CB1FFFE78FA80', 'productCode': 'E1757-140', 'batteryPercentage': 93, 'blindsTargetLevel': 100, 'blindsCurrentLevel': 100, 'blindsState': 'stopped', 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'blindsCurrentLevel', 'blindsTargetLevel', 'blindsState']}, 'room': {'id': '61d63b7a-1cf7-40aa-b2d8-09c5d9f056e8', 'name': 'Bedroom', 'color': 'ikea_green_no_65', 'icon': 'rooms_bed'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '49267ed9-cd73-443d-b384-c23c750740a3_1', 'type': 'sensor', 'deviceType': 'openCloseSensor', 'createdAt': '2024-04-13T13:43:04.000Z', 'isReachable': True, 'lastSeen': '2024-05-11T06:46:48.000Z', 'customIcon': 'placement_door', 'attributes': {'customName': 'Entrance Door Sensor', 'model': 'PARASOLL Door/Window Sensor', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.19', 'hardwareVersion': '1', 'serialNumber': '048727FFFE4AC4AE', 'productCode': 'E2013', 'batteryPercentage': 43, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'identifyPeriod': 0, 'isOpen': False, 'permittingJoin': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName']}, 'room': {'id': '421d55b1-65fd-4545-a33f-0de44bad173b', 'name': 'Hallway', 'color': 'ikea_yellow_no_24', 'icon': 'rooms_book_case'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '68c6621d-a4dc-428f-8135-642ccf743c8c_1', 'type': 'sensor', 'deviceType': 'environmentSensor', 'createdAt': '2024-04-13T10:29:14.000Z', 'isReachable': True, 'lastSeen': '2024-05-11T09:06:58.000Z', 'attributes': {'customName': 'Sensor Bathroom', 'model': 'VINDSTYRKA', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.11', 'hardwareVersion': '1', 'serialNumber': 'A46DD4FFFE4D1887', 'productCode': 'E2112', 'currentTemperature': 24, 'currentRH': 60, 'currentPM25': 6, 'maxMeasuredPM25': 999, 'minMeasuredPM25': 0, 'vocIndex': 78, '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': 'cbc8a34a-a0cf-4084-91c1-a9072d3c249e', 'name': 'Bathroom', 'color': 'ikea_pink_no_8', 'icon': 'rooms_bathtub'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'f5878eb5-8acf-4d3e-b627-948655a71375_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-04-05T13:55:13.000Z', 'isReachable': True, 'lastSeen': '2024-05-11T02:56:09.000Z', 'customIcon': 'lighting_led_strip', 'attributes': {'customName': 'Kitchen Front Cupboard', 'model': 'ORMANAS LED Strip', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.1.10', 'hardwareVersion': '1', 'serialNumber': '287681FFFE7FFB0C', 'productCode': 'L2112', 'isOn': False, 'startupOnOff': 'startOn', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'colorHue': 30.227349000635456, 'colorSaturation': 0.6369916039373907, 'colorTemperature': 2801, 'colorTemperatureMin': 4000, 'colorTemperatureMax': 2202, 'startupTemperature': -1, 'colorMode': 'color', 'identifyStarted': '2000-01-01T00:00:00.000Z', 'identifyPeriod': 0, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'isOn', 'lightLevel', 'colorTemperature', 'colorHue', 'colorSaturation']}, 'room': {'id': '9c859847-30cf-47e2-8521-84420d88305d', 'name': 'Kitchen', 'color': 'ikea_red_no_39', 'icon': 'rooms_cutlery'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '5817d190-530e-4207-a359-b70321c9eecb_1', 'relationId': '5817d190-530e-4207-a359-b70321c9eecb', 'type': 'gateway', 'deviceType': 'gateway', 'createdAt': '2023-12-15T15:44:20.684Z', 'isReachable': True, 'lastSeen': '2024-05-11T08:07:00.742Z', 'attributes': {'customName': 'Nuno Cid Ponte', 'model': 'DIRIGERA Hub for smart products', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.556.0', 'hardwareVersion': 'P2.5', 'serialNumber': '5817d190-530e-4207-a359-b70321c9eecb', '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': 'PT', 'userConsents': [{'name': 'analytics', 'value': 'enabled'}, {'name': 'diagnostics', 'value': 'enabled'}], 'logLevel': 3, 'coredump': False, 'timezone': 'Europe/Lisbon', 'nextSunSet': '2024-05-11T19:39:00.000Z', 'nextSunRise': '2024-05-12T05:28:00.000Z', 'homestate': 'home', 'countryCode': 'XZ', 'coordinates': {'latitude': 38.72072072072072, 'longitude': -9.237590405943559, 'accuracy': -1}, 'isOn': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'permittingJoin', 'userConsents', 'logLevel', 'time', 'timezone', 'countryCode', 'coordinates']}, 'deviceSet': [], 'remoteLinks': []}, {'id': 'd8b51838-9e6d-4cec-8331-751bdb76c2c3_1', 'type': 'sensor', 'deviceType': 'environmentSensor', 'createdAt': '2024-04-05T15:10:38.000Z', 'isReachable': True, 'lastSeen': '2024-05-11T09:06:50.000Z', 'attributes': {'customName': 'Sensor Media Room', 'model': 'VINDSTYRKA', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.11', 'hardwareVersion': '1', 'serialNumber': '0CAE5FFFFEBFA1AD', 'productCode': 'E2112', 'currentTemperature': 23, 'currentRH': 62, 'currentPM25': 8, 'maxMeasuredPM25': 999, 'minMeasuredPM25': 0, 'vocIndex': 100, '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': 'a7400432-4a38-4d11-821e-d0bb33be1ae1', 'name': 'Media Room', 'color': 'ikea_blue_no_63', 'icon': 'rooms_clapper'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}]
2024-05-11 09:07:02.389 INFO (SyncWorker_8) [custom_components.dirigera_platform] --------------
2024-05-11 09:07:02.389 INFO (SyncWorker_8) [custom_components.dirigera_platform] === END Devices JSON ===
from dirigera_platform.
Correct, the issue is with the base library. Have submitted a pull request as its merged will cut a new release to reflect the same
from dirigera_platform.
Should work now, please use the latest release
from dirigera_platform.
Hi @sanjoyg,
Yes it does:
Although it doesn't show the blinds battery on the list of devices, the entity is shown on the dashboard (Dwain's dashboard):
Thank You very much!
I'll be moving the motion sensors to the Ikea hub once again :)
from dirigera_platform.
Hi,
Thank you so much for the quick update.
After upgrading to 1.7.1, I now see the battery level for my IKEA PARASOLL door sensor in the device list. Unfortunately, I do not see the battery levels in the device list for the two types of remotes I currently have connected to my Dirigera ("Remote control N2" and "Tradfri on/off switch").
I also noted that the battery is still reported under "sensors" rather than under "diagnostic" where I find it for Z2M. Not sure it makes any difference apart from aestethics though...
Again: thank you!
from dirigera_platform.
from dirigera_platform.
Thank you, lemme have a look for the remote controls... I assume they are included in the json dump
from dirigera_platform.
Hi,
Thanks sanjoyg. Really appreciate your help :-)
I'm afraid the json dump was from vulcanoid1975. Would be happy to make a dump as well - but will need a littel pointer on how to create one :-)
For now, the battery is reported for both remotes in the device page under "senors" (if that helps):
//S
from dirigera_platform.
I mis-understdood the issue at the first place. The battery level will appear as a sensor for the device. This is the general trends with most integration where there is one device representation and all relevant data points are represented as sensors. Example IKEA environment device, will expose as one device and multiple sensors for temperature, humidity, battery level etc.
from dirigera_platform.
Sorry if I'm mis-unerstanding your last comment. The issue is that the battery level indicator is missing in the Home Assistant device listing for the remotes ... (on the right-hand column in the screenshot below)
... even though the battery level is available under sensors in the device view.
I would love to be able to see the battery level of the remotes directly in the device list.
from dirigera_platform.
My comment about the battery being listed under sensors was a separate (probably unimportant) observation. I noted that batteries of devices in the zigbee2mqtt integration are listed under "Diagnostic" rather than under "Sensors" (see screenhot below). My understanding is that these are also entities, but with a different category. I was wondering whether the category could explain why the battery entity for the Dirigera remotes are not shown in the device list. However, the door sensor has its battery entity under "Sensors", so I assume that is not the explanation.
from dirigera_platform.
Try now
from dirigera_platform.
Tried. Unfortunatly not working with 1.7.3 :-( Only dirigera integration device that has a battery level indicator in the device list is the PARASOLL door sensor
from dirigera_platform.
Parasoll and Vallhorn sensors battery levels are shown:
Blinds are not, but are available on diagnostics:
from dirigera_platform.
Is the json dump same? then I can try it
from dirigera_platform.
It should be the same, but I made some changes so ... here's another one:
2024-05-21 13:32:42.093 INFO (SyncWorker_39) [custom_components.dirigera_platform] === START Devices JSON ===
2024-05-21 13:32:42.093 INFO (SyncWorker_39) [custom_components.dirigera_platform] --------------
2024-05-21 13:32:42.373 INFO (SyncWorker_39) [custom_components.dirigera_platform] [{'id': 'f299b378-939d-491f-9ba8-f0c724fbc6bf_1', 'type': 'sensor', 'deviceType': 'environmentSensor', 'createdAt': '2024-04-13T10:30:02.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T13:31:39.000Z', 'attributes': {'customName': 'Sensor Kitchen', 'model': 'VINDSTYRKA', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.11', 'hardwareVersion': '1', 'serialNumber': '0CAE5FFFFE5F0A5A', 'productCode': 'E2112', 'currentTemperature': 21, 'currentRH': 71, 'currentPM25': 1, 'maxMeasuredPM25': 999, 'minMeasuredPM25': 0, 'vocIndex': 167, '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': '9c859847-30cf-47e2-8521-84420d88305d', 'name': 'Kitchen', 'color': 'ikea_red_no_39', 'icon': 'rooms_cutlery'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '3f59f95c-4277-409f-833e-8d09f9e3a109_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-04-05T13:58:54.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T09:51:26.000Z', 'customIcon': 'lighting_led_strip', 'attributes': {'customName': 'Kitchen Back Cupboard', 'model': 'ORMANAS LED Strip', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.1.10', 'hardwareVersion': '1', 'serialNumber': '287681FFFE0AE18A', 'productCode': 'L2112', 'isOn': False, 'startupOnOff': 'startOn', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'colorHue': 94.998779296875, 'colorSaturation': 0.1377952755905512, 'colorTemperature': 3521, 'colorTemperatureMin': 4000, 'colorTemperatureMax': 2202, 'startupTemperature': -1, 'colorMode': 'temperature', 'identifyStarted': '2000-01-01T00:00:00.000Z', 'identifyPeriod': 0, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'isOn', 'lightLevel', 'colorTemperature', 'colorHue', 'colorSaturation']}, 'room': {'id': '9c859847-30cf-47e2-8521-84420d88305d', 'name': 'Kitchen', 'color': 'ikea_red_no_39', 'icon': 'rooms_cutlery'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'e67bab52-7f2f-4e8e-b6a7-0c10aa06ca1e_1', 'type': 'sensor', 'deviceType': 'environmentSensor', 'createdAt': '2024-04-05T15:06:00.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T13:32:37.000Z', 'attributes': {'customName': 'Sensor Office', 'model': 'VINDSTYRKA', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.11', 'hardwareVersion': '1', 'serialNumber': '0CAE5FFFFE642195', 'productCode': 'E2112', 'currentTemperature': 22, 'currentRH': 64, 'currentPM25': 2, 'maxMeasuredPM25': 999, 'minMeasuredPM25': 0, 'vocIndex': 190, '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': 'bb08b138-ac1d-4605-b816-731481dea270', 'name': 'Office', 'color': 'ikea_brown_no_41', 'icon': 'rooms_bedside_table'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '41557dbf-10ee-408f-a81c-1b6547e81732_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-04-06T03:00:15.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T02:29:17.000Z', 'customIcon': 'lighting_floor_lamp', 'attributes': {'customName': 'TV Bedroom Light', 'model': 'TRADFRI bulb E27 CWS globe 806lm', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.38', 'hardwareVersion': '1', 'serialNumber': '3C2EF5FFFEEE373B', 'productCode': 'LED2109G6', 'isOn': False, 'startupOnOff': 'startOn', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'colorHue': 34.9969482421875, 'colorSaturation': 0.7992125984251969, 'colorTemperature': 2202, 'colorTemperatureMin': 4000, 'colorTemperatureMax': 2202, 'startupTemperature': -1, 'colorMode': 'temperature', 'identifyStarted': '2000-01-01T00:00:00.000Z', 'identifyPeriod': 0, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'isOn', 'lightLevel', 'colorTemperature', 'colorHue', 'colorSaturation']}, 'room': {'id': '61d63b7a-1cf7-40aa-b2d8-09c5d9f056e8', 'name': 'Bedroom', 'color': 'ikea_green_no_65', 'icon': 'rooms_bed'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'e51a9e3c-0e0b-450d-a34d-f741cf6a0923_1', 'type': 'sensor', 'deviceType': 'environmentSensor', 'createdAt': '2024-04-05T16:31:37.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T13:32:41.000Z', 'attributes': {'customName': 'Sensor Bedroom ', 'model': 'VINDSTYRKA', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.11', 'hardwareVersion': '1', 'serialNumber': '0CAE5FFFFE5F0C3A', 'productCode': 'E2112', 'currentTemperature': 22, 'currentRH': 68, 'currentPM25': 1, 'maxMeasuredPM25': 999, 'minMeasuredPM25': 0, 'vocIndex': 139, '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': '61d63b7a-1cf7-40aa-b2d8-09c5d9f056e8', 'name': 'Bedroom', 'color': 'ikea_green_no_65', 'icon': 'rooms_bed'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '9d406c8a-92c8-4139-9860-c94755d33bd6_1', 'type': 'blinds', 'deviceType': 'blinds', 'createdAt': '2024-04-09T20:10:25.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T07:30:39.000Z', 'attributes': {'customName': 'Bedroom Blind Left', 'model': 'FYRTUR block-out roller blind', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '24.4.13', 'hardwareVersion': '1', 'serialNumber': 'BC026EFFFE3B4604', 'productCode': 'E1757-140', 'batteryPercentage': 95, 'blindsTargetLevel': 0, 'blindsCurrentLevel': 0, 'blindsState': 'stopped', 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'blindsCurrentLevel', 'blindsTargetLevel', 'blindsState']}, 'room': {'id': '61d63b7a-1cf7-40aa-b2d8-09c5d9f056e8', 'name': 'Bedroom', 'color': 'ikea_green_no_65', 'icon': 'rooms_bed'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'feab0316-070b-4a2e-8e97-4c0c354a1636_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-04-05T22:43:50.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T08:44:53.000Z', 'customIcon': 'lighting_led_strip', 'attributes': {'customName': 'Back Cupboard Down', 'model': 'lumi.light.acn132', 'manufacturer': 'Aqara', 'firmwareVersion': '', 'hardwareVersion': '1', 'serialNumber': '', 'productCode': '', 'colorHue': 239.660885889077, 'colorSaturation': 1, 'colorTemperature': 3521, 'colorTemperatureMin': 6535, 'colorTemperatureMax': 2702, 'startupTemperature': 4000, 'colorMode': 'temperature', 'lightLevel': 100, 'isOn': False, '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', 'colorTemperature', 'colorHue', 'colorSaturation', 'lightLevel', 'isOn']}, 'room': {'id': '9c859847-30cf-47e2-8521-84420d88305d', 'name': 'Kitchen', 'color': 'ikea_red_no_39', 'icon': 'rooms_cutlery'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '9f64b431-4485-4e14-83f1-4693c0dafc93_1', 'type': 'sensor', 'deviceType': 'openCloseSensor', 'createdAt': '2024-04-13T12:58:10.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T04:13:44.000Z', 'customIcon': 'placement_door', 'attributes': {'customName': 'Door Sensor Outside', 'model': 'PARASOLL Door/Window Sensor', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.19', 'hardwareVersion': '1', 'serialNumber': '048727FFFE5287CE', 'productCode': 'E2013', 'batteryPercentage': 82, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'identifyPeriod': 0, 'isOpen': False, 'permittingJoin': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName']}, 'room': {'id': '0f08fcd6-a8a6-49b0-b77a-9d5779b82f00', 'name': 'Outside', 'color': 'ikea_blue_no_60', 'icon': 'rooms_bedside_table'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'c2a5fc20-d126-4e36-a888-dac432e29351_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-04-05T22:39:55.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T00:41:10.000Z', 'customIcon': 'lighting_led_strip', 'attributes': {'customName': 'Front Cupboard Down', 'model': 'lumi.light.acn132', 'manufacturer': 'Aqara', 'firmwareVersion': '', 'hardwareVersion': '1', 'serialNumber': '', 'productCode': '', 'colorHue': 239.660885889077, 'colorSaturation': 1, 'colorTemperature': 3521, 'colorTemperatureMin': 6535, 'colorTemperatureMax': 2702, 'startupTemperature': 4000, 'colorMode': 'temperature', 'lightLevel': 100, 'isOn': False, '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', 'colorTemperature', 'colorHue', 'colorSaturation', 'lightLevel', 'isOn']}, 'room': {'id': '9c859847-30cf-47e2-8521-84420d88305d', 'name': 'Kitchen', 'color': 'ikea_red_no_39', 'icon': 'rooms_cutlery'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '475cc495-4445-4247-ad3e-ddfa149a9cd1_1', 'type': 'blinds', 'deviceType': 'blinds', 'createdAt': '2024-04-05T14:39:51.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T07:30:25.000Z', 'attributes': {'customName': 'Bedroom Blind Right', 'model': 'FYRTUR block-out roller blind', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '24.4.13', 'hardwareVersion': '1', 'serialNumber': '6C5CB1FFFE78FA80', 'productCode': 'E1757-140', 'batteryPercentage': 92, 'blindsTargetLevel': 0, 'blindsCurrentLevel': 0, 'blindsState': 'stopped', 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'blindsCurrentLevel', 'blindsTargetLevel', 'blindsState']}, 'room': {'id': '61d63b7a-1cf7-40aa-b2d8-09c5d9f056e8', 'name': 'Bedroom', 'color': 'ikea_green_no_65', 'icon': 'rooms_bed'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '49267ed9-cd73-443d-b384-c23c750740a3_1', 'type': 'sensor', 'deviceType': 'openCloseSensor', 'createdAt': '2024-04-13T13:43:04.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T08:45:10.000Z', 'customIcon': 'placement_door', 'attributes': {'customName': 'Entrance Door Sensor', 'model': 'PARASOLL Door/Window Sensor', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.19', 'hardwareVersion': '1', 'serialNumber': '048727FFFE4AC4AE', 'productCode': 'E2013', 'batteryPercentage': 95, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'identifyPeriod': 0, 'isOpen': False, 'permittingJoin': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName']}, 'room': {'id': '421d55b1-65fd-4545-a33f-0de44bad173b', 'name': 'Hallway', 'color': 'ikea_yellow_no_24', 'icon': 'rooms_book_case'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '68c6621d-a4dc-428f-8135-642ccf743c8c_1', 'type': 'sensor', 'deviceType': 'environmentSensor', 'createdAt': '2024-04-13T10:29:14.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T13:32:37.000Z', 'attributes': {'customName': 'Sensor Bathroom', 'model': 'VINDSTYRKA', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.11', 'hardwareVersion': '1', 'serialNumber': 'A46DD4FFFE4D1887', 'productCode': 'E2112', 'currentTemperature': 21, 'currentRH': 71, 'currentPM25': 1, 'maxMeasuredPM25': 999, 'minMeasuredPM25': 0, 'vocIndex': 187, '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': 'cbc8a34a-a0cf-4084-91c1-a9072d3c249e', 'name': 'Bathroom', 'color': 'ikea_pink_no_8', 'icon': 'rooms_bathtub'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'f5878eb5-8acf-4d3e-b627-948655a71375_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-04-05T13:55:13.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T00:41:08.000Z', 'customIcon': 'lighting_led_strip', 'attributes': {'customName': 'Kitchen Front Cupboard', 'model': 'ORMANAS LED Strip', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.1.10', 'hardwareVersion': '1', 'serialNumber': '287681FFFE7FFB0C', 'productCode': 'L2112', 'isOn': False, 'startupOnOff': 'startOn', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'colorHue': 30.227349000635456, 'colorSaturation': 0.6369916039373907, 'colorTemperature': 3521, 'colorTemperatureMin': 4000, 'colorTemperatureMax': 2202, 'startupTemperature': -1, 'colorMode': 'temperature', 'identifyStarted': '2000-01-01T00:00:00.000Z', 'identifyPeriod': 0, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'isOn', 'lightLevel', 'colorTemperature', 'colorHue', 'colorSaturation']}, 'room': {'id': '9c859847-30cf-47e2-8521-84420d88305d', 'name': 'Kitchen', 'color': 'ikea_red_no_39', 'icon': 'rooms_cutlery'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '5817d190-530e-4207-a359-b70321c9eecb_1', 'relationId': '5817d190-530e-4207-a359-b70321c9eecb', 'type': 'gateway', 'deviceType': 'gateway', 'createdAt': '2023-12-15T15:44:20.684Z', 'isReachable': True, 'lastSeen': '2024-05-21T12:32:00.468Z', 'attributes': {'customName': 'Nuno Cid Ponte', 'model': 'DIRIGERA Hub for smart products', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.556.0', 'hardwareVersion': 'P2.5', 'serialNumber': '5817d190-530e-4207-a359-b70321c9eecb', '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': 'PT', 'userConsents': [{'name': 'analytics', 'value': 'enabled'}, {'name': 'diagnostics', 'value': 'enabled'}], 'logLevel': 3, 'coredump': False, 'timezone': 'Europe/Lisbon', 'nextSunSet': '2024-05-21T19:48:00.000Z', 'nextSunRise': '2024-05-22T05:20:00.000Z', 'homestate': 'home', 'countryCode': 'XZ', 'coordinates': {'latitude': 38.72072072072072, 'longitude': -9.237590405943559, 'accuracy': -1}, 'isOn': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'permittingJoin', 'userConsents', 'logLevel', 'time', 'timezone', 'countryCode', 'coordinates']}, 'deviceSet': [], 'remoteLinks': []}, {'id': 'd8b51838-9e6d-4cec-8331-751bdb76c2c3_1', 'type': 'sensor', 'deviceType': 'environmentSensor', 'createdAt': '2024-04-05T15:10:38.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T13:32:41.000Z', 'attributes': {'customName': 'Sensor Media Room', 'model': 'VINDSTYRKA', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.11', 'hardwareVersion': '1', 'serialNumber': '0CAE5FFFFEBFA1AD', 'productCode': 'E2112', 'currentTemperature': 21, 'currentRH': 71, 'currentPM25': 2, 'maxMeasuredPM25': 999, 'minMeasuredPM25': 0, 'vocIndex': 149, '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': 'a7400432-4a38-4d11-821e-d0bb33be1ae1', 'name': 'Media Room', 'color': 'ikea_blue_no_63', 'icon': 'rooms_clapper'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '7afcc32a-bc70-40d5-8343-bf995d010b53_1', 'type': 'sensor', 'deviceType': 'openCloseSensor', 'createdAt': '2024-05-15T20:28:30.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T11:07:09.000Z', 'attributes': {'customName': 'Bedroom Window Sensor', 'firmwareVersion': '1.0.19', 'hardwareVersion': '1', 'manufacturer': 'IKEA of Sweden', 'model': 'PARASOLL Door/Window Sensor', 'productCode': 'E2013', 'serialNumber': '048727FFFE9A65B8', 'batteryPercentage': 96, 'identifyPeriod': 0, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'isOpen': False, 'permittingJoin': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName']}, 'room': {'id': '61d63b7a-1cf7-40aa-b2d8-09c5d9f056e8', 'name': 'Bedroom', 'color': 'ikea_green_no_65', 'icon': 'rooms_bed'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'd6b81b57-ca75-458a-a1cd-8c557e54d14a_1', 'type': 'sensor', 'deviceType': 'openCloseSensor', 'createdAt': '2024-05-15T20:32:34.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T08:00:16.000Z', 'customIcon': 'placement_window', 'attributes': {'customName': 'Office Window Sensor', 'firmwareVersion': '1.0.19', 'hardwareVersion': '1', 'manufacturer': 'IKEA of Sweden', 'model': 'PARASOLL Door/Window Sensor', 'productCode': 'E2013', 'serialNumber': '048727FFFEA24F97', 'batteryPercentage': 95, 'identifyPeriod': 0, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'isOpen': False, 'permittingJoin': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName']}, 'room': {'id': 'bb08b138-ac1d-4605-b816-731481dea270', 'name': 'Office', 'color': 'ikea_brown_no_41', 'icon': 'rooms_bedside_table'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'ec3c0e4a-81b8-4c0e-a6d6-134a78010d2c_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-05-18T18:57:12.000Z', 'isReachable': True, 'lastSeen': '2024-05-20T22:54:02.000Z', 'attributes': {'customName': 'Outside Light 4', 'firmwareVersion': '1.1.006', 'hardwareVersion': '1', 'manufacturer': 'IKEA of Sweden', 'model': 'TRADFRIbulbE14WWclear250lm', 'productCode': 'LED1935C3', 'serialNumber': '38398FFFFE91270D', 'isOn': False, 'startupOnOff': 'startOn', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'identifyPeriod': 30, 'identifyStarted': '2024-05-18T19:53:54.000Z', 'permittingJoin': False, 'otaPolicy': 'autoUpdate', 'otaProgress': 0, 'otaScheduleEnd': '00:00', 'otaScheduleStart': '00:00', 'otaState': 'readyToCheck', 'otaStatus': 'upToDate'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'isOn', 'lightLevel']}, 'room': {'id': '0f08fcd6-a8a6-49b0-b77a-9d5779b82f00', 'name': 'Outside', 'color': 'ikea_blue_no_60', 'icon': 'rooms_bedside_table'}, 'deviceSet': [{'id': 'a9f7e211-7a1c-41d7-b914-7d997c9505c4', 'name': 'Outside Lights Set', 'icon': 'lighting_ached_lamp'}], 'remoteLinks': []}, {'id': 'd3ae570b-b7cb-4c7b-9a5b-79535dc0c805_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-05-18T19:56:29.000Z', 'isReachable': True, 'lastSeen': '2024-05-20T22:54:02.000Z', 'attributes': {'customName': 'Light 9', 'firmwareVersion': '1.1.006', 'hardwareVersion': '1', 'manufacturer': 'IKEA of Sweden', 'model': 'TRADFRIbulbE14WWclear250lm', 'productCode': 'LED1935C3', 'serialNumber': '0CAE5FFFFE5EB0A4', 'isOn': False, 'startupOnOff': 'startOn', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'identifyPeriod': 0, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'permittingJoin': False, 'otaPolicy': 'autoUpdate', 'otaProgress': 0, 'otaScheduleEnd': '00:00', 'otaScheduleStart': '00:00', 'otaState': 'readyToCheck', 'otaStatus': 'upToDate'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'isOn', 'lightLevel']}, 'room': {'id': '0f08fcd6-a8a6-49b0-b77a-9d5779b82f00', 'name': 'Outside', 'color': 'ikea_blue_no_60', 'icon': 'rooms_bedside_table'}, 'deviceSet': [{'id': 'a9f7e211-7a1c-41d7-b914-7d997c9505c4', 'name': 'Outside Lights Set', 'icon': 'lighting_ached_lamp'}], 'remoteLinks': [], 'isHidden': False}, {'id': 'e213f027-7dc8-40b9-befa-7bacfe3eb1fb_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-05-18T19:56:30.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T08:18:18.000Z', 'attributes': {'customName': 'Light 10', 'firmwareVersion': '1.1.006', 'hardwareVersion': '1', 'manufacturer': 'IKEA of Sweden', 'model': 'TRADFRIbulbE14WWclear250lm', 'productCode': 'LED1935C3', 'serialNumber': '0CAE5FFFFE06D606', 'isOn': False, 'startupOnOff': 'startOn', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'identifyPeriod': 0, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'permittingJoin': False, 'otaPolicy': 'autoUpdate', 'otaProgress': 0, 'otaScheduleEnd': '00:00', 'otaScheduleStart': '00:00', 'otaState': 'readyToCheck', 'otaStatus': 'upToDate'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'isOn', 'lightLevel']}, 'room': {'id': '0f08fcd6-a8a6-49b0-b77a-9d5779b82f00', 'name': 'Outside', 'color': 'ikea_blue_no_60', 'icon': 'rooms_bedside_table'}, 'deviceSet': [{'id': 'a9f7e211-7a1c-41d7-b914-7d997c9505c4', 'name': 'Outside Lights Set', 'icon': 'lighting_ached_lamp'}], 'remoteLinks': [], 'isHidden': False}, {'id': 'f43b20b3-42aa-4ae6-ad29-5489da980401_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-05-18T19:56:33.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T11:03:02.000Z', 'attributes': {'customName': 'Light 11', 'firmwareVersion': '1.1.006', 'hardwareVersion': '1', 'manufacturer': 'IKEA of Sweden', 'model': 'TRADFRIbulbE14WWclear250lm', 'productCode': 'LED1935C3', 'serialNumber': '0CAE5FFFFE11E8A2', 'isOn': False, 'startupOnOff': 'startOn', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'identifyPeriod': 0, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'permittingJoin': False, 'otaPolicy': 'autoUpdate', 'otaProgress': 0, 'otaScheduleEnd': '00:00', 'otaScheduleStart': '00:00', 'otaState': 'readyToCheck', 'otaStatus': 'upToDate'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'isOn', 'lightLevel']}, 'room': {'id': '0f08fcd6-a8a6-49b0-b77a-9d5779b82f00', 'name': 'Outside', 'color': 'ikea_blue_no_60', 'icon': 'rooms_bedside_table'}, 'deviceSet': [{'id': 'a9f7e211-7a1c-41d7-b914-7d997c9505c4', 'name': 'Outside Lights Set', 'icon': 'lighting_ached_lamp'}], 'remoteLinks': [], 'isHidden': False}, {'id': '09ef584d-2439-4a8e-8e01-6a49a92ff9e0_1', 'type': 'outlet', 'deviceType': 'outlet', 'createdAt': '2024-05-18T23:44:26.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T04:55:03.000Z', 'attributes': {'customName': 'Outside Socket Light 1', 'firmwareVersion': '2.4.4', 'hardwareVersion': '1', 'manufacturer': 'IKEA of Sweden', 'model': 'TRETAKT Smart plug', 'productCode': 'E2204', 'serialNumber': '28DBA7FFFEA9C430', 'isOn': False, 'startupOnOff': 'startPrevious', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'childLock': False, 'statusLight': True, 'identifyPeriod': 0, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'permittingJoin': False, 'otaPolicy': 'autoUpdate', 'otaProgress': 0, 'otaScheduleEnd': '00:00', 'otaScheduleStart': '00:00', 'otaState': 'readyToCheck', 'otaStatus': 'upToDate'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'isOn', 'lightLevel', 'childLock', 'statusLight']}, 'room': {'id': '0f08fcd6-a8a6-49b0-b77a-9d5779b82f00', 'name': 'Outside', 'color': 'ikea_blue_no_60', 'icon': 'rooms_bedside_table'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '607443c0-7044-4c5b-946e-493f5b713263_1', 'type': 'outlet', 'deviceType': 'outlet', 'createdAt': '2024-05-18T23:46:08.000Z', 'isReachable': True, 'lastSeen': '2024-05-20T22:47:43.000Z', 'attributes': {'customName': 'Outside Socket Light 2', 'firmwareVersion': '2.4.4', 'hardwareVersion': '1', 'manufacturer': 'IKEA of Sweden', 'model': 'TRETAKT Smart plug', 'productCode': 'E2204', 'serialNumber': '881A14FFFE2F5E65', 'isOn': False, 'startupOnOff': 'startPrevious', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'childLock': False, 'statusLight': True, 'identifyPeriod': 0, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'permittingJoin': False, 'otaPolicy': 'autoUpdate', 'otaProgress': 0, 'otaScheduleEnd': '00:00', 'otaScheduleStart': '00:00', 'otaState': 'readyToCheck', 'otaStatus': 'upToDate'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'isOn', 'lightLevel', 'childLock', 'statusLight']}, 'room': {'id': '0f08fcd6-a8a6-49b0-b77a-9d5779b82f00', 'name': 'Outside', 'color': 'ikea_blue_no_60', 'icon': 'rooms_bedside_table'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '9d04542a-5d6c-4d09-b207-469cb72fc9b0_1', 'relationId': '9d04542a-5d6c-4d09-b207-469cb72fc9b0', 'type': 'sensor', 'deviceType': 'motionSensor', 'createdAt': '2024-05-19T12:38:16.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T13:32:33.000Z', 'attributes': {'customName': 'Motion Sensor Media Room', 'firmwareVersion': '1.0.64', 'hardwareVersion': '1', 'manufacturer': 'IKEA of Sweden', 'model': 'VALLHORN Wireless Motion Sensor', 'productCode': 'E2134', 'serialNumber': '881A14FFFED8E853', 'batteryPercentage': 86, 'isOn': False, 'isDetected': False, 'motionDetectedDelay': 20, 'identifyPeriod': 0, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'permittingJoin': False, 'sensorConfig': {'scheduleOn': False, 'onDuration': 60, 'schedule': {'onCondition': {'time': '01:00'}, 'offCondition': {'time': '06:00'}}}, 'circadianPresets': []}, 'capabilities': {'canSend': [], 'canReceive': ['customName']}, 'room': {'id': 'a7400432-4a38-4d11-821e-d0bb33be1ae1', 'name': 'Media Room', 'color': 'ikea_blue_no_63', 'icon': 'rooms_clapper'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '9d04542a-5d6c-4d09-b207-469cb72fc9b0_3', 'relationId': '9d04542a-5d6c-4d09-b207-469cb72fc9b0', 'type': 'unknown', 'deviceType': 'lightSensor', 'createdAt': '2024-05-19T12:38:16.000Z', 'isReachable': True, 'lastSeen': '2024-05-21T13:32:33.000Z', 'attributes': {'customName': '', 'firmwareVersion': '1.0.64', 'hardwareVersion': '1', 'manufacturer': 'IKEA of Sweden', 'model': 'VALLHORN Wireless Motion Sensor', 'productCode': 'E2134', 'serialNumber': '881A14FFFED8E853', 'illuminance': 15051, 'permittingJoin': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName']}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}]
2024-05-21 13:32:42.373 INFO (SyncWorker_39) [custom_components.dirigera_platform] --------------
2024-05-21 13:32:42.374 INFO (SyncWorker_39) [custom_components.dirigera_platform] === END Devices JSON ===
from dirigera_platform.
@sanjoyg Hi, I hope this issue can be be fixed quite easily. As you can see only Tradfri motion sensor has the battery status correct show in device list. The Tradfri motion sensor has battery level exposed via Diagnostics and not in the Sensors section which is correct. Other devices has the battery level exposed via Sensor and the Diagnostics shows nothing:
from dirigera_platform.
Please try the latest change
from dirigera_platform.
I can confirm a little change. I can see the battery state in diagnostics, but the battery icon/state is not visible in devices list:
Also if I go into battery details I see some difference to motion sensor, where the battery is implemented well. The main difference is that motion sensor has the battery exposed via "binary_sensor" but the tradfri switch has "sensor"
See below:
from dirigera_platform.
Please try the latest release
from dirigera_platform.
Please try the latest release
I have tried with release 1.7.6 which is currently the latest version
from dirigera_platform.
I was trying to co-relate the following entities to your JSON but I could find the entries. Can you point out the id of the entity from JSON dump in this thread for the following
- Office on/off switch
- Office styrbar remote
- Office symfonisk remote
The json in upper comment is from another user. I posted to this thread screenshots only. But my json is posted in another issue in last comment:
#23 (comment)
You can find there the 1. Office on/off switch and 3. Office symfonisk remote. The styrbar was paired to the hub later and is not included in the json but I believe you can fix that issue by troubleshooting it on that office on/off switch which is model E1743 (https://zigbee.blakadder.com/Ikea_E1743.html)
Thanks
from dirigera_platform.
Fixed this in the latest release, have tested and reviewed it.
from dirigera_platform.
Fixed this in the latest release, have tested and reviewed it.
Nice job man 👏 It is now even better than other devices cause next to the 🔋 icon is percentage shown. Thank you
from dirigera_platform.
I'm using this HA integration for my smarthome as well and I'm very grateful for your work.
I can confirm that with the new release almost all of by Dirigera devices are showing the battery level in the device overview, but there are two exceptions: Two Fyrtur blinds
The battery is shown in the diagnose section for the device, but unlike other devices without value, the value is shown in a popup, if I click on the battery icon or label:
But it's not shown in the device list and I cannot see the level in an enitity card on a dashboard, it only shows on click:
Are blinds something special? Would be great to see the battery level for them as well...
from dirigera_platform.
from dirigera_platform.
Here is the plain logfile:
home-assistant_2024-06-05T13-43-08.494Z.log
I also "beautified" the JSON (replaced single by double quotes, (True|False) by (true|false), then add linebreaks/identation). Here is the result:
dirigera.json
Here's a remote with working battery, the blind control, with label "Büro Rollos" in the screenshot above:
{
"id": "c99dc3fc-894e-4983-b8c3-4b3d473e2779_1",
"type": "controller",
"deviceType": "blindsController",
"createdAt": "2023-11-20T22:37:31.000Z",
"isReachable": true,
"lastSeen": "2024-06-04T15:02:27.000Z",
"attributes": {
"customName": "B\u00fcro Rollos ",
"model": "TRADFRI open/close remote",
"manufacturer": "IKEA of Sweden",
"firmwareVersion": "24.4.6",
"hardwareVersion": "1",
"serialNumber": "588E81FFFE277D60",
"productCode": "E1766",
"batteryPercentage": 20,
"isOn": false,
"lightLevel": 1,
"blindsCurrentLevel": 0,
"blindsState": "",
"permittingJoin": false,
"otaStatus": "upToDate",
"otaState": "readyToCheck",
"otaProgress": 0,
"otaPolicy": "autoUpdate",
"otaScheduleStart": "00:00",
"otaScheduleEnd": "00:00"
},
"capabilities": {
"canSend": [
"isOn",
"lightLevel",
"blindsState"
],
"canReceive": [
"customName"
]
},
And here is one of the blinds:
{
"id": "7bb03ca8-5bcc-413c-a731-ea2c12f892ae_1",
"type": "blinds",
"deviceType": "blinds",
"createdAt": "2023-11-20T22:40:08.000Z",
"isReachable": true,
"lastSeen": "2024-06-05T10:15:54.000Z",
"attributes": {
"customName": "B\u00fcro Rollo rechts ",
"model": "FYRTUR block-out roller blind",
"manufacturer": "IKEA of Sweden",
"firmwareVersion": "24.4.13",
"hardwareVersion": "1",
"serialNumber": "842E14FFFE145B85",
"productCode": "E1757-140",
"batteryPercentage": 80,
"blindsTargetLevel": 40,
"blindsCurrentLevel": 40,
"blindsState": "stopped",
"permittingJoin": false,
"otaStatus": "upToDate",
"otaState": "readyToCheck",
"otaProgress": 0,
"otaPolicy": "autoUpdate",
"otaScheduleStart": "00:00",
"otaScheduleEnd": "00:00"
},
"capabilities": {
"canSend": [],
"canReceive": [
"customName",
"blindsCurrentLevel",
"blindsTargetLevel",
"blindsState"
]
},
"room": {
"id": "c0d3d0bd-43b9-4144-ae92-3c1f9a180878",
"name": "B\u00fcro",
"color": "pantone_16_0230_tcx",
"icon": "rooms_desk"
},
"deviceSet": [],
"remoteLinks": [
"c99dc3fc-894e-4983-b8c3-4b3d473e2779_1"
],
"isHidden": false
}
Actually I can't see a difference in the JSON regarding battery level, but maybe you can :-)
from dirigera_platform.
I tried testing... for some reason it just show up... Will try n fix it over few days
from dirigera_platform.
Wow, sounds really good.
Will give it a try when you're ready!
from dirigera_platform.
I meant it doesnt show up :-(
from dirigera_platform.
Ah, ok.
How can I help tp reproduce?
I mean, the screenshots are real, I promise I didn't edit them ;-)
from dirigera_platform.
from dirigera_platform.
Ah, ok.
Got it...
from dirigera_platform.
I have the same problem that the battery icons in the dashboard are static. My guess: The entities are of type “binary_sensor”; shouldn't they be “sensor”? Binary means that it is not a numerical value, but an on/off or something similar? But I'm not a specialist, so maybe I misunderstood.
Thank you very much for your efforts for this extension!
from dirigera_platform.
The battery is actually of sensor type, Homeassistant has an issue with blinds % its reported in HASS already
from dirigera_platform.
In my installation, the type is binary_sensor (Parasoll):
from dirigera_platform.
aah .. can u give me the json dump
from dirigera_platform.
ikea.txt
here you are @sanjoyg
thank you for your effort!
from dirigera_platform.
Related Issues (20)
- Name of reposetory ? HOT 4
- issue with update of lights since last version 1.7.6 and 1.7.5 HOT 13
- Rodret Wireless Dimmer HOT 2
- Doorsensor event propagation no longer instant HOT 3
- Dirigera HUB connection lost after update / reboot of HomeAutomation HOT 3
- New devices: door sensor (PARASOLL) & Water Leak sensor (BADRING) HOT 2
- Devices do not refresh state after latest update HOT 10
- Connection is lost with the hub (no actions or status updates possible anymore) until reload of integration HOT 13
- Error while setting up dirigera_platform platform for binary_sensor HOT 2
- New Version of HomeAssitant HOT 6
- Error with STARKVIND air purifier fan mode HOT 24
- Battery percentage for non IKEA sensors. HOT 5
- Doesn't find sensors & buttons HOT 5
- Add Support for Sombrig shortcut button
- Power Doesn't Update HOT 2
- Forwarding setup to config entry platforms
- Problem with the HA Integration HOT 17
- 3rd party tuya Sensors, Styrbar & scenes missing HOT 2
- Ikea Dirigera Hub switching IP4 address causing "failed to establish a new connection" error HOT 3
- Repository HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dirigera_platform.