Moin zusammen,
in meinem gestrigen Post wurde mir der Tipp gegeben, mit Hyperion.NG auf meinem Pi 3 mit LibreELEC mal die HUE Entertainment API zu testen, da sie schneller ist als die einzelnen LEDs anzusteuern.
Ich nutze einen DIYHUE Server auf Debian, der auch bereits mit Entertainment funktioniert (mit Razer Synapse und WS2812B Stripes an einem ESP8266-12F und DIYHUE Ligths). Nun teste ich mit einem ESP8266-01S und DIYHUE Ligths. Dafür habe ich eine neue Entertainment Gruppe erstellt, die Lampen eingefügt und im Hyperion.NG Alpha 9 eingebunden. Der Test beim Einbinden (LEDs nach Auswahl der Entertainment Gruppe aufleuchten lassen) funktioniert. Daher scheint das Setup generell korrekt zu sein. Wenn ich nun aber die Instanz starte, leuchten die LEDs nicht. Ich sehe im Debug Log vom Hyperion.NG folgende Einträge:
2021-01-31T11:30:21.331Z [hyperiond LEDDEVICE] (DEBUG) (ProviderUdpSSL.cpp:96:init()) Successfully parsed 192.168.96.11 as an ip address.
2021-01-31T11:30:21.331Z [hyperiond LEDDEVICE] (DEBUG) (ProviderUdpSSL.cpp:127:init()) UDP SSL using 192.168.96.11:2100
2021-01-31T11:30:21.332Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:1277:switchOn())
2021-01-31T11:30:21.332Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:121:get()) GET: [http://192.168.96.11:80/api/cd7a4c56635611eb8f7880ee73ab4a8f/groups/5]
2021-01-31T11:30:21.332Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:1277:switchOn())
2021-01-31T11:30:21.333Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:121:get()) GET: [http://192.168.96.11:80/api/cd7a4c56635611eb8f7880ee73ab4a8f/groups/5]
2021-01-31T11:30:21.338Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:179:getResponse()) Reply.httpStatusCode [200]
2021-01-31T11:30:21.339Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:1095:startStream()) Start entertainment stream
2021-01-31T11:30:21.339Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:150:put()) PUT: [http://192.168.96.11:80/api/cd7a4c56635611eb8f7880ee73ab4a8f/groups/5] [{"stream":{"active":true}}]
2021-01-31T11:30:21.932Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:179:getResponse()) Reply.httpStatusCode [200]
2021-01-31T11:30:21.933Z [hyperiond LEDDEVICE] (ERROR) Device disabled, device 'philipshue' signals error: 'set stream to true: Bridge response is not Valid'
2021-01-31T11:30:21.933Z [hyperiond LEDDEVICE] (ERROR) Philips Hue Entertaiment API could not initialisized!
2021-01-31T11:30:21.934Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:179:getResponse()) Reply.httpStatusCode [200]
2021-01-31T11:30:21.935Z [hyperiond LEDDEVICE] (ERROR) Philips Hue Entertaiment API could not initialisized!
Alles anzeigen
Das Debug Log vom DIYHUE Server zeigt mir keine offensichtlichen Fehler:
192.168.96.10 - - [31/Jan/2021 12:30:21] "GET /api/cd7a4c56635611eb8f7880ee73ab4a8f/ HTTP/1.1" 200 -
192.168.96.10 - - [31/Jan/2021 12:30:21] "GET /api/cd7a4c56635611eb8f7880ee73ab4a8f/groups/5 HTTP/1.1" 200 -
192.168.96.10 - - [31/Jan/2021 12:30:21] "GET /api/cd7a4c56635611eb8f7880ee73ab4a8f/groups/5 HTTP/1.1" 200 -
192.168.96.10 - - [31/Jan/2021 12:30:21] "PUT /api/cd7a4c56635611eb8f7880ee73ab4a8f/groups/5 HTTP/1.1" 200 -
2021-01-31 12:30:21,333 - root - INFO - in PUT method
2021-01-31 12:30:21,374 - root - INFO - /api/cd7a4c56635611eb8f7880ee73ab4a8f/groups/5
2021-01-31 12:30:21,374 - root - INFO - b'{"stream":{"active":true}}'
2021-01-31 12:30:21,375 - root - INFO - start hue entertainment
. Seeding the random number generator... ok
. Loading the CA root certificate ... ok (0 skipped)
. Loading the server cert. and key... ok
. Bind on udp://*:2100/ ... ok
. Setting up the SSL/TLS structure... ok
. Waiting for a remote connection ...2021-01-31 12:30:21,881 - root - INFO - [
{
"success": {
"/groups/5/stream": {
"active": true
}
}
}
]
2021-01-31 12:30:22,926 - root - INFO - sync with lights
Alles anzeigen
Gibt es noch eine bekannte Inkompatibilität? Ich hätte ja zuerst auf ein Zertifikatsproblem getippt, Die Verbindung kann ja aber offensichtlich aufgebaut werden.