CCU Addon zum Steuern von Philips Hue Lichtern

HomeMatic-Addon zum Steuern von Philips Hue

Moderator: Co-Administratoren

eiko
Beiträge: 36
Registriert: 06.06.2018, 22:26
System: CCU
Hat sich bedankt: 3 Mal
Danksagung erhalten: 4 Mal

Re: CCU Addon zum Steuern von Philps Hue Lichtern

Beitrag von eiko » 05.08.2019, 21:48

Jetzt tritt das Problem bei mir auch auf, habe ebenfalls 21 Lampen. Nicht, dass es am Ende genau daran liegt :D Version ist ebenfalls die neueste.

Logging stand bisher nur auf "WARNING", damit gab es folgende Einträge:

Code: Alles auswählen

[2] [2019-08-05 19:34:17] [951] HTTP request failed (trynum 1): couldn't open socket: connection timed out - POSIX ETIMEDOUT {connection timed out}
[2] [2019-08-05 19:48:06] [951] HTTP request failed (trynum 1): couldn't open socket: connection timed out - POSIX ETIMEDOUT {connection timed out}
[2] [2019-08-05 20:10:12] [951] HTTP request failed (trynum 1): couldn't open socket: connection timed out - POSIX ETIMEDOUT {connection timed out}
[2] [2019-08-05 20:22:55] [951] HTTP request failed (trynum 1): couldn't open socket: connection timed out - POSIX ETIMEDOUT {connection timed out}
[2] [2019-08-05 20:35:28] [951] HTTP request failed (trynum 1): couldn't open socket: connection timed out - POSIX ETIMEDOUT {connection timed out}
[2] [2019-08-05 20:47:24] [951] HTTP request failed (trynum 1): couldn't open socket: connection timed out - POSIX ETIMEDOUT {connection timed out}
[2] [2019-08-05 20:59:57] [951] HTTP request failed (trynum 1): couldn't open socket: connection timed out - POSIX ETIMEDOUT {connection timed out}
[2] [2019-08-05 21:12:30] [951] HTTP request failed (trynum 1): couldn't open socket: connection timed out - POSIX ETIMEDOUT {connection timed out}
[2] [2019-08-05 21:24:57] [951] HTTP request failed (trynum 1): couldn't open socket: connection timed out - POSIX ETIMEDOUT {connection timed out}
[2] [2019-08-05 21:36:59] [951] HTTP request failed (trynum 1): couldn't open socket: connection timed out - POSIX ETIMEDOUT {connection timed out}
Während die Schalter, die am Addon hängen nicht funktionieren, ist ein schalten per Hue App oder Google Assistant problemlos und mit sofortiger Wirkung möglich.

Das Poll Intervall habe ich auf 1 Sekunde gestellt, damit es möglichst keine Verzögerungen beim Schalten per App gibt, eventuell ist das auch zu häufig und die Hue Bridge ist irgendwann genervt? Nur eine zufällige Vermutung...

Ich werde das Logging jetzt auf "INFO" stehen lassen und dann berichten, falls es neue Einträge gibt.
Hardware CCU3 mit EnOcean USB 300 Stick und Quad Antenne vonn stall.biz, 26 HM Geräte, 58 HmIP Geräte. Software CCU3: RaspberryMatic + CUxD. iPhone: HM pocketControl. Sonstiges 38 CUxD Geräte, 34 Programme. Integration mit der restlichen Haustechnik über Home Assistant.

j-a-n
Beiträge: 332
Registriert: 02.02.2017, 23:24
Hat sich bedankt: 1 Mal
Danksagung erhalten: 38 Mal

Re: CCU Addon zum Steuern von Philps Hue Lichtern

Beitrag von j-a-n » 05.08.2019, 22:03

Ich würde den Poll-Intervall mal höher setzen. Bei mir steht er auf 5 Sekunden.

eiko
Beiträge: 36
Registriert: 06.06.2018, 22:26
System: CCU
Hat sich bedankt: 3 Mal
Danksagung erhalten: 4 Mal

Re: CCU Addon zum Steuern von Philps Hue Lichtern

Beitrag von eiko » 05.08.2019, 22:10

Habe das Poll Intervall nach meinem Post schon auf 2 Sekunden verdoppelt. Ergebnis: Direkt eine Viertelstunde später wieder ein Ausfall. Aus dem DEBUG Log (ich habe auf einige Schalter vergeblich gedrückt, daher die vielen Einträge):

Code: Alles auswählen

...
[4] [2019-08-05 22:03:28] [951] Update of 001788fffe61a162 light 22 not required, state is unchanged
[4] [2019-08-05 22:03:28] [951] Update of 001788fffe61a162 light 23 not required, state is unchanged
[4] [2019-08-05 22:03:28] [951] Calculated group reachable: 1, brightness: 254
[4] [2019-08-05 22:03:28] [951] Update of 001788fffe61a162 group 1 not required, state is unchanged
[4] [2019-08-05 22:03:28] [951] Update of 001788fffe61a162 light 24 not required, state is unchanged
[4] [2019-08-05 22:03:28] [951] Update of 001788fffe61a162 light 6 not required, state is unchanged
[4] [2019-08-05 22:03:28] [951] Update of 001788fffe61a162 light 25 not required, state is unchanged
[4] [2019-08-05 22:03:28] [951] Update of 001788fffe61a162 light 7 not required, state is unchanged
[4] [2019-08-05 22:03:28] [951] Update of 001788fffe61a162 light 26 not required, state is unchanged
[4] [2019-08-05 22:03:28] [951] Update of 001788fffe61a162 light 8 not required, state is unchanged
[4] [2019-08-05 22:03:28] [951] Update of 001788fffe61a162 light 27 not required, state is unchanged
[4] [2019-08-05 22:03:28] [951] Update of 001788fffe61a162 light 9 not required, state is unchanged
[4] [2019-08-05 22:03:28] [951] Update of 001788fffe61a162 light 10 not required, state is unchanged
[4] [2019-08-05 22:03:34] [4577] Sending command to hued: api_request command 001788fffe61a162 light 13 PUT lights/13/state {"on":true}
[4] [2019-08-05 22:03:44] [4588] Sending command to hued: api_request command 001788fffe61a162 light 8 PUT lights/8/state {"on":true}
[4] [2019-08-05 22:03:45] [4590] Sending command to hued: api_request command 001788fffe61a162 light 10 PUT lights/10/state {"on":true}
[4] [2019-08-05 22:04:12] [4638] Sending command to hued: api_request command 001788fffe61a162 light 8 PUT lights/8/state {"on":true}
[4] [2019-08-05 22:04:48] [4696] Sending command to hued: api_request command 001788fffe61a162 light 10 PUT lights/10/state {"on":true}
[4] [2019-08-05 22:04:50] [4698] Sending command to hued: api_request command 001788fffe61a162 light 8 PUT lights/8/state {"on":true}
[4] [2019-08-05 22:04:51] [4700] Sending command to hued: api_request command 001788fffe61a162 light 10 PUT lights/10/state {"on":true}
[4] [2019-08-05 22:04:57] [4706] Sending command to hued: api_request command 001788fffe61a162 light 16 PUT lights/16/state {"on":false}
[2] [2019-08-05 22:05:39] [951] HTTP request failed (trynum 1): couldn't open socket: connection timed out - POSIX ETIMEDOUT {connection timed out}
[4] [2019-08-05 22:05:39] [951] Calculated group reachable: 1, brightness: 254
[4] [2019-08-05 22:05:39] [951] Update of 001788fffe61a162 group 5 not required, state is unchanged
[4] [2019-08-05 22:05:40] [951] Update of 001788fffe61a162 light 11 not required, state is unchanged
[4] [2019-08-05 22:05:40] [951] Calculated group reachable: 1, brightness: 254
[4] [2019-08-05 22:05:40] [951] Update of 001788fffe61a162 group 6 not required, state is unchanged
[4] [2019-08-05 22:05:40] [951] Update of 001788fffe61a162 light 13 not required, state is unchanged
[4] [2019-08-05 22:05:40] [951] Update of 001788fffe61a162 light 14 not required, state is unchanged
[4] [2019-08-05 22:05:40] [951] Update of 001788fffe61a162 light 15 not required, state is unchanged
[4] [2019-08-05 22:05:40] [951] Update of 001788fffe61a162 light 16 not required, state is unchanged
[4] [2019-08-05 22:05:40] [951] Update of 001788fffe61a162 light 17 not required, state is unchanged
[4] [2019-08-05 22:05:40] [951] Update of 001788fffe61a162 light 18 not required, state is unchanged
[4] [2019-08-05 22:05:40] [951] Get device map and schedule update for all devices
[4] [2019-08-05 22:05:40] [951] Reading global config
[4] [2019-08-05 22:05:40] [951] get_cuxd_device_map: device=CUX2801506:1 mapped=001788fffe61a162_light_6
[4] [2019-08-05 22:05:40] [951] get_cuxd_device_map: device=CUX2801507:1 mapped=001788fffe61a162_light_7
[4] [2019-08-05 22:05:40] [951] get_cuxd_device_map: device=CUX2801508:1 mapped=001788fffe61a162_light_8
[4] [2019-08-05 22:05:40] [951] get_cuxd_device_map: device=CUX2801509:1 mapped=001788fffe61a162_light_9
[4] [2019-08-05 22:05:40] [951] get_cuxd_device_map: device=CUX2801510:1 mapped=001788fffe61a162_light_10
[4] [2019-08-05 22:05:40] [951] get_cuxd_device_map: device=CUX2801511:1 mapped=001788fffe61a162_light_11
[4] [2019-08-05 22:05:40] [951] get_cuxd_device_map: device=CUX2801513:1 mapped=001788fffe61a162_light_13
[4] [2019-08-05 22:05:40] [951] get_cuxd_device_map: device=CUX2801514:1 mapped=001788fffe61a162_light_14
[4] [2019-08-05 22:05:40] [951] get_cuxd_device_map: device=CUX2801515:1 mapped=001788fffe61a162_light_15
[4] [2019-08-05 22:05:40] [951] get_cuxd_device_map: device=CUX2801516:1 mapped=001788fffe61a162_light_16
[4] [2019-08-05 22:05:40] [951] get_cuxd_device_map: device=CUX2801517:1 mapped=001788fffe61a162_light_17
[4] [2019-08-05 22:05:40] [951] get_cuxd_device_map: device=CUX2801518:1 mapped=001788fffe61a162_light_18
[4] [2019-08-05 22:05:40] [951] get_cuxd_device_map: device=CUX2801519:1 mapped=001788fffe61a162_light_19
[4] [2019-08-05 22:05:40] [951] get_cuxd_device_map: device=CUX2801520:1 mapped=001788fffe61a162_light_20
[4] [2019-08-05 22:05:40] [951] get_cuxd_device_map: device=CUX2801521:1 mapped=001788fffe61a162_light_21
[4] [2019-08-05 22:05:40] [951] get_cuxd_device_map: device=CUX2801522:1 mapped=001788fffe61a162_light_22
[4] [2019-08-05 22:05:40] [951] get_cuxd_device_map: device=CUX2801523:1 mapped=001788fffe61a162_light_23
[4] [2019-08-05 22:05:40] [951] get_cuxd_device_map: device=CUX2801524:1 mapped=001788fffe61a162_light_24
[4] [2019-08-05 22:05:40] [951] get_cuxd_device_map: device=CUX2801525:1 mapped=001788fffe61a162_light_25
[4] [2019-08-05 22:05:40] [951] get_cuxd_device_map: device=CUX2801526:1 mapped=001788fffe61a162_light_26
[4] [2019-08-05 22:05:40] [951] get_cuxd_device_map: device=CUX2801527:1 mapped=001788fffe61a162_light_27
[4] [2019-08-05 22:05:40] [951] get_cuxd_device_map: device=CUX4000501:1 mapped=001788fffe61a162_group_1
[4] [2019-08-05 22:05:40] [951] get_cuxd_device_map: device=CUX4000501:2 mapped=001788fffe61a162_group_5
[4] [2019-08-05 22:05:40] [951] Device map entry: CUX2801523:1 = 001788fffe61a162 light 23
[4] [2019-08-05 22:05:40] [951] Device map entry: CUX2801524:1 = 001788fffe61a162 light 24
[4] [2019-08-05 22:05:40] [951] Device map entry: CUX2801506:1 = 001788fffe61a162 light 6
[4] [2019-08-05 22:05:40] [951] Device map entry: CUX2801525:1 = 001788fffe61a162 light 25
[4] [2019-08-05 22:05:40] [951] Device map entry: CUX2801507:1 = 001788fffe61a162 light 7
[4] [2019-08-05 22:05:40] [951] Device map entry: CUX2801526:1 = 001788fffe61a162 light 26
[4] [2019-08-05 22:05:40] [951] Device map entry: CUX2801508:1 = 001788fffe61a162 light 8
[4] [2019-08-05 22:05:40] [951] Device map entry: CUX2801527:1 = 001788fffe61a162 light 27
[4] [2019-08-05 22:05:40] [951] Device map entry: CUX2801509:1 = 001788fffe61a162 light 9
[4] [2019-08-05 22:05:40] [951] Device map entry: CUX2801510:1 = 001788fffe61a162 light 10
[4] [2019-08-05 22:05:40] [951] Device map entry: CUX2801511:1 = 001788fffe61a162 light 11
[4] [2019-08-05 22:05:40] [951] Device map entry: CUX2801513:1 = 001788fffe61a162 light 13
[4] [2019-08-05 22:05:40] [951] Device map entry: CUX2801514:1 = 001788fffe61a162 light 14
[4] [2019-08-05 22:05:40] [951] Device map entry: CUX2801515:1 = 001788fffe61a162 light 15
[4] [2019-08-05 22:05:40] [951] Device map entry: CUX2801516:1 = 001788fffe61a162 light 16
[4] [2019-08-05 22:05:40] [951] Device map entry: CUX2801517:1 = 001788fffe61a162 light 17
[4] [2019-08-05 22:05:40] [951] Device map entry: CUX2801501:1 = 001788fffe61a162 group 6
[4] [2019-08-05 22:05:40] [951] Device map entry: CUX2801518:1 = 001788fffe61a162 light 18
[4] [2019-08-05 22:05:40] [951] Device map entry: CUX4000501:1 = 001788fffe61a162 group 1
[4] [2019-08-05 22:05:40] [951] Device map entry: CUX2801519:1 = 001788fffe61a162 light 19
[4] [2019-08-05 22:05:40] [951] Device map entry: CUX2801520:1 = 001788fffe61a162 light 20
[4] [2019-08-05 22:05:40] [951] Device map entry: CUX4000501:2 = 001788fffe61a162 group 5
[4] [2019-08-05 22:05:40] [951] Device map entry: CUX2801521:1 = 001788fffe61a162 light 21
[4] [2019-08-05 22:05:40] [951] Device map entry: CUX2801522:1 = 001788fffe61a162 light 22
[4] [2019-08-05 22:05:40] [951] Accepted connection from 127.0.0.1:57388
[4] [2019-08-05 22:05:40] [951] Received command: api_request command 001788fffe61a162 light 13 PUT lights/13/state {"on":true}
[4] [2019-08-05 22:05:40] [951] Sending response: Update of 001788fffe61a162 light 13 scheduled for 1565035541
[4] [2019-08-05 22:05:40] [4577] Command response from hued: Update of 001788fffe61a162 light 13 scheduled for 1565035541
[4] [2019-08-05 22:05:40] [951] Accepted connection from 127.0.0.1:57422
[4] [2019-08-05 22:05:40] [951] Received command: api_request command 001788fffe61a162 light 8 PUT lights/8/state {"on":true}
[4] [2019-08-05 22:05:40] [951] Sending response: Update of 001788fffe61a162 light 8 scheduled for 1565035541
[4] [2019-08-05 22:05:40] [4588] Command response from hued: Update of 001788fffe61a162 light 8 scheduled for 1565035541
[4] [2019-08-05 22:05:40] [951] Accepted connection from 127.0.0.1:57438
[4] [2019-08-05 22:05:40] [951] Received command: api_request command 001788fffe61a162 light 10 PUT lights/10/state {"on":true}
[4] [2019-08-05 22:05:40] [951] Sending response: Update of 001788fffe61a162 light 10 scheduled for 1565035541
[4] [2019-08-05 22:05:40] [4590] Command response from hued: Update of 001788fffe61a162 light 10 scheduled for 1565035541
[4] [2019-08-05 22:05:40] [951] Accepted connection from 127.0.0.1:57636
[4] [2019-08-05 22:05:40] [951] Received command: api_request command 001788fffe61a162 light 8 PUT lights/8/state {"on":true}
[4] [2019-08-05 22:05:40] [951] Sending response: Update of 001788fffe61a162 light 8 scheduled for 1565035541
[4] [2019-08-05 22:05:40] [4638] Command response from hued: Update of 001788fffe61a162 light 8 scheduled for 1565035541
[4] [2019-08-05 22:05:40] [951] Accepted connection from 127.0.0.1:57832
[4] [2019-08-05 22:05:40] [951] Received command: api_request command 001788fffe61a162 light 10 PUT lights/10/state {"on":true}
[4] [2019-08-05 22:05:40] [951] Sending response: Update of 001788fffe61a162 light 10 scheduled for 1565035541
[4] [2019-08-05 22:05:40] [4696] Command response from hued: Update of 001788fffe61a162 light 10 scheduled for 1565035541
[4] [2019-08-05 22:05:40] [951] Accepted connection from 127.0.0.1:57850
[4] [2019-08-05 22:05:40] [951] Received command: api_request command 001788fffe61a162 light 8 PUT lights/8/state {"on":true}
[4] [2019-08-05 22:05:40] [951] Sending response: Update of 001788fffe61a162 light 8 scheduled for 1565035541
[4] [2019-08-05 22:05:40] [4698] Command response from hued: Update of 001788fffe61a162 light 8 scheduled for 1565035541
[4] [2019-08-05 22:05:40] [951] Accepted connection from 127.0.0.1:57868
[4] [2019-08-05 22:05:40] [951] Received command: api_request command 001788fffe61a162 light 10 PUT lights/10/state {"on":true}
[4] [2019-08-05 22:05:40] [951] Sending response: Update of 001788fffe61a162 light 10 scheduled for 1565035541
[4] [2019-08-05 22:05:40] [4700] Command response from hued: Update of 001788fffe61a162 light 10 scheduled for 1565035541
[4] [2019-08-05 22:05:40] [951] Accepted connection from 127.0.0.1:57892
[4] [2019-08-05 22:05:40] [951] Received command: api_request command 001788fffe61a162 light 16 PUT lights/16/state {"on":false}
[4] [2019-08-05 22:05:40] [951] Sending response: Update of 001788fffe61a162 light 16 scheduled for 1565035541
[4] [2019-08-05 22:05:40] [4706] Command response from hued: Update of 001788fffe61a162 light 16 scheduled for 1565035541
...
Es ist ganz gut zu sehen, dass die Schaltvorgänge dann verzögert durchgeführt werden, nachdem die Verbindung offenbar wieder da ist. Das ist nach ~2-3 Min der Fall.

Werde es nun mit 5s Poll Intervall versuchen.

Duty Cycle ist übrigens bei <10%, das sollte es nicht sein.
Hardware CCU3 mit EnOcean USB 300 Stick und Quad Antenne vonn stall.biz, 26 HM Geräte, 58 HmIP Geräte. Software CCU3: RaspberryMatic + CUxD. iPhone: HM pocketControl. Sonstiges 38 CUxD Geräte, 34 Programme. Integration mit der restlichen Haustechnik über Home Assistant.

tornenen
Beiträge: 50
Registriert: 26.06.2019, 11:41
Hat sich bedankt: 3 Mal

Re: CCU Addon zum Steuern von Philps Hue Lichtern

Beitrag von tornenen » 06.08.2019, 09:53

Ich habe meinen Poll Intervall seit der neu Einrichtung auf 5 Sekunden belassen.
Problem tritt trotzdem weiterhin auf.

Hier nochmal ein kompletter LOG Auszug:

Code: Alles auswählen

[4] [2019-08-06 09:43:29] [28601] Sending command to hued: api_request command 00178xxxxxxxxxx group 3 PUT groups/3/action {"on":true,"bri":254,"transitiontime":10}
[2] [2019-08-06 09:44:06] [15462] HTTP request failed (trynum 1): couldn't open socket: connection timed out - POSIX ETIMEDOUT {connection timed out}
[4] [2019-08-06 09:44:06] [15462] Calculated group reachable: 1, brightness: 1
[4] [2019-08-06 09:44:06] [15462] Update of 00178xxxxxxxxxx group 5 not required, state is unchanged
[4] [2019-08-06 09:44:06] [15462] Calculated group reachable: 1, brightness: 1
[4] [2019-08-06 09:44:06] [15462] Update of 00178xxxxxxxxxx group 1 not required, state is unchanged
[4] [2019-08-06 09:44:06] [15462] Update of 00178xxxxxxxxxx light 6 not required, state is unchanged
[4] [2019-08-06 09:44:06] [15462] Update of 00178xxxxxxxxxx light 6 not required, state is unchanged
[4] [2019-08-06 09:44:06] [15462] Calculated group reachable: 1, brightness: 1
[4] [2019-08-06 09:44:06] [15462] Update of 00178xxxxxxxxxx group 6 not required, state is unchanged
[4] [2019-08-06 09:44:07] [15462] Calculated group reachable: 1, brightness: 1
[4] [2019-08-06 09:44:07] [15462] Update of 00178xxxxxxxxxx group 2 not required, state is unchanged
[4] [2019-08-06 09:44:07] [15462] Update of 00178xxxxxxxxxx light 7 not required, state is unchanged
[4] [2019-08-06 09:44:07] [15462] Update of 00178xxxxxxxxxx light 7 not required, state is unchanged
[4] [2019-08-06 09:44:07] [15462] Calculated group reachable: 1, brightness: 1
[4] [2019-08-06 09:44:07] [15462] Update of 00178xxxxxxxxxx group 7 not required, state is unchanged
[4] [2019-08-06 09:44:07] [15462] Calculated group reachable: 1, brightness: 127
[4] [2019-08-06 09:44:07] [15462] Update of 00178xxxxxxxxxx group 3 not required, state is unchanged
[4] [2019-08-06 09:44:07] [15462] Calculated group reachable: 1, brightness: 1
[4] [2019-08-06 09:44:07] [15462] Update of 00178xxxxxxxxxx group 4 not required, state is unchanged
[4] [2019-08-06 09:44:07] [15462] Calculated group reachable: 1, brightness: 1
[4] [2019-08-06 09:44:07] [15462] Update of 00178xxxxxxxxxx group 4 not required, state is unchanged
[4] [2019-08-06 09:44:07] [15462] Calculated group reachable: 1, brightness: 13
[4] [2019-08-06 09:44:07] [15462] Update of 00178xxxxxxxxxx group 8 not required, state is unchanged
[4] [2019-08-06 09:44:07] [15462] Get device map and schedule update for all devices
[4] [2019-08-06 09:44:07] [15462] Reading global config
[4] [2019-08-06 09:44:07] [15462] get_cuxd_device_map: device=CUX4000001:1 mapped=00178xxxxxxxxxx_group_2
[4] [2019-08-06 09:44:07] [15462] get_cuxd_device_map: device=CUX4000002:1 mapped=00178xxxxxxxxxx_group_3
[4] [2019-08-06 09:44:07] [15462] get_cuxd_device_map: device=CUX4000003:1 mapped=00178xxxxxxxxxx_group_7
[4] [2019-08-06 09:44:07] [15462] get_cuxd_device_map: device=CUX4000004:1 mapped=00178xxxxxxxxxx_group_4
[4] [2019-08-06 09:44:07] [15462] get_cuxd_device_map: device=CUX4000004:2 mapped=00178xxxxxxxxxx_group_4
[4] [2019-08-06 09:44:07] [15462] get_cuxd_device_map: device=CUX4000005:1 mapped=00178xxxxxxxxxx_group_1
[4] [2019-08-06 09:44:07] [15462] get_cuxd_device_map: device=CUX4000006:1 mapped=00178xxxxxxxxxx_group_6
[4] [2019-08-06 09:44:07] [15462] get_cuxd_device_map: device=CUX4000007:1 mapped=00178xxxxxxxxxx_group_5
[4] [2019-08-06 09:44:07] [15462] get_cuxd_device_map: device=CUX4000008:1 mapped=00178xxxxxxxxxx_light_7
[4] [2019-08-06 09:44:07] [15462] get_cuxd_device_map: device=CUX4000008:2 mapped=00178xxxxxxxxxx_light_7
[4] [2019-08-06 09:44:07] [15462] get_cuxd_device_map: device=CUX4000009:1 mapped=00178xxxxxxxxxx_light_6
[4] [2019-08-06 09:44:07] [15462] get_cuxd_device_map: device=CUX4000009:2 mapped=00178xxxxxxxxxx_light_6
[4] [2019-08-06 09:44:07] [15462] get_cuxd_device_map: device=CUX4000010:1 mapped=00178xxxxxxxxxx_group_8
[4] [2019-08-06 09:44:07] [15462] Device map entry: CUX4000010:1 = 00178xxxxxxxxxx group 8
[4] [2019-08-06 09:44:07] [15462] Device map entry: CUX4000008:2 = 00178xxxxxxxxxx light 7
[4] [2019-08-06 09:44:07] [15462] Device map entry: CUX4000009:1 = 00178xxxxxxxxxx light 6
[4] [2019-08-06 09:44:07] [15462] Device map entry: CUX4000009:2 = 00178xxxxxxxxxx light 6
[4] [2019-08-06 09:44:07] [15462] Device map entry: CUX4000001:1 = 00178xxxxxxxxxx group 2
[4] [2019-08-06 09:44:07] [15462] Device map entry: CUX4000002:1 = 00178xxxxxxxxxx group 3
[4] [2019-08-06 09:44:07] [15462] Device map entry: CUX4000003:1 = 00178xxxxxxxxxx group 7
[4] [2019-08-06 09:44:07] [15462] Device map entry: CUX4000004:1 = 00178xxxxxxxxxx group 4
[4] [2019-08-06 09:44:07] [15462] Device map entry: CUX4000004:2 = 00178xxxxxxxxxx group 4
[4] [2019-08-06 09:44:07] [15462] Device map entry: CUX4000005:1 = 00178xxxxxxxxxx group 1
[4] [2019-08-06 09:44:07] [15462] Device map entry: CUX4000006:1 = 00178xxxxxxxxxx group 6
[4] [2019-08-06 09:44:07] [15462] Device map entry: CUX4000007:1 = 00178xxxxxxxxxx group 5
[4] [2019-08-06 09:44:07] [15462] Device map entry: CUX4000008:1 = 00178xxxxxxxxxx light 7
[4] [2019-08-06 09:44:07] [15462] Accepted connection from 127.0.0.1:49930
[4] [2019-08-06 09:44:07] [15462] Received command: api_request command 00178xxxxxxxxxx group 3 PUT groups/3/action {"on":true,"bri":254,"transitiontime":10}
[0] [2019-08-06 09:44:07] [15462] api request: 172.16.16.31 - PUT - /api/xHE7GSJunbPYeALlkx2OetAbZw0M9E04O22BkN3V/groups/3/action - {"on":true,"bri":254,"transitiontime":10}
[0] [2019-08-06 09:44:07] [15462] api response: [{"success":{"/groups/3/action/transitiontime":10}},{"success":{"/groups/3/action/on":true}},{"success":{"/groups/3/action/bri":254}}]
Ich habe: CCU zurückgesetzt, HUE zurückgesetzt, Hue Netzwerkkabel getauscht, Sophos Firewall komplett deaktiviert
Ich werde: Heute kommt ein neuer Switch an, diesen werde ich auch nochmal austauschen

Aktuell hängen HUE und CCU3 an dem gleichen Switch. Allerdings auch mein PC, womit ich aktuell keinerlei Probleme habe.



Evtl. noch relevant:

Ich habe HUE, Osram und innr Birnen verbaut und mit der CCU verheiratet.
Allerdings lassen sich zu der Zeit keinerlei Lampen steuern. Weder Hue, Osram noch innr.

tornenen
Beiträge: 50
Registriert: 26.06.2019, 11:41
Hat sich bedankt: 3 Mal

Re: CCU Addon zum Steuern von Philps Hue Lichtern

Beitrag von tornenen » 06.08.2019, 23:46

Auch mit dem neuen Switch tritt das Problem auf. Netzwerkprobleme kann ich also definitiv ausschließen.

Kann es evtl. Doch irgendwo am Addon liegen? Evtl. Nur in bestimmten Konstellationen?

j-a-n
Beiträge: 332
Registriert: 02.02.2017, 23:24
Hat sich bedankt: 1 Mal
Danksagung erhalten: 38 Mal

Re: CCU Addon zum Steuern von Philps Hue Lichtern

Beitrag von j-a-n » 07.08.2019, 20:22

Da ich das Problem nicht reproduzieren kann, ist die Lösung schwierig.
In Version 2.1.5 habe ich nun einen deutlich niedrigeren Timeout beim Verbindungsaufbau zur Bridge implementiert.
Das hat zur folge, dass der Retry bei Problemen schneller erfolgt.
Schau mal ob es was hilft.

tornenen
Beiträge: 50
Registriert: 26.06.2019, 11:41
Hat sich bedankt: 3 Mal

Re: CCU Addon zum Steuern von Philps Hue Lichtern

Beitrag von tornenen » 07.08.2019, 23:07

Kann ich dir denn noch irgendwelche weiteren Informationen liefern, um das Problem evtl. Weiter eingrenzen zu können?

Mit 2.1.5 dauert es nicht ganz so lange bis er dann schaltet, dauert aber immer noch 20-30 Sekunden nach dem schalten. Passiert immer wenn ich längere Zeit nichts geschaltet habe.

Lupoo
Beiträge: 208
Registriert: 04.09.2017, 20:50
Hat sich bedankt: 9 Mal
Danksagung erhalten: 2 Mal

Re: CCU Addon zum Steuern von Philps Hue Lichtern

Beitrag von Lupoo » 08.08.2019, 07:02

Huhu,

ich bin mal wieder am basteln und hab natürlich wieder ein Problem.
Ich versuche es mal zu erklären.
- CCU3 + Hue + Addon von jan
- 4 lampen im flur als Group 2
- diese Group 2 haben 2 szenen auf der hue (Taglicht + Nachtlicht)
- 1x 16 Kanal UniversalsteuerungCuxD Gerätetyp: (40) erstellt: group 2 + szene IDTaglicht eingetragen
- 1x 16 Kanal UniversalsteuerungCuxD Gerätetyp: (40) erstellt: group 2 + szene IDNachtlicht eingetragen
- Beide Schalter werden mir korrekt in der CCU angezeigt

Nun meine Probleme:
1. Wenn ich jetzt Schalter Szene IDNachtlicht auf ON drücke, geht Szene Nachtlicht real an ---> aber: Schalter SzeneIDTaglicht springt ebenfalls auf ON
2. Wenn ich jetzt Schalter Szene IDNachtlicht auf OFF drücke, geht Szene Nachtlicht real aus ---> aber: Schalter SzeneIDTaglicht springt ebenfalls auf OFF
3. Wenn ich jetzt Schalter Szene IDTaglicht auf ON drücke, passiert garnix
4. Wenn ich jetzt Schalter Szene IDTaglicht auf OFF drücke, passiert ebenfalls garnix

Die Eingaben habe ich mehrmals überprüft - sie stimmen (logischerweise bis auf die SzenenID) überein. (ggf kann ich sie heute abend posten)

Meine Fragen wären:
Wie kann ich verschiedene Szenen einer Lichtgruppe in der CCU schalten/ansprechen?
Ist das überhaupt möglich?

Ich bedanke mich für Eure Unterstützung und Mühe.
Lupoo
"Das Dumme an Zitaten aus dem Internet ist, dass man nie weiß, ob sie wahr sind"
Leonardo da Vinci

eiko
Beiträge: 36
Registriert: 06.06.2018, 22:26
System: CCU
Hat sich bedankt: 3 Mal
Danksagung erhalten: 4 Mal

Re: CCU Addon zum Steuern von Philps Hue Lichtern

Beitrag von eiko » 08.08.2019, 21:38

Bei mir sieht es auch noch nicht besser aus, trotz Polling auf 5 Sekunden und neuer Version. Was mir aufgefallen ist, ist dass es im Log jetzt neue Einträge gibt:

Code: Alles auswählen

[2] [2019-08-08 21:27:53] [944] HTTP request failed (trynum 1): connection timed out after 1000 milliseconds - NONE
[3] [2019-08-08 21:27:53] [944] HTTP request succeeded on trynum 2
[3] [2019-08-08 21:27:54] [944] Update of 001788fffe61a162 group 1 successful (reachable=true on=true bri=254 ct=367 hue=367 sat=367)
[3] [2019-08-08 21:27:54] [944] Update of 001788fffe61a162 light 6 successful (reachable=true on=true bri=254 ct=367 hue=367 sat=367)
[3] [2019-08-08 21:27:54] [944] Update of 001788fffe61a162 group 5 successful (reachable=true on=true bri=254 ct=367 hue=367 sat=367)
[3] [2019-08-08 21:27:55] [944] Update of 001788fffe61a162 light 14 successful (reachable=true on=true bri=254 ct=367 hue=367 sat=367)
[3] [2019-08-08 21:27:56] [944] Update of 001788fffe61a162 group 5 successful (reachable=true on=true bri=254 ct=366 hue=366 sat=366)
[3] [2019-08-08 21:27:57] [944] Update of 001788fffe61a162 light 14 successful (reachable=true on=true bri=254 ct=366 hue=366 sat=366)
[3] [2019-08-08 21:28:19] [944] Update of 001788fffe61a162 group 1 successful (reachable=true on=true bri=254 ct=366 hue=366 sat=366)
[3] [2019-08-08 21:28:19] [944] Update of 001788fffe61a162 light 6 successful (reachable=true on=true bri=254 ct=366 hue=366 sat=366)
[2] [2019-08-08 21:34:41] [944] HTTP request failed (trynum 1): error flushing "sock2": connection timed out - POSIX ETIMEDOUT {connection timed out}
[3] [2019-08-08 21:34:41] [944] HTTP request succeeded on trynum 2
[2] [2019-08-08 21:34:41] [944] HTTP request failed (trynum 1): connection timed out after 1000 milliseconds - NONE
[3] [2019-08-08 21:34:41] [944] HTTP request succeeded on trynum 2
Ggf. kannst du die Timeout Zeit über die Web Oberfläche einstellbar machen? Dann könnten wir ein wenig experimentieren, welcher Wert für uns sinnvoll funktioniert, zumindest bis eine dauerhafte Lösung gefunden ist :-)
Hardware CCU3 mit EnOcean USB 300 Stick und Quad Antenne vonn stall.biz, 26 HM Geräte, 58 HmIP Geräte. Software CCU3: RaspberryMatic + CUxD. iPhone: HM pocketControl. Sonstiges 38 CUxD Geräte, 34 Programme. Integration mit der restlichen Haustechnik über Home Assistant.

j-a-n
Beiträge: 332
Registriert: 02.02.2017, 23:24
Hat sich bedankt: 1 Mal
Danksagung erhalten: 38 Mal

Re: CCU Addon zum Steuern von Philps Hue Lichtern

Beitrag von j-a-n » 09.08.2019, 07:58

Habt ihr beide eine CCU3?

Antworten

Zurück zu „Hue-Addon“