Autor Thema: HUE push api - nach gewisser Zeit keine Events mehr  (Gelesen 643 mal)

Offline MichaelT

  • Full Member
  • ***
  • Beiträge: 282
HUE push api - nach gewisser Zeit keine Events mehr
« am: 29 Juni 2022, 19:34:42 »
Hallo justme1968,

ich nutze einige HUE-Devices in fhem (Lampen, Motion, Dimmer). Seit deiner push api Erweiterung (danke)
funktionieren auch die Motion und Dimmer sehr gut.

Mir ist aber schon mehrfach aufgefallen, dass nach einer "gewissen" Zeit keine Event mehr kommen und der Status sich scheinbar nur
mit den pulls (interval 60)ändern. Nach einem Neustart fhem geht es dann wieder korrekt.
Ich hatte auch mal nur ein def modify  der HUE-Bridge gemacht, hat nicht geholfen.

Kannst Du mir noch Tipps geben, wie ich das Problem weiter einkreise?

EDIT:
Version: fhem.pl:26034/2022-05-09

Gruß Michael

Beispiel:
HUE Motion == sensors/32 == DG_FLUR_MD

Logauszug bis zum Neustart:
2022.06.29 18:30:47.239 4: using HttpUtils_NonblockingGet: GET
2022.06.29 18:30:47.350 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5
2022.06.29 18:30:47.350 5: HUEBridge_dispatch
2022.06.29 18:30:47.357 4: DG_HUE_1: parse status message
2022.06.29 18:30:47.571 4: parse status message for DG_FLUR_MD
2022.06.29 18:30:47.571 5: DG_FLUR_MD: using offsetUTC 7200 from bridge
2022.06.29 18:30:47.572 4: DG_FLUR_MD: ignoring reading reachable with timestamp 2022-06-29 18:24:14, current reading timestamp is 2022-06-29 18:24:14
2022.06.29 18:30:47.572 4: DG_FLUR_MD: ignoring reading state with timestamp 2022-06-29 18:24:14, current reading timestamp is 2022-06-29 18:24:14
2022.06.29 18:30:47.572 4: DG_FLUR_MD: ignoring reading battery with timestamp 2022-06-29 18:24:14, current reading timestamp is 2022-06-29 18:24:14
2022.06.29 18:30:47.572 4: DG_FLUR_MD: ignoring reading batteryPercent with timestamp 2022-06-29 18:24:14, current reading timestamp is 2022-06-29 18:24:14
2022.06.29 18:31:10.451 4: using HttpUtils_NonblockingGet: GET
2022.06.29 18:31:10.553 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5
2022.06.29 18:31:10.554 5: HUEBridge_dispatch
2022.06.29 18:31:10.560 4: DG_HUE_1: parse status message
2022.06.29 18:31:10.699 4: parse status message for DG_FLUR_MD
2022.06.29 18:31:10.699 5: DG_FLUR_MD: using offsetUTC 7200 from bridge
2022.06.29 18:31:10.699 4: DG_FLUR_MD: ignoring reading batteryPercent with timestamp 2022-06-29 18:24:14, current reading timestamp is 2022-06-29 18:24:14
2022.06.29 18:31:10.699 4: DG_FLUR_MD: ignoring reading battery with timestamp 2022-06-29 18:24:14, current reading timestamp is 2022-06-29 18:24:14
2022.06.29 18:31:10.700 4: DG_FLUR_MD: ignoring reading state with timestamp 2022-06-29 18:24:14, current reading timestamp is 2022-06-29 18:24:14
2022.06.29 18:31:10.700 4: DG_FLUR_MD: ignoring reading reachable with timestamp 2022-06-29 18:24:14, current reading timestamp is 2022-06-29 18:24:14
2022.06.29 18:32:10.497 4: using HttpUtils_NonblockingGet: GET
2022.06.29 18:32:10.607 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5
2022.06.29 18:32:10.607 5: HUEBridge_dispatch
2022.06.29 18:32:10.613 4: DG_HUE_1: parse status message
2022.06.29 18:32:10.678 4: parse status message for DG_FLUR_MD
2022.06.29 18:32:10.678 5: DG_FLUR_MD: using offsetUTC 7200 from bridge
2022.06.29 18:33:10.498 4: using HttpUtils_NonblockingGet: GET
2022.06.29 18:33:10.974 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5
2022.06.29 18:33:10.974 5: HUEBridge_dispatch
2022.06.29 18:33:10.980 4: DG_HUE_1: parse status message
2022.06.29 18:33:10.981 4: parse status message for DG_FLUR_MD
2022.06.29 18:33:10.981 5: DG_FLUR_MD: using offsetUTC 7200 from bridge
2022.06.29 18:33:10.981 4: DG_FLUR_MD: ignoring reading state with timestamp 2022-06-29 18:31:35, current reading timestamp is 2022-06-29 18:31:35
2022.06.29 18:33:10.982 4: DG_FLUR_MD: ignoring reading reachable with timestamp 2022-06-29 18:31:35, current reading timestamp is 2022-06-29 18:31:35
2022.06.29 18:33:10.982 4: DG_FLUR_MD: ignoring reading battery with timestamp 2022-06-29 18:31:35, current reading timestamp is 2022-06-29 18:31:35
2022.06.29 18:33:10.982 4: DG_FLUR_MD: ignoring reading batteryPercent with timestamp 2022-06-29 18:31:35, current reading timestamp is 2022-06-29 18:31:35
2022.06.29 18:34:10.531 4: using HttpUtils_NonblockingGet: GET
2022.06.29 18:34:10.631 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5
2022.06.29 18:34:10.631 5: HUEBridge_dispatch
2022.06.29 18:34:10.637 4: DG_HUE_1: parse status message
2022.06.29 18:34:10.638 4: parse status message for DG_FLUR_MD
2022.06.29 18:34:10.638 5: DG_FLUR_MD: using offsetUTC 7200 from bridge
2022.06.29 18:34:10.638 4: DG_FLUR_MD: ignoring reading state with timestamp 2022-06-29 18:31:35, current reading timestamp is 2022-06-29 18:31:35
2022.06.29 18:34:10.638 4: DG_FLUR_MD: ignoring reading reachable with timestamp 2022-06-29 18:31:35, current reading timestamp is 2022-06-29 18:31:35
2022.06.29 18:34:10.639 4: DG_FLUR_MD: ignoring reading battery with timestamp 2022-06-29 18:31:35, current reading timestamp is 2022-06-29 18:31:35
2022.06.29 18:34:10.639 4: DG_FLUR_MD: ignoring reading batteryPercent with timestamp 2022-06-29 18:31:35, current reading timestamp is 2022-06-29 18:31:35
2022.06.29 18:35:10.538 4: using HttpUtils_NonblockingGet: GET
2022.06.29 18:35:10.642 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5
2022.06.29 18:35:10.642 5: HUEBridge_dispatch
2022.06.29 18:35:10.648 4: DG_HUE_1: parse status message
2022.06.29 18:35:10.652 4: parse status message for DG_FLUR_MD
2022.06.29 18:35:10.652 5: DG_FLUR_MD: using offsetUTC 7200 from bridge
2022.06.29 18:35:10.653 4: DG_FLUR_MD: ignoring reading reachable with timestamp 2022-06-29 18:31:35, current reading timestamp is 2022-06-29 18:31:35
2022.06.29 18:35:10.653 4: DG_FLUR_MD: ignoring reading state with timestamp 2022-06-29 18:31:35, current reading timestamp is 2022-06-29 18:31:35
2022.06.29 18:35:10.653 4: DG_FLUR_MD: ignoring reading battery with timestamp 2022-06-29 18:31:35, current reading timestamp is 2022-06-29 18:31:35
2022.06.29 18:35:10.653 4: DG_FLUR_MD: ignoring reading batteryPercent with timestamp 2022-06-29 18:31:35, current reading timestamp is 2022-06-29 18:31:35
2022.06.29 18:35:52.930 1: Server shutdown delayed due to logdb for max 10 sec

Logauszug nach dem Neustart
022.06.29 18:46:47.385 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/9
2022.06.29 18:46:47.385 5: HUEBridge_dispatch: sensors/9
2022.06.29 18:46:47.863 4: using HttpUtils_NonblockingGet: GET sensors/8
2022.06.29 18:46:47.871 4: using HttpUtils_NonblockingGet: GET sensors/25
2022.06.29 18:46:47.875 4: using HttpUtils_NonblockingGet: GET sensors/26
2022.06.29 18:46:47.877 4: using HttpUtils_NonblockingGet: GET sensors/9
2022.06.29 18:46:48.450 4: DG_HUE_1: dispatch: https://192.168.4.68/eventstream/clip/v2
2022.06.29 18:46:48.450 5: HUEBridge_dispatch: event
2022.06.29 18:46:48.450 5: DG_HUE_1: EventStream: got id: 1656521207:0
2022.06.29 18:46:48.450 5: DG_HUE_1: EventStream: got data: [{"creationtime":"2022-06-29T16:46:47Z","data":[{"id":"011b97bf-ac2e-4dee-9084-07ec5ba3f244","id_v1":"/sensors/32","motion":{"motion":true,"motion_valid":true},"owner":{"rid":"ee4587c8-6323-4b35-9493-20339c50aa50","rtype":"device"},"type":"motion"}],"id":"9ac075a7-5068-4b63-a6fc-de4f7d2e7f9d","type":"update"}]
2022.06.29 18:46:48.451 5: DG_HUE_1: EventStream: received: $VAR1 = [
          {
            'type' => 'update',
            'id' => '9ac075a7-5068-4b63-a6fc-de4f7d2e7f9d',
            'creationtime' => '2022-06-29T16:46:47Z',
            'data' => [
                        {
                          'type' => 'motion',
                          'motion' => {
                                        'motion_valid' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
                                        'motion' => $VAR1->[0]{'data'}[0]{'motion'}{'motion_valid'}
                                      },
                          'id_v1' => '/sensors/32',
                          'id' => '011b97bf-ac2e-4dee-9084-07ec5ba3f244',
                          'owner' => {
                                       'rid' => 'ee4587c8-6323-4b35-9493-20339c50aa50',
                                       'rtype' => 'device'
                                     }
                        }
                      ]
          }
        ];

2022.06.29 18:46:48.451 4: DG_HUE_1: EventStream: got update event
2022.06.29 18:46:48.451 4: DG_HUE_1:              event part for resource type motion
2022.06.29 18:46:48.451 5: DG_HUE_1: created from event: $VAR1 = {
          'v2_service' => '011b97bf-ac2e-4dee-9084-07ec5ba3f244',
          'state' => {
                       'lastupdated' => '2022-06-29T16:46:47',
                       'presence' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' )
                     },
          'source' => 'event',
          'v2_id' => 'ee4587c8-6323-4b35-9493-20339c50aa50'
        };

2022.06.29 18:46:48.451 4: parse status message for DG_FLUR_MD
2022.06.29 18:46:48.452 5: DG_FLUR_MD: using offsetUTC 7200 from bridge
2022.06.29 18:46:48.485 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/8
2022.06.29 18:46:48.485 5: HUEBridge_dispatch: sensors/8
2022.06.29 18:46:48.487 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/25
2022.06.29 18:46:48.487 5: HUEBridge_dispatch: sensors/25
2022.06.29 18:46:48.521 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/9
2022.06.29 18:46:48.521 5: HUEBridge_dispatch: sensors/9
2022.06.29 18:46:48.522 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/26
2022.06.29 18:46:48.523 5: HUEBridge_dispatch: sensors/26
2022.06.29 18:46:48.878 4: using HttpUtils_NonblockingGet: GET sensors/8
2022.06.29 18:46:48.879 4: using HttpUtils_NonblockingGet: GET sensors/25
2022.06.29 18:46:48.881 4: using HttpUtils_NonblockingGet: GET sensors/26
2022.06.29 18:46:48.882 4: using HttpUtils_NonblockingGet: GET sensors/9
2022.06.29 18:46:49.387 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/25
2022.06.29 18:46:49.387 5: HUEBridge_dispatch: sensors/25
2022.06.29 18:46:49.399 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/8
2022.06.29 18:46:49.399 5: HUEBridge_dispatch: sensors/8
2022.06.29 18:46:49.413 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/26
2022.06.29 18:46:49.414 5: HUEBridge_dispatch: sensors/26
2022.06.29 18:46:49.428 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/9
2022.06.29 18:46:49.428 5: HUEBridge_dispatch: sensors/9
2022.06.29 18:46:49.880 4: using HttpUtils_NonblockingGet: GET sensors/8
2022.06.29 18:46:49.887 4: using HttpUtils_NonblockingGet: GET sensors/25
2022.06.29 18:46:49.890 4: using HttpUtils_NonblockingGet: GET sensors/26
2022.06.29 18:46:49.891 4: using HttpUtils_NonblockingGet: GET sensors/9
2022.06.29 18:46:50.565 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/8
2022.06.29 18:46:50.565 5: HUEBridge_dispatch: sensors/8
2022.06.29 18:46:50.596 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/9
2022.06.29 18:46:50.597 5: HUEBridge_dispatch: sensors/9
2022.06.29 18:46:50.599 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/26
2022.06.29 18:46:50.599 5: HUEBridge_dispatch: sensors/26
2022.06.29 18:46:50.601 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/25
2022.06.29 18:46:50.602 5: HUEBridge_dispatch: sensors/25
2022.06.29 18:46:50.883 4: using HttpUtils_NonblockingGet: GET sensors/8
2022.06.29 18:46:50.890 4: using HttpUtils_NonblockingGet: GET sensors/25
2022.06.29 18:46:50.895 4: using HttpUtils_NonblockingGet: GET sensors/26
2022.06.29 18:46:50.896 4: using HttpUtils_NonblockingGet: GET sensors/9
2022.06.29 18:46:51.362 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/8
2022.06.29 18:46:51.362 5: HUEBridge_dispatch: sensors/8
2022.06.29 18:46:51.369 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/25
2022.06.29 18:46:51.369 5: HUEBridge_dispatch: sensors/25
2022.06.29 18:46:51.381 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/26
2022.06.29 18:46:51.381 5: HUEBridge_dispatch: sensors/26
2022.06.29 18:46:51.397 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/9
2022.06.29 18:46:51.398 5: HUEBridge_dispatch: sensors/9
2022.06.29 18:46:51.666 4: DG_HUE_1: dispatch: https://192.168.4.68/eventstream/clip/v2
2022.06.29 18:46:51.666 5: HUEBridge_dispatch: event
2022.06.29 18:46:51.666 5: DG_HUE_1: EventStream: got id: 1656521211:0
2022.06.29 18:46:51.666 5: DG_HUE_1: EventStream: got data: [{"creationtime":"2022-06-29T16:46:51Z","data":[{"id":"5fcf7f11-f173-47c2-ba59-f62f898f9dfd","id_v1":"/sensors/36","motion":{"motion":true,"motion_valid":true},"owner":{"rid":"ebe2058a-ee9a-4836-a3d8-479290917013","rtype":"device"},"type":"motion"}],"id":"3a419d03-9689-4dcb-91ad-5d84d7d0b440","type":"update"}]
2022.06.29 18:46:51.667 5: DG_HUE_1: EventStream: received: $VAR1 = [
          {
            'data' => [
                        {
                          'type' => 'motion',
                          'motion' => {
                                        'motion_valid' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
                                        'motion' => $VAR1->[0]{'data'}[0]{'motion'}{'motion_valid'}
                                      },
                          'id_v1' => '/sensors/36',
                          'id' => '5fcf7f11-f173-47c2-ba59-f62f898f9dfd',
                          'owner' => {
                                       'rid' => 'ebe2058a-ee9a-4836-a3d8-479290917013',
                                       'rtype' => 'device'
                                     }
                        }
                      ],
            'creationtime' => '2022-06-29T16:46:51Z',
            'id' => '3a419d03-9689-4dcb-91ad-5d84d7d0b440',
            'type' => 'update'
          }
        ];

2022.06.29 18:46:51.667 4: DG_HUE_1: EventStream: got update event
2022.06.29 18:46:51.667 4: DG_HUE_1:              event part for resource type motion
2022.06.29 18:46:51.667 5: DG_HUE_1: created from event: $VAR1 = {
          'v2_service' => '5fcf7f11-f173-47c2-ba59-f62f898f9dfd',
          'state' => {
                       'presence' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
                       'lastupdated' => '2022-06-29T16:46:51'
                     },
          'source' => 'event',
          'v2_id' => 'ebe2058a-ee9a-4836-a3d8-479290917013'
        };

2022.06.29 18:46:52.168 4: using HttpUtils_NonblockingGet: GET sensors/8
2022.06.29 18:46:52.170 4: using HttpUtils_NonblockingGet: GET sensors/25
2022.06.29 18:46:52.274 4: using HttpUtils_NonblockingGet: GET sensors/26
2022.06.29 18:46:52.275 4: using HttpUtils_NonblockingGet: GET sensors/9
2022.06.29 18:46:52.805 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/8
2022.06.29 18:46:52.805 5: HUEBridge_dispatch: sensors/8
2022.06.29 18:46:52.807 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/25
2022.06.29 18:46:52.807 5: HUEBridge_dispatch: sensors/25
2022.06.29 18:46:52.808 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/26
2022.06.29 18:46:52.809 5: HUEBridge_dispatch: sensors/26
2022.06.29 18:46:52.814 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/9
2022.06.29 18:46:52.814 5: HUEBridge_dispatch: sensors/9
2022.06.29 18:46:53.170 4: using HttpUtils_NonblockingGet: GET sensors/8
2022.06.29 18:46:53.175 4: using HttpUtils_NonblockingGet: GET sensors/25
2022.06.29 18:46:53.189 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/8
2022.06.29 18:46:53.189 5: HUEBridge_dispatch: sensors/8
2022.06.29 18:46:53.200 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/25
2022.06.29 18:46:53.200 5: HUEBridge_dispatch: sensors/25
2022.06.29 18:46:53.275 4: using HttpUtils_NonblockingGet: GET sensors/26
2022.06.29 18:46:53.278 4: using HttpUtils_NonblockingGet: GET sensors/9
2022.06.29 18:46:53.789 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/26
2022.06.29 18:46:53.789 5: HUEBridge_dispatch: sensors/26
2022.06.29 18:46:53.791 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/9
2022.06.29 18:46:53.791 5: HUEBridge_dispatch: sensors/9
2022.06.29 18:46:54.172 4: using HttpUtils_NonblockingGet: GET sensors/8
2022.06.29 18:46:54.179 4: using HttpUtils_NonblockingGet: GET sensors/25
2022.06.29 18:46:54.189 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/8
2022.06.29 18:46:54.190 5: HUEBridge_dispatch: sensors/8
2022.06.29 18:46:54.204 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/25
2022.06.29 18:46:54.204 5: HUEBridge_dispatch: sensors/25
2022.06.29 18:46:54.456 4: using HttpUtils_NonblockingGet: GET sensors/26
2022.06.29 18:46:54.457 4: using HttpUtils_NonblockingGet: GET sensors/9
2022.06.29 18:46:55.013 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/26
2022.06.29 18:46:55.013 5: HUEBridge_dispatch: sensors/26
2022.06.29 18:46:55.025 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/9
2022.06.29 18:46:55.025 5: HUEBridge_dispatch: sensors/9
2022.06.29 18:46:55.174 4: using HttpUtils_NonblockingGet: GET sensors/8
2022.06.29 18:46:55.180 4: using HttpUtils_NonblockingGet: GET sensors/25
2022.06.29 18:46:55.191 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/8
2022.06.29 18:46:55.192 5: HUEBridge_dispatch: sensors/8
2022.06.29 18:46:55.206 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/25
2022.06.29 18:46:55.206 5: HUEBridge_dispatch: sensors/25
2022.06.29 18:46:55.457 4: using HttpUtils_NonblockingGet: GET sensors/26
2022.06.29 18:46:55.467 4: using HttpUtils_NonblockingGet: GET sensors/9
2022.06.29 18:46:56.060 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/26
2022.06.29 18:46:56.060 5: HUEBridge_dispatch: sensors/26
2022.06.29 18:46:56.064 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/9
2022.06.29 18:46:56.064 5: HUEBridge_dispatch: sensors/9
2022.06.29 18:46:56.175 4: using HttpUtils_NonblockingGet: GET sensors/8
2022.06.29 18:46:56.182 4: using HttpUtils_NonblockingGet: GET sensors/25
2022.06.29 18:46:56.194 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/8
2022.06.29 18:46:56.194 5: HUEBridge_dispatch: sensors/8
2022.06.29 18:46:56.209 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/25
2022.06.29 18:46:56.209 5: HUEBridge_dispatch: sensors/25
2022.06.29 18:46:56.515 4: using HttpUtils_NonblockingGet: GET sensors/26
2022.06.29 18:46:56.516 4: using HttpUtils_NonblockingGet: GET sensors/9
2022.06.29 18:46:57.009 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/26
2022.06.29 18:46:57.009 5: HUEBridge_dispatch: sensors/26
2022.06.29 18:46:57.013 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/9
2022.06.29 18:46:57.013 5: HUEBridge_dispatch: sensors/9
2022.06.29 18:46:57.177 4: using HttpUtils_NonblockingGet: GET sensors/8
2022.06.29 18:46:57.185 4: using HttpUtils_NonblockingGet: GET sensors/25
2022.06.29 18:46:57.194 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/8
2022.06.29 18:46:57.194 5: HUEBridge_dispatch: sensors/8
2022.06.29 18:46:57.209 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/25
2022.06.29 18:46:57.209 5: HUEBridge_dispatch: sensors/25
2022.06.29 18:46:57.516 4: using HttpUtils_NonblockingGet: GET sensors/26
2022.06.29 18:46:57.519 4: using HttpUtils_NonblockingGet: GET sensors/9
2022.06.29 18:46:57.956 4: DG_HUE_1: dispatch: https://192.168.4.68/eventstream/clip/v2
2022.06.29 18:46:57.956 5: HUEBridge_dispatch: event
2022.06.29 18:46:57.956 5: DG_HUE_1: EventStream: got id: 1656521217:0
2022.06.29 18:46:57.956 5: DG_HUE_1: EventStream: got data: [{"creationtime":"2022-06-29T16:46:57Z","data":[{"id":"720508a2-6158-4480-ac3f-7f3e51e16b90","id_v1":"/sensors/29","motion":{"motion":true,"motion_valid":true},"owner":{"rid":"bceffffa-c677-4980-bf77-8b00b666293f","rtype":"device"},"type":"motion"}],"id":"7beff461-4bbf-42ff-a7f9-894aee86bc09","type":"update"}]
2022.06.29 18:46:57.956 5: DG_HUE_1: EventStream: received: $VAR1 = [
          {
            'type' => 'update',
            'id' => '7beff461-4bbf-42ff-a7f9-894aee86bc09',
            'creationtime' => '2022-06-29T16:46:57Z',
            'data' => [
                        {
                          'id' => '720508a2-6158-4480-ac3f-7f3e51e16b90',
                          'owner' => {
                                       'rid' => 'bceffffa-c677-4980-bf77-8b00b666293f',
                                       'rtype' => 'device'
                                     },
                          'type' => 'motion',
                          'id_v1' => '/sensors/29',
                          'motion' => {
                                        'motion' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
                                        'motion_valid' => $VAR1->[0]{'data'}[0]{'motion'}{'motion'}
                                      }
                        }
                      ]
          }
        ];

2022.06.29 18:46:57.956 4: DG_HUE_1: EventStream: got update event
2022.06.29 18:46:57.957 4: DG_HUE_1:              event part for resource type motion
2022.06.29 18:46:57.957 5: DG_HUE_1: created from event: $VAR1 = {
          'v2_service' => '720508a2-6158-4480-ac3f-7f3e51e16b90',
          'v2_id' => 'bceffffa-c677-4980-bf77-8b00b666293f',
          'source' => 'event',
          'state' => {
                       'presence' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
                       'lastupdated' => '2022-06-29T16:46:57'
                     }
        };

2022.06.29 18:46:57.996 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/26
2022.06.29 18:46:57.996 5: HUEBridge_dispatch: sensors/26
2022.06.29 18:46:58.002 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/9
2022.06.29 18:46:58.002 5: HUEBridge_dispatch: sensors/9
2022.06.29 18:46:58.179 4: using HttpUtils_NonblockingGet: GET sensors/8
2022.06.29 18:46:58.187 4: using HttpUtils_NonblockingGet: GET sensors/25
2022.06.29 18:46:58.197 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/8
2022.06.29 18:46:58.198 5: HUEBridge_dispatch: sensors/8
2022.06.29 18:46:58.212 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/25
2022.06.29 18:46:58.212 5: HUEBridge_dispatch: sensors/25
2022.06.29 18:46:58.516 4: using HttpUtils_NonblockingGet: GET sensors/26
2022.06.29 18:46:58.519 4: using HttpUtils_NonblockingGet: GET sensors/9
2022.06.29 18:46:59.024 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/26
2022.06.29 18:46:59.024 5: HUEBridge_dispatch: sensors/26
2022.06.29 18:46:59.026 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/9
2022.06.29 18:46:59.026 5: HUEBridge_dispatch: sensors/9
2022.06.29 18:46:59.181 4: using HttpUtils_NonblockingGet: GET sensors/8
2022.06.29 18:46:59.189 4: using HttpUtils_NonblockingGet: GET sensors/25
2022.06.29 18:46:59.199 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/8
2022.06.29 18:46:59.199 5: HUEBridge_dispatch: sensors/8
2022.06.29 18:46:59.213 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/25
2022.06.29 18:46:59.213 5: HUEBridge_dispatch: sensors/25
2022.06.29 18:46:59.517 4: using HttpUtils_NonblockingGet: GET sensors/26
2022.06.29 18:46:59.520 4: using HttpUtils_NonblockingGet: GET sensors/9
2022.06.29 18:46:59.958 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/26
2022.06.29 18:46:59.958 5: HUEBridge_dispatch: sensors/26
2022.06.29 18:46:59.965 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/9
2022.06.29 18:46:59.965 5: HUEBridge_dispatch: sensors/9
2022.06.29 18:47:00.182 4: using HttpUtils_NonblockingGet: GET sensors/8
2022.06.29 18:47:00.190 4: using HttpUtils_NonblockingGet: GET sensors/25
2022.06.29 18:47:00.194 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/8
2022.06.29 18:47:00.194 5: HUEBridge_dispatch: sensors/8
2022.06.29 18:47:00.207 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/25
2022.06.29 18:47:00.207 5: HUEBridge_dispatch: sensors/25
2022.06.29 18:47:00.518 4: using HttpUtils_NonblockingGet: GET sensors/26
2022.06.29 18:47:00.525 4: using HttpUtils_NonblockingGet: GET sensors/9
2022.06.29 18:47:00.972 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/26
2022.06.29 18:47:00.972 5: HUEBridge_dispatch: sensors/26
2022.06.29 18:47:00.982 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/9
2022.06.29 18:47:00.982 5: HUEBridge_dispatch: sensors/9
2022.06.29 18:47:01.184 4: using HttpUtils_NonblockingGet: GET sensors/8
2022.06.29 18:47:01.192 4: using HttpUtils_NonblockingGet: GET sensors/25
2022.06.29 18:47:01.202 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/8
2022.06.29 18:47:01.203 5: HUEBridge_dispatch: sensors/8
2022.06.29 18:47:01.221 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/25
2022.06.29 18:47:01.222 5: HUEBridge_dispatch: sensors/25
2022.06.29 18:47:01.518 4: using HttpUtils_NonblockingGet: GET sensors/26
2022.06.29 18:47:01.526 4: using HttpUtils_NonblockingGet: GET sensors/9
2022.06.29 18:47:02.074 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/26
2022.06.29 18:47:02.074 5: HUEBridge_dispatch: sensors/26
2022.06.29 18:47:02.077 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/9
2022.06.29 18:47:02.077 5: HUEBridge_dispatch: sensors/9
2022.06.29 18:47:02.186 4: using HttpUtils_NonblockingGet: GET sensors/8
2022.06.29 18:47:02.194 4: using HttpUtils_NonblockingGet: GET sensors/25
2022.06.29 18:47:02.199 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/8
2022.06.29 18:47:02.199 5: HUEBridge_dispatch: sensors/8
2022.06.29 18:47:02.214 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/25
2022.06.29 18:47:02.214 5: HUEBridge_dispatch: sensors/25
2022.06.29 18:47:02.519 4: using HttpUtils_NonblockingGet: GET sensors/26
2022.06.29 18:47:02.526 4: using HttpUtils_NonblockingGet: GET sensors/9
2022.06.29 18:47:03.076 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/26
2022.06.29 18:47:03.077 5: HUEBridge_dispatch: sensors/26
2022.06.29 18:47:03.079 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/9
2022.06.29 18:47:03.079 5: HUEBridge_dispatch: sensors/9
2022.06.29 18:47:03.188 4: using HttpUtils_NonblockingGet: GET sensors/8
2022.06.29 18:47:03.195 4: using HttpUtils_NonblockingGet: GET sensors/25
2022.06.29 18:47:03.206 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/8
2022.06.29 18:47:03.206 5: HUEBridge_dispatch: sensors/8
2022.06.29 18:47:03.220 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/25
2022.06.29 18:47:03.220 5: HUEBridge_dispatch: sensors/25
2022.06.29 18:47:03.521 4: using HttpUtils_NonblockingGet: GET sensors/26
2022.06.29 18:47:03.528 4: using HttpUtils_NonblockingGet: GET sensors/9
2022.06.29 18:47:04.057 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/26
2022.06.29 18:47:04.058 5: HUEBridge_dispatch: sensors/26
2022.06.29 18:47:04.063 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/9
2022.06.29 18:47:04.063 5: HUEBridge_dispatch: sensors/9
2022.06.29 18:47:04.189 4: using HttpUtils_NonblockingGet: GET sensors/8
2022.06.29 18:47:04.197 4: using HttpUtils_NonblockingGet: GET sensors/25
2022.06.29 18:47:04.210 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/8
2022.06.29 18:47:04.210 5: HUEBridge_dispatch: sensors/8
2022.06.29 18:47:04.224 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/25
2022.06.29 18:47:04.224 5: HUEBridge_dispatch: sensors/25
2022.06.29 18:47:04.521 4: using HttpUtils_NonblockingGet: GET sensors/26
2022.06.29 18:47:04.528 4: using HttpUtils_NonblockingGet: GET sensors/9
2022.06.29 18:47:05.062 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/26
2022.06.29 18:47:05.062 5: HUEBridge_dispatch: sensors/26
2022.06.29 18:47:05.070 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/9
2022.06.29 18:47:05.070 5: HUEBridge_dispatch: sensors/9
2022.06.29 18:47:05.192 4: using HttpUtils_NonblockingGet: GET sensors/8
2022.06.29 18:47:05.199 4: using HttpUtils_NonblockingGet: GET sensors/25
2022.06.29 18:47:05.210 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/8
2022.06.29 18:47:05.210 5: HUEBridge_dispatch: sensors/8
2022.06.29 18:47:05.224 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/25
2022.06.29 18:47:05.224 5: HUEBridge_dispatch: sensors/25
2022.06.29 18:47:05.522 4: using HttpUtils_NonblockingGet: GET sensors/26
2022.06.29 18:47:05.529 4: using HttpUtils_NonblockingGet: GET sensors/9
2022.06.29 18:47:06.056 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/26
2022.06.29 18:47:06.056 5: HUEBridge_dispatch: sensors/26
2022.06.29 18:47:06.064 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/9
2022.06.29 18:47:06.065 5: HUEBridge_dispatch: sensors/9
2022.06.29 18:47:06.193 4: using HttpUtils_NonblockingGet: GET sensors/8
2022.06.29 18:47:06.200 4: using HttpUtils_NonblockingGet: GET sensors/25
2022.06.29 18:47:06.205 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/8
2022.06.29 18:47:06.206 5: HUEBridge_dispatch: sensors/8
2022.06.29 18:47:06.220 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/25
2022.06.29 18:47:06.220 5: HUEBridge_dispatch: sensors/25
2022.06.29 18:47:06.422 4: DG_HUE_1: dispatch: https://192.168.4.68/eventstream/clip/v2
2022.06.29 18:47:06.422 5: HUEBridge_dispatch: event
2022.06.29 18:47:06.423 5: DG_HUE_1: EventStream: got id: 1656521226:0
2022.06.29 18:47:06.423 5: DG_HUE_1: EventStream: got data: [{"creationtime":"2022-06-29T16:47:06Z","data":[{"id":"011b97bf-ac2e-4dee-9084-07ec5ba3f244","id_v1":"/sensors/32","motion":{"motion":false,"motion_valid":true},"owner":{"rid":"ee4587c8-6323-4b35-9493-20339c50aa50","rtype":"device"},"type":"motion"}],"id":"76859a93-512d-4374-9664-c4b163d0b421","type":"update"}]
2022.06.29 18:47:06.425 5: DG_HUE_1: EventStream: received: $VAR1 = [
          {
            'type' => 'update',
            'creationtime' => '2022-06-29T16:47:06Z',
            'id' => '76859a93-512d-4374-9664-c4b163d0b421',
            'data' => [
                        {
                          'owner' => {
                                       'rtype' => 'device',
                                       'rid' => 'ee4587c8-6323-4b35-9493-20339c50aa50'
                                     },
                          'id' => '011b97bf-ac2e-4dee-9084-07ec5ba3f244',
                          'motion' => {
                                        'motion_valid' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
                                        'motion' => bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' )
                                      },
                          'id_v1' => '/sensors/32',
                          'type' => 'motion'
                        }
                      ]
          }
        ];

2022.06.29 18:47:06.425 4: DG_HUE_1: EventStream: got update event
2022.06.29 18:47:06.426 4: DG_HUE_1:              event part for resource type motion
2022.06.29 18:47:06.427 5: DG_HUE_1: created from event: $VAR1 = {
          'state' => {
                       'lastupdated' => '2022-06-29T16:47:06',
                       'presence' => bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' )
                     },
          'v2_id' => 'ee4587c8-6323-4b35-9493-20339c50aa50',
          'source' => 'event',
          'v2_service' => '011b97bf-ac2e-4dee-9084-07ec5ba3f244'
        };

2022.06.29 18:47:06.427 4: parse status message for DG_FLUR_MD
2022.06.29 18:47:06.428 5: DG_FLUR_MD: using offsetUTC 7200 from bridge
2022.06.29 18:47:06.568 4: using HttpUtils_NonblockingGet: GET sensors/26
2022.06.29 18:47:06.570 4: using HttpUtils_NonblockingGet: GET sensors/9
2022.06.29 18:47:07.105 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/9
2022.06.29 18:47:07.106 5: HUEBridge_dispatch: sensors/9
2022.06.29 18:47:07.107 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/26
2022.06.29 18:47:07.107 5: HUEBridge_dispatch: sensors/26
2022.06.29 18:47:07.194 4: using HttpUtils_NonblockingGet: GET sensors/8
2022.06.29 18:47:07.201 4: using HttpUtils_NonblockingGet: GET sensors/25
2022.06.29 18:47:07.207 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/8
2022.06.29 18:47:07.207 5: HUEBridge_dispatch: sensors/8
2022.06.29 18:47:07.247 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5/sensors/25
2022.06.29 18:47:07.247 5: HUEBridge_dispatch: sensors/25
« Letzte Änderung: 02 Juli 2022, 20:31:49 von MichaelT »
Großes Mischmasch aus HM, Philips, WLAN und Eigenprojekte.
ABER alles mit FHEM.

Offline MichaelT

  • Full Member
  • ***
  • Beiträge: 282
Antw:HUE push api - nach gewisser Zeit keine Events mehr
« Antwort #1 am: 02 Juli 2022, 09:38:49 »
Morgen,

bin noch nicht weiter. Gestern wieder Abbruch der Events:

Um 14:17:53.900 sieht es so aus, als wenn ein leerer Event von der HUE kommt und danach ist Ende, kein Event mehr.
Werde nun ein Neustart der Bridge testen, bisher nur restart fhem gemacht.

2022.07.01 14:17:20.692 4: DG_HUE_1: dispatch: https://192.168.4.68/eventstream/clip/v2
2022.07.01 14:17:20.692 5: HUEBridge_dispatch: event
2022.07.01 14:17:20.692 5: DG_HUE_1: EventStream: got id: 1656677840:0
2022.07.01 14:17:20.692 5: DG_HUE_1: EventStream: got data: [{"creationtime":"2022-07-01T12:17:20Z","data":[{"id":"5fcf7f11-f173-47c2-ba59-f62f898f9dfd","id_v1":"/sensors/36","motion":{"motion":true,"motion_valid":true},"owner":{"rid":"ebe2058a-ee9a-4836-a3d8-479290917013","rtype":"device"},"type":"motion"}],"id":"e20abf99-2f6c-46a3-9b13-3205ee61ff23","type":"update"}]
2022.07.01 14:17:20.693 5: DG_HUE_1: EventStream: received: $VAR1 = [
          {
            'type' => 'update',
            'data' => [
                        {
                          'id_v1' => '/sensors/36',
                          'motion' => {
                                        'motion_valid' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
                                        'motion' => $VAR1->[0]{'data'}[0]{'motion'}{'motion_valid'}
                                      },
                          'type' => 'motion',
                          'owner' => {
                                       'rid' => 'ebe2058a-ee9a-4836-a3d8-479290917013',
                                       'rtype' => 'device'
                                     },
                          'id' => '5fcf7f11-f173-47c2-ba59-f62f898f9dfd'
                        }
                      ],
            'id' => 'e20abf99-2f6c-46a3-9b13-3205ee61ff23',
            'creationtime' => '2022-07-01T12:17:20Z'
          }
        ];

2022.07.01 14:17:20.693 4: DG_HUE_1: EventStream: got update event
2022.07.01 14:17:20.693 4: DG_HUE_1:              event part for resource type motion
2022.07.01 14:17:20.693 5: DG_HUE_1: created from event: $VAR1 = {
          'v2_service' => '5fcf7f11-f173-47c2-ba59-f62f898f9dfd',
          'state' => {
                       'lastupdated' => '2022-07-01T12:17:20',
                       'presence' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' )
                     },
          'source' => 'event',
          'v2_id' => 'ebe2058a-ee9a-4836-a3d8-479290917013'
        };

2022.07.01 14:17:35.818 4: using HttpUtils_NonblockingGet: GET
2022.07.01 14:17:35.982 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5
2022.07.01 14:17:35.982 5: HUEBridge_dispatch
2022.07.01 14:17:35.989 4: DG_HUE_1: parse status message
2022.07.01 14:17:36.066 4: parse status message for DG_FLUR_MD
2022.07.01 14:17:36.066 5: DG_FLUR_MD: using offsetUTC 7200 from bridge
2022.07.01 14:17:36.067 4: DG_FLUR_MD: ignoring reading reachable with timestamp 2022-07-01 14:16:25, current reading timestamp is 2022-07-01 14:16:25
2022.07.01 14:17:36.067 4: DG_FLUR_MD: ignoring reading state with timestamp 2022-07-01 14:16:25, current reading timestamp is 2022-07-01 14:16:25
2022.07.01 14:17:36.067 4: DG_FLUR_MD: ignoring reading battery with timestamp 2022-07-01 14:16:25, current reading timestamp is 2022-07-01 14:16:25
2022.07.01 14:17:36.067 4: DG_FLUR_MD: ignoring reading batteryPercent with timestamp 2022-07-01 14:16:25, current reading timestamp is 2022-07-01 14:16:25
2022.07.01 14:17:53.900 4: DG_HUE_1: dispatch: https://192.168.4.68/eventstream/clip/v2
2022.07.01 14:17:53.900 5: HUEBridge_dispatch: event
2022.07.01 14:18:35.820 4: using HttpUtils_NonblockingGet: GET
2022.07.01 14:18:35.919 4: DG_HUE_1: dispatch: http://192.168.4.68/api/-zDwnp5BEq7ZoR-NLhJDiB0DgdB1ulM7cvdrJLV5
2022.07.01 14:18:35.919 5: HUEBridge_dispatch
Großes Mischmasch aus HM, Philips, WLAN und Eigenprojekte.
ABER alles mit FHEM.

Offline MichaelT

  • Full Member
  • ***
  • Beiträge: 282
Antw:HUE push api - nach gewisser Zeit keine Events mehr
« Antwort #2 am: 02 Juli 2022, 20:31:39 »
Hallo,

ich habe nun createEventTimestampReading aktiviert. Dann kann ich ggf. nach 2-3 Minuten ein eigenen Timeout mit einem reconnect bauen.
Weiterhin habe ich in Zeile 2256 den Log3 scharf gemacht.
Mal sehen was passiert.

@justme1968: Ggf. kannst du mir einen Tipp geben, ob das quatsch ist was ich mache ;-)

EDIT: Zeile geändert

Gruß Michael
« Letzte Änderung: 03 Juli 2022, 18:37:27 von MichaelT »
Großes Mischmasch aus HM, Philips, WLAN und Eigenprojekte.
ABER alles mit FHEM.

Offline MichaelT

  • Full Member
  • ***
  • Beiträge: 282
Antw:HUE push api - nach gewisser Zeit keine Events mehr
« Antwort #3 am: 13 Juli 2022, 18:24:17 »
Nur zur Info, Problem ist seit dem letzten Post nicht mehr aufgetreten

Gruß Michael
Großes Mischmasch aus HM, Philips, WLAN und Eigenprojekte.
ABER alles mit FHEM.

 

decade-submarginal