home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.55k stars 30.73k forks source link

Automation partially completes most of the times for deconz_event events #54563

Closed ronaldvdmeer closed 3 years ago

ronaldvdmeer commented 3 years ago

The problem

I have a problem with automation triggered by deconz events which only complete about 50% of the time. I've been using a Friends of Hue wallswitch from SENIC and a Aqare Cube which trigger and automation to set a certain scene. Both tried with a local HA scene and a scene which was configured in deCONZ.

When the automation is executed manually from HA automation section it works fine and the automation completes.

The lights (Philips Hue Bulbs) are in a group defined in deCONZ but i've also tested it with the individual light from HA. However I notice this does perform a bit laggy sometimes so working with a group I prefer.

Outcome

When triggering an automation with deCONZ i've seen these outcomes the most;

No errors in the automation trace window as far as I can see.

What is version of Home Assistant Core has the issue?

Atleast core-2021.8.4 and core-2021.8.6

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

deconz

Link to integration documentation on our website

https://www.home-assistant.io/integrations/deconz/

Example YAML snippet

id: '1628772817224'
alias: 'Wandschakelaar: Knop 3 - Kort'
description: ''
trigger:
  - device_id: 371d20f713af452407ebca51248f2655
    domain: deconz
    platform: device
    type: remote_button_short_release
    subtype: button_3
condition: []
action:
  - scene: scene.dagverlichting
mode: restart
max: 10

Scene:

- id: '1628770490541'
  name: Dagverlichting
  entities:
    light.eetkamer_2:
      min_mireds: 153
      max_mireds: 500
      supported_color_modes:
      - color_temp
      color_mode: color_temp
      brightness: 254
      color_temp: 230
      is_deconz_group: true
      all_on: true
      friendly_name: Eetkamer
      supported_features: 40
      state: 'on'
    light.keuken_2:
      min_mireds: 153
      max_mireds: 500
      supported_color_modes:
      - color_temp
      color_mode: color_temp
      brightness: 228
      color_temp: 285
      is_deconz_group: true
      all_on: true
      friendly_name: Keuken
      supported_features: 40
      state: 'on'
  icon: mdi:weather-sunny

Anything in the logs that might be useful for us?

Events all come in just fine

{
    "event_type": "deconz_event",
    "data": {
        "id": "schakelaar",
        "unique_id": "00:00:00:00:01:72:b7:11",
        "event": 3001,
        "device_id": "371d20f713af452407ebca51248f2655"
    },
    "origin": "LOCAL",
    "time_fired": "2021-08-12T18:42:17.281884+00:00",
    "context": {
        "id": "49d21d1f1d275f0860748445ff7bef1b",
        "parent_id": null,
        "user_id": null
    }
}
{
    "event_type": "deconz_event",
    "data": {
        "id": "schakelaar",
        "unique_id": "00:00:00:00:01:72:b7:11",
        "event": 3000,
        "device_id": "371d20f713af452407ebca51248f2655"
    },
    "origin": "LOCAL",
    "time_fired": "2021-08-12T18:42:16.770457+00:00",
    "context": {
        "id": "b9fa198718fc68f5587fd7ebd509dfb0",
        "parent_id": null,
        "user_id": null
    }
}

Additional information

I don't think its relevant because the events are registered just fine but I'm running deCONZ in a virtual machine with a Conbee II USB stick attached to it. Also Home Assistant runs on a virtual machine. I've tried it also with a scene specified in deCONZ but this doesnt provide a solution either.

It looks like automation triggered from deCONZ events aren't processed correctly.

probot-home-assistant[bot] commented 3 years ago

deconz documentation deconz source (message by IssueLinks)

probot-home-assistant[bot] commented 3 years ago

Hey there @kane610, mind taking a look at this issue as it has been labeled with an integration (deconz) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

Kane610 commented 3 years ago

Can you enable debug for deconz integration and see if you get an Ok response from deconz when the automation runs?

ronaldvdmeer commented 3 years ago

Sure. See below several examples. The first couple are by using the wall switch. The last one is when it does work with manually executing the automation from the Home Assistant UI.

Triggered by pressing the button on the Friends of Hue wallswitch

This automation went wrong. Only one of the two groups changed. The other stayed the same:

2021-08-13 11:01:03 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"10","r":"sensors","state":{"buttonevent":3000,"lastupdated":"2021-08-13T09:01:03.520"},"t":"event","uniqueid":"00:00:00:00:01:72:b7:11-f2"}
2021-08-13 11:01:03 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"10","r":"sensors","state":{"buttonevent":3002,"lastupdated":"2021-08-13T09:01:03.529"},"t":"event","uniqueid":"00:00:00:00:01:72:b7:11-f2"}
2021-08-13 11:01:03 INFO (MainThread) [homeassistant.components.automation.wandschakelaar_knop_3_kort] Wandschakelaar: Knop 3 - Kort: Restarting
2021-08-13 11:01:03 INFO (MainThread) [homeassistant.components.automation.wandschakelaar_knop_3_kort] Wandschakelaar: Knop 3 - Kort: Running automation actions
2021-08-13 11:01:03 INFO (MainThread) [homeassistant.components.automation.wandschakelaar_knop_3_kort] Wandschakelaar: Knop 3 - Kort: Executing step activate scene
2021-08-13 11:01:03 DEBUG (MainThread) [pydeconz.gateway] Sending "put" "{'on': True, 'bri': 254, 'ct': 230}" to "192.168.1.31 /groups/1/action"
2021-08-13 11:01:03 DEBUG (MainThread) [pydeconz.gateway] HTTP request response: [{'success': {'/groups/1/action/on': True}},
 {'success': {'/groups/1/action/bri': 254}},
 {'success': {'/groups/1/action/ct': 230}}]
2021-08-13 11:01:03 DEBUG (MainThread) [pydeconz.gateway] Sending "put" "{'on': True, 'bri': 228, 'ct': 285}" to "192.168.1.31 /groups/3/action"
2021-08-13 11:01:03 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"6","r":"lights","state":{"alert":null,"bri":254,"colormode":"ct","ct":230,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:af:bd:0a-0b"}
2021-08-13 11:01:03 DEBUG (MainThread) [pydeconz.gateway] HTTP request response: [{'success': {'/groups/3/action/on': True}},
 {'success': {'/groups/3/action/bri': 228}},
 {'success': {'/groups/3/action/ct': 285}}]
2021-08-13 11:01:03 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"5","r":"lights","state":{"alert":null,"bri":254,"colormode":"ct","ct":230,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:a5:b5:0c-0b"}
2021-08-13 11:01:03 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"12","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3e:2a:b5-0b"}
2021-08-13 11:01:03 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"9","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:44:dc:13-0b"}
2021-08-13 11:01:03 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"8","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:44:e1:ce-0b"}
2021-08-13 11:01:03 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"7","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3e:0a:6e-0b"}
2021-08-13 11:01:03 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"10","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3e:2a:9c-0b"}
2021-08-13 11:01:03 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"11","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3d:fb:3d-0b"}
2

This one did work correctly

2021-08-13 11:04:45 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"3","r":"sensors","state":{"lastupdated":"2021-08-13T09:04:45.570","power":0},"t":"event","uniqueid":"54:ef:44:10:00:0f:e9:f6-01-0b04"}
2021-08-13 11:04:45 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"10","r":"sensors","state":{"buttonevent":3000,"lastupdated":"2021-08-13T09:04:45.757"},"t":"event","uniqueid":"00:00:00:00:01:72:b7:11-f2"}
2021-08-13 11:04:45 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"10","r":"sensors","state":{"buttonevent":3002,"lastupdated":"2021-08-13T09:04:45.915"},"t":"event","uniqueid":"00:00:00:00:01:72:b7:11-f2"}
2021-08-13 11:04:45 INFO (MainThread) [homeassistant.components.automation.wandschakelaar_knop_3_kort] Wandschakelaar: Knop 3 - Kort: Restarting
2021-08-13 11:04:45 INFO (MainThread) [homeassistant.components.automation.wandschakelaar_knop_3_kort] Wandschakelaar: Knop 3 - Kort: Running automation actions
2021-08-13 11:04:45 INFO (MainThread) [homeassistant.components.automation.wandschakelaar_knop_3_kort] Wandschakelaar: Knop 3 - Kort: Executing step activate scene
2021-08-13 11:04:45 DEBUG (MainThread) [pydeconz.gateway] Sending "put" "{'on': True, 'bri': 254, 'ct': 230}" to "192.168.1.31 /groups/1/action"
2021-08-13 11:04:45 DEBUG (MainThread) [pydeconz.gateway] HTTP request response: [{'success': {'/groups/1/action/on': True}},
 {'success': {'/groups/1/action/bri': 254}},
 {'success': {'/groups/1/action/ct': 230}}]
2021-08-13 11:04:45 DEBUG (MainThread) [pydeconz.gateway] Sending "put" "{'on': True, 'bri': 228, 'ct': 285}" to "192.168.1.31 /groups/3/action"
2021-08-13 11:04:45 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"6","r":"lights","state":{"alert":null,"bri":254,"colormode":"ct","ct":230,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:af:bd:0a-0b"}
2021-08-13 11:04:45 DEBUG (MainThread) [pydeconz.gateway] HTTP request response: [{'success': {'/groups/3/action/on': True}},
 {'success': {'/groups/3/action/bri': 228}},
 {'success': {'/groups/3/action/ct': 285}}]
2021-08-13 11:04:45 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"5","r":"lights","state":{"alert":null,"bri":254,"colormode":"ct","ct":230,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:a5:b5:0c-0b"}
2021-08-13 11:04:45 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"12","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3e:2a:b5-0b"}
2021-08-13 11:04:45 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"9","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:44:dc:13-0b"}
2021-08-13 11:04:45 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"8","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:44:e1:ce-0b"}
2021-08-13 11:04:45 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"7","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3e:0a:6e-0b"}
2021-08-13 11:04:45 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"10","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3e:2a:9c-0b"}
2021-08-13 11:04:45 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"11","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3d:fb:3d-0b"}

And another one on which at first press (2021-08-13 11:14:20) nothing happened. Only the second press (2021-08-13 11:14:30) made the lights change.

2021-08-13 11:14:20 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"3","r":"sensors","state":{"lastupdated":"2021-08-13T09:14:20.565","power":0},"t":"event","uniqueid":"54:ef:44:10:00:0f:e9:f6-01-0b04"}
2021-08-13 11:14:20 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"10","r":"sensors","state":{"buttonevent":5000,"lastupdated":"2021-08-13T09:14:20.634"},"t":"event","uniqueid":"00:00:00:00:01:72:b7:11-f2"}
2021-08-13 11:14:21 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"10","r":"sensors","state":{"buttonevent":5002,"lastupdated":"2021-08-13T09:14:21.015"},"t":"event","uniqueid":"00:00:00:00:01:72:b7:11-f2"}
2021-08-13 11:14:21 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"5","r":"sensors","state":{"lastupdated":"2021-08-13T09:14:21.587","power":0},"t":"event","uniqueid":"54:ef:44:10:00:0f:e9:86-01-0b04"}
2021-08-13 11:14:22 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"7","r":"sensors","state":{"lastupdated":"2021-08-13T09:14:22.601","power":0},"t":"event","uniqueid":"54:ef:44:10:00:0f:e8:ee-01-0b04"}
2021-08-13 11:14:23 DEBUG (MainThread) [pydeconz.websocket] {"attr":{"colorcapabilities":0,"ctmax":65279,"ctmin":0,"id":"15","lastannounced":null,"lastseen":"2021-08-13T09:14Z","manufacturername":"Philips","modelid":"LCA001","name":"Magisch EI","swversion":"1.90.1","type":"Extended color light","uniqueid":"00:17:88:01:08:37:39:0c-0b"},"e":"changed","id":"15","r":"lights","t":"event","uniqueid":"00:17:88:01:08:37:39:0c-0b"}
2021-08-13 11:14:24 DEBUG (MainThread) [pydeconz.websocket] {"attr":{"id":"4","lastannounced":null,"lastseen":"2021-08-13T09:14Z","manufacturername":"LUMI","modelid":"lumi.plug.maeu01","name":"Mesh - Zolder","swversion":"09-22-2020","type":"Smart plug","uniqueid":"54:ef:44:10:00:0f:e8:ee-01"},"e":"changed","id":"4","r":"lights","t":"event","uniqueid":"54:ef:44:10:00:0f:e8:ee-01"}
2021-08-13 11:14:30 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"10","r":"sensors","state":{"buttonevent":3000,"lastupdated":"2021-08-13T09:14:30.551"},"t":"event","uniqueid":"00:00:00:00:01:72:b7:11-f2"}
2021-08-13 11:14:30 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"10","r":"sensors","state":{"buttonevent":3002,"lastupdated":"2021-08-13T09:14:30.776"},"t":"event","uniqueid":"00:00:00:00:01:72:b7:11-f2"}
2021-08-13 11:14:30 INFO (MainThread) [homeassistant.components.automation.wandschakelaar_knop_3_kort] Wandschakelaar: Knop 3 - Kort: Restarting
2021-08-13 11:14:30 INFO (MainThread) [homeassistant.components.automation.wandschakelaar_knop_3_kort] Wandschakelaar: Knop 3 - Kort: Running automation actions
2021-08-13 11:14:30 INFO (MainThread) [homeassistant.components.automation.wandschakelaar_knop_3_kort] Wandschakelaar: Knop 3 - Kort: Executing step activate scene
2021-08-13 11:14:30 DEBUG (MainThread) [pydeconz.gateway] Sending "put" "{'on': True, 'bri': 254, 'ct': 230}" to "192.168.1.31 /groups/1/action"
2021-08-13 11:14:30 DEBUG (MainThread) [pydeconz.gateway] HTTP request response: [{'success': {'/groups/1/action/on': True}},
 {'success': {'/groups/1/action/bri': 254}},
 {'success': {'/groups/1/action/ct': 230}}]
2021-08-13 11:14:30 DEBUG (MainThread) [pydeconz.gateway] Sending "put" "{'on': True, 'bri': 228, 'ct': 285}" to "192.168.1.31 /groups/3/action"
2021-08-13 11:14:30 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"6","r":"lights","state":{"alert":null,"bri":254,"colormode":"ct","ct":230,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:af:bd:0a-0b"}
2021-08-13 11:14:30 DEBUG (MainThread) [pydeconz.gateway] HTTP request response: [{'success': {'/groups/3/action/on': True}},
 {'success': {'/groups/3/action/bri': 228}},
 {'success': {'/groups/3/action/ct': 285}}]
2021-08-13 11:14:30 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"5","r":"lights","state":{"alert":null,"bri":254,"colormode":"ct","ct":230,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:a5:b5:0c-0b"}
2021-08-13 11:14:30 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"12","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3e:2a:b5-0b"}
2021-08-13 11:14:30 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"9","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:44:dc:13-0b"}
2021-08-13 11:14:30 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"8","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:44:e1:ce-0b"}
2021-08-13 11:14:30 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"7","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3e:0a:6e-0b"}
2021-08-13 11:14:30 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"10","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3e:2a:9c-0b"}
2021-08-13 11:14:30 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"11","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3d:fb:3d-0b"}
2021-08-13 11:14:31 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"8","r":"lights","state":{"alert":null,"bri":152,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:44:e1:ce-0b"}

Triggered by manually executing from Home Assistant UI

And the log below shows how it does work when triggered with executing the automation from within the Home Assistant UI.

2021-08-13 11:21:58 INFO (MainThread) [homeassistant.components.automation.nieuwe_automatisering_4] Wandschakelaar: Knop 1 - Kort: Restarting
2021-08-13 11:21:58 INFO (MainThread) [homeassistant.components.automation.nieuwe_automatisering_4] Wandschakelaar: Knop 1 - Kort: Running automation actions
2021-08-13 11:21:58 INFO (MainThread) [homeassistant.components.automation.nieuwe_automatisering_4] Wandschakelaar: Knop 1 - Kort: Executing step activate scene
2021-08-13 11:21:58 DEBUG (MainThread) [pydeconz.gateway] Sending "put" "{'on': True, 'bri': 178, 'ct': 450}" to "192.168.1.31 /groups/1/action"
2021-08-13 11:21:58 DEBUG (MainThread) [pydeconz.gateway] HTTP request response: [{'success': {'/groups/1/action/on': True}},
 {'success': {'/groups/1/action/bri': 178}},
 {'success': {'/groups/1/action/ct': 450}}]
2021-08-13 11:21:58 DEBUG (MainThread) [pydeconz.gateway] Sending "put" "{'on': True, 'bri': 143, 'ct': 450}" to "192.168.1.31 /groups/3/action"
2021-08-13 11:21:58 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"6","r":"lights","state":{"alert":null,"bri":178,"colormode":"ct","ct":450,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:af:bd:0a-0b"}
2021-08-13 11:21:58 DEBUG (MainThread) [pydeconz.gateway] HTTP request response: [{'success': {'/groups/3/action/on': True}},
 {'success': {'/groups/3/action/bri': 143}},
 {'success': {'/groups/3/action/ct': 450}}]
2021-08-13 11:21:58 DEBUG (MainThread) [pydeconz.gateway] Sending "put" "{'on': True, 'bri': 59, 'xy': (0.44, 0.202)}" to "192.168.1.31 /lights/15/state"
2021-08-13 11:21:58 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"5","r":"lights","state":{"alert":null,"bri":178,"colormode":"ct","ct":450,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:a5:b5:0c-0b"}
2021-08-13 11:21:58 DEBUG (MainThread) [pydeconz.gateway] HTTP request response: [{'success': {'/lights/15/state/on': True}},
 {'success': {'/lights/15/state/bri': 59}},
 {'success': {'/lights/15/state/xy': [0.44, 0.202]}}]
2021-08-13 11:21:58 INFO (MainThread) [homeassistant.components.automation.nieuwe_automatisering_4] Wandschakelaar: Knop 1 - Kort: Executing step device automation
2021-08-13 11:21:58 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"12","r":"lights","state":{"alert":null,"bri":143,"colormode":"ct","ct":450,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3e:2a:b5-0b"}
2021-08-13 11:21:58 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"9","r":"lights","state":{"alert":null,"bri":143,"colormode":"ct","ct":450,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:44:dc:13-0b"}
2021-08-13 11:21:58 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"8","r":"lights","state":{"alert":null,"bri":143,"colormode":"ct","ct":450,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:44:e1:ce-0b"}
2021-08-13 11:21:58 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"7","r":"lights","state":{"alert":null,"bri":143,"colormode":"ct","ct":450,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3e:0a:6e-0b"}
2021-08-13 11:21:58 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"10","r":"lights","state":{"alert":null,"bri":143,"colormode":"ct","ct":450,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3e:2a:9c-0b"}
2021-08-13 11:21:58 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"11","r":"lights","state":{"alert":null,"bri":143,"colormode":"ct","ct":450,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3d:fb:3d-0b"}
2021-08-13 11:22:01 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"3","r":"sensors","state":{"lastupdated":"2021-08-13T09:22:01.968","power":0},"t":"event","uniqueid":"54:ef:44:10:00:0f:e9:f6-01-0b04"}
2021-08-13 11:22:02 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"5","r":"sensors","state":{"lastupdated":"2021-08-13T09:22:02.898","power":0},"t":"event","uniqueid":"54:ef:44:10:00:0f:e9:86-01-0b04"}
2021-08-13 11:22:03 INFO (MainThread) [homeassistant.components.automation.wandschakelaar_knop_3_kort] Wandschakelaar: Knop 3 - Kort: Restarting
2021-08-13 11:22:03 INFO (MainThread) [homeassistant.components.automation.wandschakelaar_knop_3_kort] Wandschakelaar: Knop 3 - Kort: Running automation actions
2021-08-13 11:22:03 INFO (MainThread) [homeassistant.components.automation.wandschakelaar_knop_3_kort] Wandschakelaar: Knop 3 - Kort: Executing step activate scene
2021-08-13 11:22:03 DEBUG (MainThread) [pydeconz.gateway] Sending "put" "{'on': True, 'bri': 254, 'ct': 230}" to "192.168.1.31 /groups/1/action"
2021-08-13 11:22:03 DEBUG (MainThread) [pydeconz.gateway] HTTP request response: [{'success': {'/groups/1/action/on': True}},
 {'success': {'/groups/1/action/bri': 254}},
 {'success': {'/groups/1/action/ct': 230}}]
2021-08-13 11:22:03 DEBUG (MainThread) [pydeconz.gateway] Sending "put" "{'on': True, 'bri': 228, 'ct': 285}" to "192.168.1.31 /groups/3/action"
2021-08-13 11:22:03 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"6","r":"lights","state":{"alert":null,"bri":254,"colormode":"ct","ct":230,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:af:bd:0a-0b"}
2021-08-13 11:22:03 DEBUG (MainThread) [pydeconz.gateway] HTTP request response: [{'success': {'/groups/3/action/on': True}},
 {'success': {'/groups/3/action/bri': 228}},
 {'success': {'/groups/3/action/ct': 285}}]
2021-08-13 11:22:03 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"5","r":"lights","state":{"alert":null,"bri":254,"colormode":"ct","ct":230,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:a5:b5:0c-0b"}
2021-08-13 11:22:03 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"12","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3e:2a:b5-0b"}
2021-08-13 11:22:03 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"9","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:44:dc:13-0b"}
2021-08-13 11:22:03 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"8","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:44:e1:ce-0b"}
2021-08-13 11:22:03 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"7","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3e:0a:6e-0b"}
2021-08-13 11:22:03 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"10","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3e:2a:9c-0b"}
2021-08-13 11:22:03 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"11","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3d:fb:3d-0b"}
2021-08-13 11:22:03 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"7","r":"sensors","state":{"lastupdated":"2021-08-13T09:22:03.791","power":0},"t":"event","uniqueid":"54:ef:44:10:00:0f:e8:ee-01-0b04"}
2021-08-13 11:22:07 INFO (MainThread) [homeassistant.components.automation.nieuwe_automatisering_4] Wandschakelaar: Knop 1 - Kort: Restarting
2021-08-13 11:22:07 INFO (MainThread) [homeassistant.components.automation.nieuwe_automatisering_4] Wandschakelaar: Knop 1 - Kort: Running automation actions
2021-08-13 11:22:07 INFO (MainThread) [homeassistant.components.automation.nieuwe_automatisering_4] Wandschakelaar: Knop 1 - Kort: Executing step activate scene
2021-08-13 11:22:07 DEBUG (MainThread) [pydeconz.gateway] Sending "put" "{'on': True, 'bri': 178, 'ct': 450}" to "192.168.1.31 /groups/1/action"
2021-08-13 11:22:07 DEBUG (MainThread) [pydeconz.gateway] HTTP request response: [{'success': {'/groups/1/action/on': True}},
 {'success': {'/groups/1/action/bri': 178}},
 {'success': {'/groups/1/action/ct': 450}}]
2021-08-13 11:22:07 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"6","r":"lights","state":{"alert":null,"bri":178,"colormode":"ct","ct":450,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:af:bd:0a-0b"}
2021-08-13 11:22:07 DEBUG (MainThread) [pydeconz.gateway] Sending "put" "{'on': True, 'bri': 143, 'ct': 450}" to "192.168.1.31 /groups/3/action"
2021-08-13 11:22:07 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"5","r":"lights","state":{"alert":null,"bri":178,"colormode":"ct","ct":450,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:a5:b5:0c-0b"}
2021-08-13 11:22:07 DEBUG (MainThread) [pydeconz.gateway] HTTP request response: [{'success': {'/groups/3/action/on': True}},
 {'success': {'/groups/3/action/bri': 143}},
 {'success': {'/groups/3/action/ct': 450}}]
2021-08-13 11:22:07 DEBUG (MainThread) [pydeconz.gateway] Sending "put" "{'on': True, 'bri': 59, 'xy': (0.44, 0.202)}" to "192.168.1.31 /lights/15/state"
2021-08-13 11:22:07 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"12","r":"lights","state":{"alert":null,"bri":143,"colormode":"ct","ct":450,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3e:2a:b5-0b"}
2021-08-13 11:22:07 DEBUG (MainThread) [pydeconz.gateway] HTTP request response: [{'success': {'/lights/15/state/on': True}},
 {'success': {'/lights/15/state/bri': 59}},
 {'success': {'/lights/15/state/xy': [0.44, 0.202]}}]
2021-08-13 11:22:07 INFO (MainThread) [homeassistant.components.automation.nieuwe_automatisering_4] Wandschakelaar: Knop 1 - Kort: Executing step device automation
2021-08-13 11:22:07 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"9","r":"lights","state":{"alert":null,"bri":143,"colormode":"ct","ct":450,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:44:dc:13-0b"}
2021-08-13 11:22:07 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"8","r":"lights","state":{"alert":null,"bri":143,"colormode":"ct","ct":450,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:44:e1:ce-0b"}
2021-08-13 11:22:07 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"7","r":"lights","state":{"alert":null,"bri":143,"colormode":"ct","ct":450,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3e:0a:6e-0b"}
2021-08-13 11:22:07 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"10","r":"lights","state":{"alert":null,"bri":143,"colormode":"ct","ct":450,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3e:2a:9c-0b"}
2021-08-13 11:22:07 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"11","r":"lights","state":{"alert":null,"bri":143,"colormode":"ct","ct":450,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3d:fb:3d-0b"}
2021-08-13 11:22:10 INFO (MainThread) [homeassistant.components.automation.wandschakelaar_knop_3_kort] Wandschakelaar: Knop 3 - Kort: Restarting
2021-08-13 11:22:10 INFO (MainThread) [homeassistant.components.automation.wandschakelaar_knop_3_kort] Wandschakelaar: Knop 3 - Kort: Running automation actions
2021-08-13 11:22:10 INFO (MainThread) [homeassistant.components.automation.wandschakelaar_knop_3_kort] Wandschakelaar: Knop 3 - Kort: Executing step activate scene
2021-08-13 11:22:10 DEBUG (MainThread) [pydeconz.gateway] Sending "put" "{'on': True, 'bri': 254, 'ct': 230}" to "192.168.1.31 /groups/1/action"
2021-08-13 11:22:10 DEBUG (MainThread) [pydeconz.gateway] HTTP request response: [{'success': {'/groups/1/action/on': True}},
 {'success': {'/groups/1/action/bri': 254}},
 {'success': {'/groups/1/action/ct': 230}}]
2021-08-13 11:22:10 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"6","r":"lights","state":{"alert":null,"bri":254,"colormode":"ct","ct":230,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:af:bd:0a-0b"}
2021-08-13 11:22:10 DEBUG (MainThread) [pydeconz.gateway] Sending "put" "{'on': True, 'bri': 228, 'ct': 285}" to "192.168.1.31 /groups/3/action"
2021-08-13 11:22:10 DEBUG (MainThread) [pydeconz.gateway] HTTP request response: [{'success': {'/groups/3/action/on': True}},
 {'success': {'/groups/3/action/bri': 228}},
 {'success': {'/groups/3/action/ct': 285}}]
2021-08-13 11:22:10 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"5","r":"lights","state":{"alert":null,"bri":254,"colormode":"ct","ct":230,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:a5:b5:0c-0b"}
2021-08-13 11:22:10 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"12","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3e:2a:b5-0b"}
2021-08-13 11:22:10 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"9","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:44:dc:13-0b"}
2021-08-13 11:22:10 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"8","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:44:e1:ce-0b"}
2021-08-13 11:22:10 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"7","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3e:0a:6e-0b"}
2021-08-13 11:22:10 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"10","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3e:2a:9c-0b"}
2021-08-13 11:22:10 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"11","r":"lights","state":{"alert":null,"bri":228,"colormode":"ct","ct":285,"on":true,"reachable":true},"t":"event","uniqueid":"00:17:88:01:08:3d:fb:3d-0b"}
2021-08-13 11:22:11 INFO (MainThread) [buienradar.buienradar_json] Parse ws data: latitude: 00.00, longitude: 00.00
2021-08-13 11:22:11 INFO (MainThread) [buienradar.buienradar_json] Parse ws data: latitude: 00.00, longitude: 00.00
2021-08-13 11:22:12 DEBUG (MainThread) [pydeconz.websocket] {"attr":{"colorcapabilities":0,"ctmax":65279,"ctmin":0,"id":"8","lastannounced":"2021-08-12T09:09:19Z","lastseen":"2021-08-13T09:22Z","manufacturername":"Philips","modelid":"LTG002","name":"Keuken S1","swversion":"1.88.2","type":"Color temperature light","uniqueid":"00:17:88:01:08:44:e1:ce-0b"},"e":"changed","id":"8","r":"lights","t":"event","uniqueid":"00:17:88:01:08:44:e1:ce-0b"}
2021-08-13 11:22:44 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"3","r":"sensors","state":{"lastupdated":"2021-08-13T09:22:44.069","power":0},"t":"event","uniqueid":"54:ef:44:10:00:0f:e9:f6-01-0b04"}
2021-08-13 11:22:44 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"5","r":"sensors","state":{"lastupdated":"2021-08-13T09:22:44.980","power":0},"t":"event","uniqueid":"54:ef:44:10:00:0f:e9:86-01-0b04"}
2021-08-13 11:22:45 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"7","r":"sensors","state":{"lastupdated":"2021-08-13T09:22:45.892","power":0},"t":"event","uniqueid":"54:ef:44:10:00:0f:e8:ee-01-0b04"}
2021-08-13 11:22:46 DEBUG (MainThread) [pydeconz.websocket] {"attr":{"colorcapabilities":0,"ctmax":65279,"ctmin":0,"id":"15","lastannounced":null,"lastseen":"2021-08-13T09:22Z","manufacturername":"Philips","modelid":"LCA001","name":"Magisch EI","swversion":"1.90.1","type":"Extended color light","uniqueid":"00:17:88:01:08:37:39:0c-0b"},"e":"changed","id":"15","r":"lights","t":"event","uniqueid":"00:17:88:01:08:37:39:0c-0b"}
2021-08-13 11:22:47 DEBUG (MainThread) [pydeconz.websocket] {"attr":{"colorcapabilities":0,"ctmax":65279,"ctmin":0,"id":"13","lastannounced":null,"lastseen":"2021-08-13T09:22Z","manufacturername":"Philips","modelid":"LTA001","name":"Dressior L1","swversion":"1.90.1","type":"Color temperature light","uniqueid":"00:17:88:01:08:aa:bc:9b-0b"},"e":"changed","id":"13","r":"lights","t":"event","uniqueid":"00:17:88:01:08:aa:bc:9b-0b"}
2021-08-13 11:22:48 DEBUG (MainThread) [pydeconz.websocket] {"attr":{"colorcapabilities":0,"ctmax":65279,"ctmin":0,"id":"12","lastannounced":null,"lastseen":"2021-08-13T09:22Z","manufacturername":"Philips","modelid":"LTG002","name":"Keuken S5","swversion":"1.88.2","type":"Color temperature light","uniqueid":"00:17:88:01:08:3e:2a:b5-0b"},"e":"changed","id":"12","r":"lights","t":"event","uniqueid":"00:17:88:01:08:3e:2a:b5-0b"}
2021-08-13 11:22:49 DEBUG (MainThread) [pydeconz.websocket] {"attr":{"colorcapabilities":0,"ctmax":65279,"ctmin":0,"id":"9","lastannounced":null,"lastseen":"2021-08-13T09:22Z","manufacturername":"Philips","modelid":"LTG002","name":"Keuken S2","swversion":"1.88.2","type":"Color temperature light","uniqueid":"00:17:88:01:08:44:dc:13-0b"},"e":"changed","id":"9","r":"lights","t":"event","uniqueid":"00:17:88:01:08:44:dc:13-0b"}
2021-08-13 11:22:51 DEBUG (MainThread) [pydeconz.websocket] {"attr":{"colorcapabilities":0,"ctmax":65279,"ctmin":0,"id":"14","lastannounced":null,"lastseen":"2021-08-13T09:22Z","manufacturername":"Philips","modelid":"LTA001","name":"Piano L1","swversion":"1.90.1","type":"Color temperature light","uniqueid":"00:17:88:01:08:af:bf:84-0b"},"e":"changed","id":"14","r":"lights","t":"event","uniqueid":"00:17:88:01:08:af:bf:84-0b"}
2021-08-13 11:22:51 DEBUG (MainThread) [pydeconz.websocket] {"attr":{"id":"3","lastannounced":null,"lastseen":"2021-08-13T09:22Z","manufacturername":"LUMI","modelid":"lumi.plug.maeu01","name":"Mesh - Overloop","swversion":"09-22-2020","type":"Smart plug","uniqueid":"54:ef:44:10:00:0f:e9:86-01"},"e":"changed","id":"3","r":"lights","t":"event","uniqueid":"54:ef:44:10:00:0f:e9:86-01"}
2021-08-13 11:22:53 DEBUG (MainThread) [pydeconz.websocket] {"attr":{"colorcapabilities":0,"ctmax":65279,"ctmin":0,"id":"6","lastannounced":"2021-08-12T09:35:44Z","lastseen":"2021-08-13T09:22Z","manufacturername":"Philips","modelid":"LTA001","name":"Eettafel L2","swversion":"1.90.1","type":"Color temperature light","uniqueid":"00:17:88:01:08:af:bd:0a-0b"},"e":"changed","id":"6","r":"lights","t":"event","uniqueid":"00:17:88:01:08:af:bd:0a-0b"}
2021-08-13 11:22:55 DEBUG (MainThread) [pydeconz.websocket] {"attr":{"colorcapabilities":0,"ctmax":65279,"ctmin":0,"id":"7","lastannounced":"2021-08-12T09:07:06Z","lastseen":"2021-08-13T09:22Z","manufacturername":"Philips","modelid":"LTG002","name":"Keuken S3","swversion":"1.88.2","type":"Color temperature light","uniqueid":"00:17:88:01:08:3e:0a:6e-0b"},"e":"changed","id":"7","r":"lights","t":"event","uniqueid":"00:17:88:01:08:3e:0a:6e-0b"}
2021-08-13 11:22:57 DEBUG (MainThread) [pydeconz.websocket] {"attr":{"colorcapabilities":0,"ctmax":65279,"ctmin":0,"id":"10","lastannounced":null,"lastseen":"2021-08-13T09:22Z","manufacturername":"Philips","modelid":"LTG002","name":"Keuken S4","swversion":"1.88.2","type":"Color temperature light","uniqueid":"00:17:88:01:08:3e:2a:9c-0b"},"e":"changed","id":"10","r":"lights","t":"event","uniqueid":"00:17:88:01:08:3e:2a:9c-0b"}
2021-08-13 11:22:58 DEBUG (MainThread) [pydeconz.websocket] {"attr":{"colorcapabilities":0,"ctmax":65279,"ctmin":0,"id":"11","lastannounced":null,"lastseen":"2021-08-13T09:22Z","manufacturername":"Philips","modelid":"LTG002","name":"Keuken S6","swversion":"1.88.2","type":"Color temperature light","uniqueid":"00:17:88:01:08:3d:fb:3d-0b"},"e":"changed","id":"11","r":"lights","t":"event","uniqueid":"00:17:88:01:08:3d:fb:3d-0b"}
2021-08-13 11:22:59 DEBUG (MainThread) [pydeconz.websocket] {"attr":{"colorcapabilities":0,"ctmax":65279,"ctmin":0,"id":"16","lastannounced":null,"lastseen":"2021-08-13T09:22Z","manufacturername":"Philips","modelid":"LTA001","name":"Driepoot L1","swversion":"1.90.1","type":"Color temperature light","uniqueid":"00:17:88:01:06:4e:67:ca-0b"},"e":"changed","id":"16","r":"lights","t":"event","uniqueid":"00:17:88:01:06:4e:67:ca-0b"}
2021-08-13 11:23:00 DEBUG (MainThread) [pydeconz.websocket] {"attr":{"colorcapabilities":0,"ctmax":65279,"ctmin":0,"id":"5","lastannounced":null,"lastseen":"2021-08-13T09:23Z","manufacturername":"Philips","modelid":"LTA001","name":"Eettafel L1","swversion":"1.90.1","type":"Color temperature light","uniqueid":"00:17:88:01:08:a5:b5:0c-0b"},"e":"changed","id":"5","r":"lights","t":"event","uniqueid":"00:17:88:01:08:a5:b5:0c-0b"}
2021-08-13 11:23:06 DEBUG (MainThread) [pydeconz.websocket] {"attr":{"id":"1","lastannounced":null,"lastseen":"2021-08-13T09:23Z","manufacturername":"dresden elektronik","modelid":"ConBee II","name":"Configuration tool 1","swversion":"0x26580700","type":"Configuration tool","uniqueid":"00:21:2e:ff:ff:06:a9:7b-01"},"e":"changed","id":"1","r":"lights","t":"event","uniqueid":"00:21:2e:ff:ff:06:a9:7b-01"}
2021-08-13 11:23:11 DEBUG (MainThread) [pydeconz.websocket] {"e":"changed","id":"6","r":"sensors","state":{"consumption":0,"lastupdated":"2021-08-13T09:23:11.829"},"t":"event","uniqueid":"54:ef:44:10:00:0f:e8:ee-01-0702"}
Kane610 commented 3 years ago

I don't think there is anything I can do here since you do get proper HTTP request response: [{'success': {'/groups/... messages from deCONZ, I suggest to report this and to debug this on deCONZ side next

ronaldvdmeer commented 3 years ago

Can you explain why automation is working when I execute them via de Home Assistant UI?

Kane610 commented 3 years ago

Can you explain why automation is working when I execute them via de Home Assistant UI?

I have no idea, else I'd be able to help you :)

ronaldvdmeer commented 3 years ago

Thanks @Kane610

I've been hammering the deCONZ API with the script below for some time now and I can reproduce the error. I'll be contacting them.

curl -X PUT http://192.168.1.31:8080/api/<APIKEY>/groups/1/action -d '{ "on": true, "bri": 125, "ct": 450}'
curl -X PUT http://192.168.1.31:8080/api/<APIKEY>/groups/3/action -d '{ "on": true, "bri": 125, "ct": 450}'

sleep 2
curl -X PUT http://192.168.1.31:8080/api/<APIKEY>/groups/1/action -d '{ "on": true, "bri": 254, "ct": 230}'
curl -X PUT http://192.168.1.31:8080/api/<APIKEY>/groups/3/action -d '{ "on": true, "bri": 254, "ct": 230}'
sleep 2

It gave a SUCCES back while it didn't change!

Kane610 commented 3 years ago

Great! Closing this issue for now