Closed housemaister closed 6 months ago
Would you please call function dump_json and submit, it would help debug the issue
I’m getting a similar error where the room is missing.
Logger: homeassistant.components.switch
Source: helpers/entity_platform.py:350
integration: Switch (documentation, issues)
First occurred: March 22, 2024 at 10:43:00 PM (4 occurrences)
Last logged: 1:54:49 PM
Error while setting up dirigera_platform platform for switch
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 350, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/dirigera_platform/switch.py", line 37, in async_setup_entry
hub_outlets = await hass.async_add_executor_job(hub.get_outlets)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/dirigera/hub/hub.py", line 164, in get_outlets
return [dict_to_outlet(outlet, self) for outlet in outlets]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/dirigera/devices/outlet.py", line 59, in dict_to_outlet
return Outlet(dirigeraClient=dirigera_client, **data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pydantic/main.py", line 341, in __init__
raise validation_error
pydantic.error_wrappers.ValidationError: 1 validation error for Outlet
room
field required (type=value_error.missing)
Probably unrelated but calling the service dump_json
logs nothing to the system log.
EDIT: I got output. I just needed to turn up the log level to debug
.
[
{
"id": "48bad6fe-6a16-4cea-9594-e84c12f9d6c0_1",
"relationId": "48bad6fe-6a16-4cea-9594-e84c12f9d6c0",
"type": "gateway",
"deviceType": "gateway",
"createdAt": "2022-09-14T11:32:34.710Z",
"isReachable": true,
"lastSeen": "2024-03-23T18:58:00.015Z",
"attributes": {
"customName": "Home",
"model": "DIRIGERA Hub for smart products",
"manufacturer": "IKEA of Sweden",
"firmwareVersion": "2.521.6",
"hardwareVersion": "P2.5",
"serialNumber": "48bad6fe-6a16-4cea-9594-e84c12f9d6c0",
"identifyStarted": "2024-03-07T08:04:28.000Z",
"identifyPeriod": 65534,
"otaStatus": "upToDate",
"otaState": "readyToCheck",
"otaProgress": 100,
"otaPolicy": "autoDownload",
"otaScheduleStart": "00:00",
"otaScheduleEnd": "00:00",
"permittingJoin": false,
"backendConnected": true,
"backendConnectionPersistent": true,
"backendOnboardingComplete": true,
"backendRegion": "us-east-1",
"backendCountryCode": "CA",
"userConsents": [
{
"name": "analytics",
"value": "disabled"
},
{
"name": "diagnostics",
"value": "enabled"
}
],
"logLevel": 3,
"coredump": false,
"timezone": "America/Toronto",
"nextSunSet": "2024-03-23T23:38:00.000Z",
"nextSunRise": "2024-03-24T11:17:00.000Z",
"homestateValue": "home",
"homestateLastChanged": "2024-01-31T03:04:16-05:00",
"countryCode": "XZ",
"coordinates": {
"latitude": 0.0,
"longitude": 0.0,
"accuracy": -1
},
"isOn": false
},
"capabilities": {
"canSend": [],
"canReceive": [
"customName",
"permittingJoin",
"userConsents",
"logLevel",
"time",
"timezone",
"countryCode",
"coordinates"
]
},
"deviceSet": [],
"remoteLinks": []
},
{
"id": "8cb0dd0b-a208-4234-bb90-98e80bf586ef_1",
"type": "outlet",
"deviceType": "outlet",
"createdAt": "2023-04-29T00:01:13.000Z",
"isReachable": true,
"lastSeen": "2024-03-23T03:31:45.000Z",
"attributes": {
"customName": "Air compressor",
"model": "TRADFRI control outlet",
"manufacturer": "IKEA of Sweden",
"firmwareVersion": "2.3.089",
"hardwareVersion": "1",
"serialNumber": "3425B4FFFED6907F",
"productCode": "E1706",
"isOn": false,
"startupOnOff": "startPrevious",
"lightLevel": 7,
"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": "95531ed6-c0ae-4d8e-8c28-2ca896b16b57",
"name": "Garage",
"color": "ikea_blue_no_52",
"icon": "rooms_arm_chair"
},
"deviceSet": [],
"remoteLinks": [
"42f74227-8d17-4b07-8204-8510197ac5d1_1"
],
"isHidden": false
},
{
"id": "cec1fa62-771b-4f2f-9289-c6b8ceea2440_1",
"type": "blinds",
"deviceType": "blinds",
"createdAt": "2023-09-01T23:29:02.000Z",
"isReachable": true,
"lastSeen": "2024-03-23T10:10:29.000Z",
"attributes": {
"customName": "Fran south blind",
"model": "FYRTUR block-out roller blind",
"manufacturer": "IKEA of Sweden",
"firmwareVersion": "24.4.13",
"hardwareVersion": "1",
"serialNumber": "CC86ECFFFE1B7FD4",
"productCode": "E1757-140",
"batteryPercentage": 47,
"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": "8164725d-d86d-462c-9572-03235c105de7",
"name": "Fran Bedroom",
"color": "ikea_lilac_no_3",
"icon": "rooms_bed"
},
"deviceSet": [],
"remoteLinks": [],
"isHidden": false
},
{
"id": "def9093c-04d8-4612-bd13-719ba793dc1c_1",
"type": "outlet",
"deviceType": "outlet",
"createdAt": "2024-01-18T15:19:10.000Z",
"isReachable": false,
"lastSeen": "2024-03-07T03:04:29.000Z",
"attributes": {
"customName": "",
"model": "TRADFRI control outlet",
"manufacturer": "IKEA of Sweden",
"firmwareVersion": "2.3.089",
"hardwareVersion": "1",
"serialNumber": "3425B4FFFEFAEFEC",
"productCode": "E1706",
"isOn": false,
"startupOnOff": "startPrevious",
"lightLevel": 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",
"isOn",
"lightLevel"
]
},
"deviceSet": [],
"remoteLinks": [],
"isHidden": false
},
{
"id": "1da75a1a-ba92-4e91-9ace-87cb5f849e34_1",
"type": "blinds",
"deviceType": "blinds",
"createdAt": "2023-09-01T23:28:58.000Z",
"isReachable": true,
"lastSeen": "2024-03-23T10:10:24.000Z",
"attributes": {
"customName": "Fran Big Blind ",
"model": "FYRTUR block-out roller blind",
"manufacturer": "IKEA of Sweden",
"firmwareVersion": "24.4.13",
"hardwareVersion": "1",
"serialNumber": "84FD27FFFED07893",
"productCode": "E1757-140",
"batteryPercentage": 90,
"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": "8164725d-d86d-462c-9572-03235c105de7",
"name": "Fran Bedroom",
"color": "ikea_lilac_no_3",
"icon": "rooms_bed"
},
"deviceSet": [],
"remoteLinks": [],
"isHidden": false
},
{
"id": "42f74227-8d17-4b07-8204-8510197ac5d1_1",
"type": "controller",
"deviceType": "lightController",
"createdAt": "2023-07-12T17:58:46.000Z",
"isReachable": true,
"lastSeen": "2024-03-23T08:05:55.000Z",
"attributes": {
"customName": "Remote 1",
"model": "TRADFRI on/off switch",
"manufacturer": "IKEA of Sweden",
"firmwareVersion": "24.4.6",
"hardwareVersion": "1",
"serialNumber": "943469FFFE5920D6",
"productCode": "E1743",
"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",
"circadianPresets": []
},
"capabilities": {
"canSend": [
"isOn",
"lightLevel",
"blindsState"
],
"canReceive": [
"customName"
]
},
"room": {
"id": "95531ed6-c0ae-4d8e-8c28-2ca896b16b57",
"name": "Garage",
"color": "ikea_blue_no_52",
"icon": "rooms_arm_chair"
},
"deviceSet": [],
"remoteLinks": [],
"isHidden": false
},
{
"id": "ecb480ec-bf6b-4991-bd13-02ff4bd504f9_1",
"type": "outlet",
"deviceType": "outlet",
"createdAt": "2023-05-01T00:20:19.000Z",
"isReachable": true,
"lastSeen": "2024-03-23T11:54:59.000Z",
"attributes": {
"customName": "Lamp",
"model": "TRADFRI control outlet",
"manufacturer": "IKEA of Sweden",
"firmwareVersion": "2.3.089",
"hardwareVersion": "1",
"serialNumber": "3425B4FFFEEC8312",
"productCode": "E1706",
"isOn": false,
"startupOnOff": "startPrevious",
"lightLevel": 100,
"identifyStarted": "2023-10-20T03:13:49.000Z",
"identifyPeriod": 10,
"permittingJoin": false,
"otaStatus": "upToDate",
"otaState": "readyToCheck",
"otaProgress": 0,
"otaPolicy": "autoUpdate",
"otaScheduleStart": "00:00",
"otaScheduleEnd": "00:00"
},
"capabilities": {
"canSend": [],
"canReceive": [
"customName",
"isOn",
"lightLevel"
]
},
"room": {
"id": "ceae4fa8-9785-4afd-999e-a1bf6a427259",
"name": "Frank Bedroom",
"color": "ikea_beige_1",
"icon": "rooms_bed"
},
"deviceSet": [],
"remoteLinks": [],
"isHidden": false
},
{
"id": "5936f776-5f4f-40a9-9b67-7b56c6457dc7_1",
"type": "sensor",
"deviceType": "motionSensor",
"createdAt": "2023-05-01T00:28:24.000Z",
"isReachable": true,
"lastSeen": "2024-03-23T16:43:27.000Z",
"attributes": {
"customName": "Sensor 1",
"model": "TRADFRI motion sensor",
"manufacturer": "IKEA of Sweden",
"firmwareVersion": "24.4.5",
"hardwareVersion": "1",
"serialNumber": "5CC7C1FFFE081B4A",
"productCode": "E1745",
"batteryPercentage": 65,
"isOn": false,
"lightLevel": 1,
"permittingJoin": false,
"otaStatus": "upToDate",
"otaState": "readyToCheck",
"otaProgress": 0,
"otaPolicy": "autoUpdate",
"otaScheduleStart": "00:00",
"otaScheduleEnd": "00:00",
"sensorConfig": {
"scheduleOn": true,
"onDuration": 600,
"schedule": {
"onCondition": {
"time": "22:00"
},
"offCondition": {
"time": "06:00"
}
}
},
"circadianPresets": []
},
"capabilities": {
"canSend": [
"isOn",
"lightLevel"
],
"canReceive": [
"customName"
]
},
"room": {
"id": "95531ed6-c0ae-4d8e-8c28-2ca896b16b57",
"name": "Garage",
"color": "ikea_blue_no_52",
"icon": "rooms_arm_chair"
},
"deviceSet": [],
"remoteLinks": [],
"isHidden": false
},
{
"id": "6a5f317a-5128-46ed-a811-450c2884cedf_1",
"type": "controller",
"deviceType": "lightController",
"createdAt": "2023-07-12T11:56:49.000Z",
"isReachable": true,
"lastSeen": "2024-03-23T08:33:15.000Z",
"attributes": {
"customName": "Remote 4",
"model": "TRADFRI on/off switch",
"manufacturer": "IKEA of Sweden",
"firmwareVersion": "24.4.6",
"hardwareVersion": "1",
"serialNumber": "F082C0FFFEABBCD1",
"productCode": "E1743",
"batteryPercentage": 75,
"isOn": false,
"lightLevel": 1,
"blindsCurrentLevel": 0,
"blindsState": "",
"permittingJoin": false,
"otaStatus": "upToDate",
"otaState": "readyToCheck",
"otaProgress": 0,
"otaPolicy": "autoUpdate",
"otaScheduleStart": "00:00",
"otaScheduleEnd": "00:00",
"circadianPresets": []
},
"capabilities": {
"canSend": [
"isOn",
"lightLevel",
"blindsState"
],
"canReceive": [
"customName"
]
},
"room": {
"id": "95531ed6-c0ae-4d8e-8c28-2ca896b16b57",
"name": "Garage",
"color": "ikea_blue_no_52",
"icon": "rooms_arm_chair"
},
"deviceSet": [],
"remoteLinks": [],
"isHidden": false
},
{
"id": "71fd5f62-521b-4214-b59b-86b4cfd2accc_1",
"type": "outlet",
"deviceType": "outlet",
"createdAt": "2023-04-30T23:56:55.000Z",
"isReachable": false,
"lastSeen": "2024-03-07T03:04:29.000Z",
"attributes": {
"customName": "Driveway lights",
"model": "TRADFRI control outlet",
"manufacturer": "IKEA of Sweden",
"firmwareVersion": "2.3.089",
"hardwareVersion": "1",
"serialNumber": "70AC08FFFE8B01FC",
"productCode": "E1706",
"isOn": false,
"startupOnOff": "startPrevious",
"lightLevel": 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",
"isOn",
"lightLevel"
]
},
"room": {
"id": "95531ed6-c0ae-4d8e-8c28-2ca896b16b57",
"name": "Garage",
"color": "ikea_blue_no_52",
"icon": "rooms_arm_chair"
},
"deviceSet": [],
"remoteLinks": [
"3ae48f40-6282-4c2b-8261-7a414daa2c68_1"
],
"isHidden": false
},
{
"id": "3ae48f40-6282-4c2b-8261-7a414daa2c68_1",
"type": "controller",
"deviceType": "lightController",
"createdAt": "2023-10-30T21:34:22.000Z",
"isReachable": true,
"lastSeen": "2024-03-23T12:27:54.000Z",
"attributes": {
"customName": "Remote 4",
"model": "TRADFRI on/off switch",
"manufacturer": "IKEA of Sweden",
"firmwareVersion": "24.4.6",
"hardwareVersion": "1",
"serialNumber": "F082C0FFFEEAED02",
"productCode": "E1743",
"batteryPercentage": 1,
"isOn": false,
"lightLevel": 1,
"blindsCurrentLevel": 0,
"blindsState": "",
"permittingJoin": false,
"otaStatus": "upToDate",
"otaState": "readyToCheck",
"otaProgress": 0,
"otaPolicy": "autoUpdate",
"otaScheduleStart": "00:00",
"otaScheduleEnd": "00:00",
"circadianPresets": []
},
"capabilities": {
"canSend": [
"isOn",
"lightLevel",
"blindsState"
],
"canReceive": [
"customName"
]
},
"room": {
"id": "95531ed6-c0ae-4d8e-8c28-2ca896b16b57",
"name": "Garage",
"color": "ikea_blue_no_52",
"icon": "rooms_arm_chair"
},
"deviceSet": [],
"remoteLinks": [],
"isHidden": false
}
]
Please try with the latest release and let me know if it works
With 1.3.4.6, I removed and re-added the integration. The platform seems to have pulled in all of my devices and runs without exceptions logged. I don't have much experience with this integration so please let me know what I should expect. The switch plugs all seem to work now. The motion detector shows up but I don't seem to be getting any motion events out of it. The on/off buttons show battery percentage but no state or event for actuation. Thanks for your help.
We are working on it to get that fixed.
As per request on: https://github.com/sanjoyg/dirigera_platform/issues/31, I bought two motion sensor sensors:
Vallhorn
And two Open/Close sensors:
Parasoll (haven't installed the second one yet)
There are no log erros with the devices and they seem to be working just fine.
The open/close sensor (Parasoll) takes some time to update, but I think that's more to do with the hub itself (20sec more or less).
Would be amazing to know the battery status for these devices as at the moment we can only see that in the Home Smart app. The information from there is also vague to say the least (high, medium, low, from what I can tell).
Thank You!
I see there is a battery % in the JSON of motion sensor so I could add that. Could you paste the JSON for the open/close door sensor as well will see if there is a battery % there which I can then go ahead and include.
Would love to do that ... but I've started with Home Assistant a month ago and I'm not a Developer. I can learn ...
I did this:
Go to Developer -> Service and invoke dirigera_platform.dump_data without any parameters Look at the HASS log which would have the JSON. If you see any platform errors include that as well
Nothing happens ... :( or I'm looking in the wrong place:
Sorry ...
No worries, let me help you.
Let's see if I haven't f... this up, Sorry for total newb and Thank You!
Here it goes:
2024-04-13 15:06:56.650 DEBUG (MainThread) [custom_components.dirigera_platform] cover update... 2024-04-13 15:06:56.651 DEBUG (MainThread) [custom_components.dirigera_platform] cover update... 2024-04-13 15:06:57.335 DEBUG (MainThread) [custom_components.dirigera_platform] motion sensor update... 2024-04-13 15:06:57.335 DEBUG (MainThread) [custom_components.dirigera_platform] motion sensor update... 2024-04-13 15:06:57.335 DEBUG (MainThread) [custom_components.dirigera_platform] open close sensor update... 2024-04-13 15:06:57.335 DEBUG (MainThread) [custom_components.dirigera_platform] open close sensor update... 2024-04-13 15:06:57.668 DEBUG (MainThread) [custom_components.dirigera_platform] Got can_receive in state 2024-04-13 15:06:57.668 DEBUG (MainThread) [custom_components.dirigera_platform] ['customName', 'isOn', 'lightLevel', 'colorTemperature', 'colorHue', 'colorSaturation'] 2024-04-13 15:06:57.668 DEBUG (MainThread) [custom_components.dirigera_platform] supported color mode set to: 2024-04-13 15:06:57.668 DEBUG (MainThread) [custom_components.dirigera_platform] [<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>] 2024-04-13 15:06:57.668 DEBUG (MainThread) [custom_components.dirigera_platform] color mode set to: 2024-04-13 15:06:57.668 DEBUG (MainThread) [custom_components.dirigera_platform] hs 2024-04-13 15:06:57.677 DEBUG (MainThread) [custom_components.dirigera_platform] Got can_receive in state 2024-04-13 15:06:57.677 DEBUG (MainThread) [custom_components.dirigera_platform] ['customName', 'isOn', 'lightLevel', 'colorTemperature', 'colorHue', 'colorSaturation'] 2024-04-13 15:06:57.677 DEBUG (MainThread) [custom_components.dirigera_platform] supported color mode set to: 2024-04-13 15:06:57.677 DEBUG (MainThread) [custom_components.dirigera_platform] [<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>] 2024-04-13 15:06:57.677 DEBUG (MainThread) [custom_components.dirigera_platform] color mode set to: 2024-04-13 15:06:57.677 DEBUG (MainThread) [custom_components.dirigera_platform] hs 2024-04-13 15:06:57.686 DEBUG (MainThread) [custom_components.dirigera_platform] Got can_receive in state 2024-04-13 15:06:57.686 DEBUG (MainThread) [custom_components.dirigera_platform] ['customName', 'isOn'] 2024-04-13 15:06:57.686 DEBUG (MainThread) [custom_components.dirigera_platform] Color modes array is zero, setting to UNKNOWN 2024-04-13 15:06:57.686 DEBUG (MainThread) [custom_components.dirigera_platform] supported color mode set to: 2024-04-13 15:06:57.686 DEBUG (MainThread) [custom_components.dirigera_platform] [<ColorMode.ONOFF: 'onoff'>] 2024-04-13 15:06:57.686 DEBUG (MainThread) [custom_components.dirigera_platform] color mode set to: 2024-04-13 15:06:57.686 DEBUG (MainThread) [custom_components.dirigera_platform] onoff 2024-04-13 15:06:57.694 DEBUG (MainThread) [custom_components.dirigera_platform] Got can_receive in state 2024-04-13 15:06:57.694 DEBUG (MainThread) [custom_components.dirigera_platform] ['customName', 'colorTemperature', 'colorHue', 'colorSaturation', 'lightLevel', 'isOn'] 2024-04-13 15:06:57.694 DEBUG (MainThread) [custom_components.dirigera_platform] supported color mode set to: 2024-04-13 15:06:57.694 DEBUG (MainThread) [custom_components.dirigera_platform] [<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>] 2024-04-13 15:06:57.694 DEBUG (MainThread) [custom_components.dirigera_platform] color mode set to: 2024-04-13 15:06:57.695 DEBUG (MainThread) [custom_components.dirigera_platform] hs 2024-04-13 15:06:57.714 DEBUG (MainThread) [custom_components.dirigera_platform] Got can_receive in state 2024-04-13 15:06:57.714 DEBUG (MainThread) [custom_components.dirigera_platform] ['customName', 'isOn'] 2024-04-13 15:06:57.714 DEBUG (MainThread) [custom_components.dirigera_platform] Color modes array is zero, setting to UNKNOWN 2024-04-13 15:06:57.714 DEBUG (MainThread) [custom_components.dirigera_platform] supported color mode set to: 2024-04-13 15:06:57.714 DEBUG (MainThread) [custom_components.dirigera_platform] [<ColorMode.ONOFF: 'onoff'>] 2024-04-13 15:06:57.714 DEBUG (MainThread) [custom_components.dirigera_platform] color mode set to: 2024-04-13 15:06:57.714 DEBUG (MainThread) [custom_components.dirigera_platform] onoff 2024-04-13 15:06:57.722 DEBUG (MainThread) [custom_components.dirigera_platform] Got can_receive in state 2024-04-13 15:06:57.722 DEBUG (MainThread) [custom_components.dirigera_platform] ['customName', 'colorTemperature', 'colorHue', 'colorSaturation', 'lightLevel', 'isOn'] 2024-04-13 15:06:57.722 DEBUG (MainThread) [custom_components.dirigera_platform] supported color mode set to: 2024-04-13 15:06:57.722 DEBUG (MainThread) [custom_components.dirigera_platform] [<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>] 2024-04-13 15:06:57.723 DEBUG (MainThread) [custom_components.dirigera_platform] color mode set to: 2024-04-13 15:06:57.723 DEBUG (MainThread) [custom_components.dirigera_platform] hs 2024-04-13 15:06:57.947 DEBUG (MainThread) [custom_components.dirigera_platform] Got can_receive in state 2024-04-13 15:06:57.947 DEBUG (MainThread) [custom_components.dirigera_platform] ['customName', 'isOn', 'lightLevel', 'colorTemperature', 'colorHue', 'colorSaturation'] 2024-04-13 15:06:57.947 DEBUG (MainThread) [custom_components.dirigera_platform] supported color mode set to: 2024-04-13 15:06:57.947 DEBUG (MainThread) [custom_components.dirigera_platform] [<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>] 2024-04-13 15:06:57.947 DEBUG (MainThread) [custom_components.dirigera_platform] color mode set to: 2024-04-13 15:06:57.947 DEBUG (MainThread) [custom_components.dirigera_platform] hs 2024-04-13 15:07:11.651 DEBUG (MainThread) [custom_components.dirigera_platform] cover update... 2024-04-13 15:07:11.652 DEBUG (MainThread) [custom_components.dirigera_platform] cover update... 2024-04-13 15:07:25.448 INFO (SyncWorker_33) [custom_components.dirigera_platform] === START Devices JSON === 2024-04-13 15:07:25.448 INFO (SyncWorker_33) [custom_components.dirigera_platform] -------------- 2024-04-13 15:07:25.715 INFO (SyncWorker_33) [custom_components.dirigera_platform] [{'id': '9d406c8a-92c8-4139-9860-c94755d33bd6_1', 'type': 'blinds', 'deviceType': 'blinds', 'createdAt': '2024-04-09T20:10:25.000Z', 'isReachable': True, 'lastSeen': '2024-04-13T13:55:47.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': 99, 'blindsTargetLevel': 50, 'blindsCurrentLevel': 50, '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': 'd8b51838-9e6d-4cec-8331-751bdb76c2c3_1', 'type': 'sensor', 'deviceType': 'environmentSensor', 'createdAt': '2024-04-05T15:10:38.000Z', 'isReachable': True, 'lastSeen': '2024-04-13T15:07:23.000Z', 'attributes': {'customName': 'Sensor Media Room', 'model': 'VINDSTYRKA', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.11', 'hardwareVersion': '1', 'serialNumber': '0CAE5FFFFEBFA1AD', 'productCode': 'E2112', 'currentTemperature': 24, 'currentRH': 64, 'currentPM25': 3, 'maxMeasuredPM25': 999, 'minMeasuredPM25': 0, 'vocIndex': 264, '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': 'e51a9e3c-0e0b-450d-a34d-f741cf6a0923_1', 'type': 'sensor', 'deviceType': 'environmentSensor', 'createdAt': '2024-04-05T16:31:37.000Z', 'isReachable': True, 'lastSeen': '2024-04-13T15:05:27.000Z', 'attributes': {'customName': 'Sensor Bedroom ', 'model': 'VINDSTYRKA', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.11', 'hardwareVersion': '1', 'serialNumber': '0CAE5FFFFE5F0C3A', 'productCode': 'E2112', 'currentTemperature': 24, 'currentRH': 65, 'currentPM25': 4, 'maxMeasuredPM25': 999, 'minMeasuredPM25': 0, 'vocIndex': 89, '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': 'c2a5fc20-d126-4e36-a888-dac432e29351_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-04-05T22:39:55.000Z', 'isReachable': True, 'lastSeen': '2024-04-13T10:43:40.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': 'f5878eb5-8acf-4d3e-b627-948655a71375_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-04-05T13:55:13.000Z', 'isReachable': True, 'lastSeen': '2024-04-13T12:30:10.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': 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': '475cc495-4445-4247-ad3e-ddfa149a9cd1_1', 'type': 'blinds', 'deviceType': 'blinds', 'createdAt': '2024-04-05T14:39:51.000Z', 'isReachable': True, 'lastSeen': '2024-04-13T13:55:49.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': 95, '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': '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-04-13T14:07:00.529Z', '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-04-13T19:12:00.000Z', 'nextSunRise': '2024-04-14T06:02: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': 'feab0316-070b-4a2e-8e97-4c0c354a1636_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-04-05T22:43:50.000Z', 'isReachable': True, 'lastSeen': '2024-04-13T10:43:40.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': 'e67bab52-7f2f-4e8e-b6a7-0c10aa06ca1e_1', 'type': 'sensor', 'deviceType': 'environmentSensor', 'createdAt': '2024-04-05T15:06:00.000Z', 'isReachable': True, 'lastSeen': '2024-04-13T15:07:21.000Z', 'attributes': {'customName': 'Sensor Office', 'model': 'VINDSTYRKA', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.11', 'hardwareVersion': '1', 'serialNumber': '0CAE5FFFFE642195', 'productCode': 'E2112', 'currentTemperature': 26, 'currentRH': 56, 'currentPM25': 4, 'maxMeasuredPM25': 999, 'minMeasuredPM25': 0, 'vocIndex': 76, '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-04-13T01:10:24.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': 62, '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': '3f59f95c-4277-409f-833e-8d09f9e3a109_1', 'type': 'light', 'deviceType': 'light', 'createdAt': '2024-04-05T13:58:54.000Z', 'isReachable': True, 'lastSeen': '2024-04-13T12:27:58.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': '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-04-13T01:45:20.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-04-13T01:45:20.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': '68c6621d-a4dc-428f-8135-642ccf743c8c_1', 'type': 'sensor', 'deviceType': 'environmentSensor', 'createdAt': '2024-04-13T10:29:14.000Z', 'isReachable': True, 'lastSeen': '2024-04-13T15:06:46.000Z', 'attributes': {'customName': 'Sensor Bathroom', 'firmwareVersion': '1.0.11', 'hardwareVersion': '1', 'manufacturer': 'IKEA of Sweden', 'model': 'VINDSTYRKA', 'productCode': 'E2112', 'serialNumber': 'A46DD4FFFE4D1887', 'currentTemperature': 24, 'currentRH': 60, 'currentPM25': 3, 'maxMeasuredPM25': 999, 'minMeasuredPM25': 0, 'vocIndex': 6, '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']}, 'room': {'id': 'cbc8a34a-a0cf-4084-91c1-a9072d3c249e', 'name': 'Bathroom', 'color': 'ikea_pink_no_8', 'icon': 'rooms_bathtub'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'f299b378-939d-491f-9ba8-f0c724fbc6bf_1', 'type': 'sensor', 'deviceType': 'environmentSensor', 'createdAt': '2024-04-13T10:30:02.000Z', 'isReachable': True, 'lastSeen': '2024-04-13T15:06:42.000Z', 'attributes': {'customName': 'Sensor Kitchen', 'firmwareVersion': '1.0.11', 'hardwareVersion': '1', 'manufacturer': 'IKEA of Sweden', 'model': 'VINDSTYRKA', 'productCode': 'E2112', 'serialNumber': '0CAE5FFFFE5F0A5A', 'currentTemperature': 24, 'currentRH': 66, 'currentPM25': 4, 'maxMeasuredPM25': 999, 'minMeasuredPM25': 0, 'vocIndex': 59, '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']}, 'room': {'id': '9c859847-30cf-47e2-8521-84420d88305d', 'name': 'Kitchen', 'color': 'ikea_red_no_39', 'icon': 'rooms_cutlery'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'b73863b8-ac43-4696-8eb7-7ecb9e7842bd_1', 'relationId': 'b73863b8-ac43-4696-8eb7-7ecb9e7842bd', 'type': 'sensor', 'deviceType': 'motionSensor', 'createdAt': '2024-04-13T14:01:01.000Z', 'isReachable': True, 'lastSeen': '2024-04-13T15:03:41.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': 94, 'isOn': False, 'isDetected': False, 'motionDetectedDelay': 20, 'identifyPeriod': 0, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'permittingJoin': False, 'sensorConfig': {'scheduleOn': False, 'onDuration': 180}, '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': 'b73863b8-ac43-4696-8eb7-7ecb9e7842bd_3', 'relationId': 'b73863b8-ac43-4696-8eb7-7ecb9e7842bd', 'type': 'unknown', 'deviceType': 'lightSensor', 'createdAt': '2024-04-13T14:01:01.000Z', 'isReachable': True, 'lastSeen': '2024-04-13T15:03:41.000Z', 'attributes': {'customName': '', 'firmwareVersion': '1.0.64', 'hardwareVersion': '1', 'manufacturer': 'IKEA of Sweden', 'model': 'VALLHORN Wireless Motion Sensor', 'productCode': 'E2134', 'serialNumber': '881A14FFFED8E853', 'illuminance': 19867, 'permittingJoin': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName']}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'c84448ef-e662-4fa3-b5da-3ff792508219_1', 'relationId': 'c84448ef-e662-4fa3-b5da-3ff792508219', 'type': 'sensor', 'deviceType': 'motionSensor', 'createdAt': '2024-04-13T14:02:05.000Z', 'isReachable': True, 'lastSeen': '2024-04-13T15:03:32.000Z', 'attributes': {'customName': 'Motion Sensor Kitchen', 'firmwareVersion': '1.0.64', 'hardwareVersion': '1', 'manufacturer': 'IKEA of Sweden', 'model': 'VALLHORN Wireless Motion Sensor', 'productCode': 'E2134', 'serialNumber': '705464FFFE816F28', 'batteryPercentage': 91, 'isOn': False, 'isDetected': False, 'motionDetectedDelay': 20, 'identifyPeriod': 0, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'permittingJoin': False, 'sensorConfig': {'scheduleOn': False, 'onDuration': 180}, 'circadianPresets': []}, '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': 'c84448ef-e662-4fa3-b5da-3ff792508219_3', 'relationId': 'c84448ef-e662-4fa3-b5da-3ff792508219', 'type': 'unknown', 'deviceType': 'lightSensor', 'createdAt': '2024-04-13T14:02:05.000Z', 'isReachable': True, 'lastSeen': '2024-04-13T15:03:32.000Z', 'attributes': {'customName': '', 'firmwareVersion': '1.0.64', 'hardwareVersion': '1', 'manufacturer': 'IKEA of Sweden', 'model': 'VALLHORN Wireless Motion Sensor', 'productCode': 'E2134', 'serialNumber': '705464FFFE816F28', 'illuminance': 26532, 'permittingJoin': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName']}, '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-04-13T13:30:59.000Z', 'customIcon': 'placement_door', 'attributes': {'customName': 'Door Sensor Outside', 'firmwareVersion': '1.0.19', 'hardwareVersion': '1', 'manufacturer': 'IKEA of Sweden', 'model': 'PARASOLL Door/Window Sensor', 'productCode': 'E2013', 'serialNumber': '048727FFFE5287CE', 'batteryPercentage': 100, 'identifyPeriod': 0, 'identifyStarted': '2000-01-01T00:00:00.000Z', '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': '49267ed9-cd73-443d-b384-c23c750740a3_1', 'type': 'sensor', 'deviceType': 'openCloseSensor', 'createdAt': '2024-04-13T13:43:04.000Z', 'isReachable': True, 'lastSeen': '2024-04-13T13:47:17.000Z', 'customIcon': 'placement_door', 'attributes': {'customName': 'Entrance Door Sensor', 'firmwareVersion': '1.0.19', 'hardwareVersion': '1', 'manufacturer': 'IKEA of Sweden', 'model': 'PARASOLL Door/Window Sensor', 'productCode': 'E2013', 'serialNumber': '048727FFFE4AC4AE', 'batteryPercentage': 92, 'identifyPeriod': 0, 'identifyStarted': '2000-01-01T00:00:00.000Z', '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}] 2024-04-13 15:07:25.715 INFO (SyncWorker_33) [custom_components.dirigera_platform] -------------- 2024-04-13 15:07:25.715 INFO (SyncWorker_33) [custom_components.dirigera_platform] === END Devices JSON === 2024-04-13 15:07:26.652 DEBUG (MainThread) [custom_components.dirigera_platform] cover update... 2024-04-13 15:07:26.652 DEBUG (MainThread) [custom_components.dirigera_platform] cover update... 2024-04-13 15:07:27.336 DEBUG (MainThread) [custom_components.dirigera_platform] motion sensor update... 2024-04-13 15:07:27.336 DEBUG (MainThread) [custom_components.dirigera_platform] motion sensor update... 2024-04-13 15:07:27.336 DEBUG (MainThread) [custom_components.dirigera_platform] open close sensor update... 2024-04-13 15:07:27.336 DEBUG (MainThread) [custom_components.dirigera_platform] open close sensor update... 2024-04-13 15:07:27.390 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.390 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.390 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.390 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.390 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.391 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.391 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.391 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.391 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.391 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.391 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.391 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.391 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.391 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.391 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.391 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.391 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.391 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.392 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.392 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.392 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.392 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.392 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.392 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.392 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.392 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.392 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.392 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.392 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.392 DEBUG (MainThread) [custom_components.dirigera_platform] env sensor update called... 2024-04-13 15:07:27.683 DEBUG (MainThread) [custom_components.dirigera_platform] Got can_receive in state 2024-04-13 15:07:27.683 DEBUG (MainThread) [custom_components.dirigera_platform] ['customName', 'colorTemperature', 'colorHue', 'colorSaturation', 'lightLevel', 'isOn'] 2024-04-13 15:07:27.683 DEBUG (MainThread) [custom_components.dirigera_platform] supported color mode set to: 2024-04-13 15:07:27.683 DEBUG (MainThread) [custom_components.dirigera_platform] [<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>] 2024-04-13 15:07:27.683 DEBUG (MainThread) [custom_components.dirigera_platform] color mode set to: 2024-04-13 15:07:27.683 DEBUG (MainThread) [custom_components.dirigera_platform] hs 2024-04-13 15:07:27.691 DEBUG (MainThread) [custom_components.dirigera_platform] Got can_receive in state 2024-04-13 15:07:27.691 DEBUG (MainThread) [custom_components.dirigera_platform] ['customName', 'isOn'] 2024-04-13 15:07:27.691 DEBUG (MainThread) [custom_components.dirigera_platform] Color modes array is zero, setting to UNKNOWN 2024-04-13 15:07:27.691 DEBUG (MainThread) [custom_components.dirigera_platform] supported color mode set to: 2024-04-13 15:07:27.691 DEBUG (MainThread) [custom_components.dirigera_platform] [<ColorMode.ONOFF: 'onoff'>] 2024-04-13 15:07:27.691 DEBUG (MainThread) [custom_components.dirigera_platform] color mode set to: 2024-04-13 15:07:27.691 DEBUG (MainThread) [custom_components.dirigera_platform] onoff 2024-04-13 15:07:27.700 DEBUG (MainThread) [custom_components.dirigera_platform] Got can_receive in state 2024-04-13 15:07:27.700 DEBUG (MainThread) [custom_components.dirigera_platform] ['customName', 'isOn', 'lightLevel', 'colorTemperature', 'colorHue', 'colorSaturation'] 2024-04-13 15:07:27.700 DEBUG (MainThread) [custom_components.dirigera_platform] supported color mode set to: 2024-04-13 15:07:27.700 DEBUG (MainThread) [custom_components.dirigera_platform] [<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>] 2024-04-13 15:07:27.700 DEBUG (MainThread) [custom_components.dirigera_platform] color mode set to: 2024-04-13 15:07:27.700 DEBUG (MainThread) [custom_components.dirigera_platform] hs 2024-04-13 15:07:27.709 DEBUG (MainThread) [custom_components.dirigera_platform] Got can_receive in state 2024-04-13 15:07:27.710 DEBUG (MainThread) [custom_components.dirigera_platform] ['customName', 'isOn', 'lightLevel', 'colorTemperature', 'colorHue', 'colorSaturation'] 2024-04-13 15:07:27.710 DEBUG (MainThread) [custom_components.dirigera_platform] supported color mode set to: 2024-04-13 15:07:27.710 DEBUG (MainThread) [custom_components.dirigera_platform] [<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>] 2024-04-13 15:07:27.710 DEBUG (MainThread) [custom_components.dirigera_platform] color mode set to: 2024-04-13 15:07:27.710 DEBUG (MainThread) [custom_components.dirigera_platform] hs 2024-04-13 15:07:27.719 DEBUG (MainThread) [custom_components.dirigera_platform] Got can_receive in state 2024-04-13 15:07:27.719 DEBUG (MainThread) [custom_components.dirigera_platform] ['customName', 'isOn'] 2024-04-13 15:07:27.719 DEBUG (MainThread) [custom_components.dirigera_platform] Color modes array is zero, setting to UNKNOWN 2024-04-13 15:07:27.719 DEBUG (MainThread) [custom_components.dirigera_platform] supported color mode set to: 2024-04-13 15:07:27.719 DEBUG (MainThread) [custom_components.dirigera_platform] [<ColorMode.ONOFF: 'onoff'>] 2024-04-13 15:07:27.719 DEBUG (MainThread) [custom_components.dirigera_platform] color mode set to 2024-04-13 15:07:27.719 DEBUG (MainThread) [custom_components.dirigera_platform] onoff 2024-04-13 15:07:27.726 DEBUG (MainThread) [custom_components.dirigera_platform] Got can_receive in state 2024-04-13 15:07:27.726 DEBUG (MainThread) [custom_components.dirigera_platform] ['customName', 'isOn', 'lightLevel', 'colorTemperature', 'colorHue', 'colorSaturation'] 2024-04-13 15:07:27.726 DEBUG (MainThread) [custom_components.dirigera_platform] supported color mode set to: 2024-04-13 15:07:27.726 DEBUG (MainThread) [custom_components.dirigera_platform] [<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>] 2024-04-13 15:07:27.726 DEBUG (MainThread) [custom_components.dirigera_platform] color mode set to: 2024-04-13 15:07:27.726 DEBUG (MainThread) [custom_components.dirigera_platform] hs 2024-04-13 15:07:27.734 DEBUG (MainThread) [custom_components.dirigera_platform] Got can_receive in state 2024-04-13 15:07:27.735 DEBUG (MainThread) [custom_components.dirigera_platform] ['customName', 'colorTemperature', 'colorHue', 'colorSaturation', 'lightLevel', 'isOn'] 2024-04-13 15:07:27.735 DEBUG (MainThread) [custom_components.dirigera_platform] supported color mode set to: 2024-04-13 15:07:27.735 DEBUG (MainThread) [custom_components.dirigera_platform] [<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>] 2024-04-13 15:07:27.735 DEBUG (MainThread) [custom_components.dirigera_platform] color mode set to: 2024-04-13 15:07:27.735 DEBUG (MainThread) [custom_components.dirigera_platform] hs
home-assistant_dirigera_platform_2024-04-13T14-10-42.708Z.log
Beside the devices on Dirigera, I also have these on Zigbee2MQTT:
If you need help on testing for any of them ... I'd love to help how/ wherever I can
Thank you for the dump very interesting dump
So ... as to your questions:
The motion sensor has battery %, does it not already come up.. .if you want it added let me know
No it does not appear, but would love if it would ...
The open-close sensor also has battery % same question as above
Same answer as well
There is VALLHORN wireless motion sensor the type is "unknown" in the JSON never seen one before. This doesnt have a battery % so we wont be able to show that. Let me know what you want will get that integrated. This was one of the Sensors available from Ikea that I bought today ... it was launched recently from what I know.
Weird coming up as unknown as it is the same as per your first question ... it's the same device, both bought today ... some screenshots:
Again, Thank You for amazing work and support
Battery % will now show up
After setting up the integration I get the following error in the logs.
Also only my lights are showing up. The SOMRIG shortcut button is not. (the STYRBAR Remote control also not, but this seems to be expected.)
Error while setting up dirigera_platform platform for sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 350, in _async_setup_platform await asyncio.shield(awaitable) File "/config/custom_components/dirigera_platform/sensor.py", line 55, in async_setup_entry hub_controllers = await hass.async_add_executor_job(hub.get_controllers) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/dirigera/hub/hub.py", line 237, in get_controllers return [dict_to_controller(controller, self) for controller in controllers] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/dirigera/devices/controller.py", line 34, in dict_to_controller return Controller(dirigeraClient=dirigera_client, **data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pydantic/main.py", line 341, in __init__ raise validation_error pydantic.error_wrappers.ValidationError: 1 validation error for Controller room field required (type=value_error.missing)