Habe gesehen, dass künftig wohl die nanoleaf in Hyperion.ng unterstützt wird. Ginge das auch mit der wesentlich günstigeren Cololight? Da ist auch der WS2812b drin....
Hi @Frogro Ich habe nach einer Spezifikation gesucht, wie man die ColorLights ansprechen kann. Leider habe ich keine gefunden. Colorlight schein keine offene API anzubieten. d.h. aktuelle keine Unterstützung. Sorry! Nanoleaf: Canvas und LightPanels (aka Aurora) werden aktuell schon unterstützt! Nanoleaf Hexagon schaue ich mir an, wenn die aktualisierte API-Doku verfügbar ist.Außer jemand hat sie schon zum Testen....
@Frogro Das hilft leider nicht. Ich bräuchte aktuell eine offizielle Dokumentation und nicht irgendwelche JS code-Snippets um daraus ggf. was abzuleiten.. Dazu gibt es im Projekt momentan zu viele andere Baustellen und der Zeitaufwand wäre nicht gerechtfertigt. Zusätzlich besteht das Risiko, dass der Hersteller etwas ändert und sich die Hyperion Benutzer beschweren, dass es nicht mehr geht. Du kannst gerne eine Umsetzung selbst in die Hand nehmen, und ich gebe Dir auch gerne Starthilfe.
Hey ihr, ich bin der Produkt-Manager von Cololight Deutschland und wir würden euch sehr gerne unsere API zur Verfügung stellen und auch alle Hilfe anbieten, die ihr benötigt. Habe dazu auch schon euer Kontaktformular ausgefüllt.
@Frogro Hier die erste Version zum Testen. https://github.com/hyperion-project/hyperion.ng/pull/1070 Am besten starte die Konfiguration über der Wizard....
ohne dass ich Coloight nutze, wollte ich hier mal anmerken, dass ich beeindruckend finde, wie schnell das implementiert wurde. Respekt vor Euch Devs!
Bei mir funktioniert das nicht. Wenn ich cololight auswähle IP eingebe und einstelle leuchtet nichts. Starte ich den Einrichtungsassistent kann ich über den Button identifizieren die LEDs auch ansteuern, also sie leuchten kurz. Drücke ich dann auf Speichern passiert nichts und irgendwann kommt die Meldung vom Browser die Seite reagiert nicht. Jemand ein Tip?
@DayOne Es gibt aktuell ein Problem, wenn man Speichern während "Indentifiziere" läuft.... Also entweder wartest Du mal 10 Sekunden nach "Identifiziere" oder Speicherst ohne Identifiziere. 2. Was hast Du für einen Cololight Model? Strip?
Ja Strip. Also warten und auch ohne identifizieren funktioniert das Speichern nicht. Wenn ich es ohne Assistenten mache dann kann ich zwar die IP eintragen aber es leuchtet nichts.
@DayOne Kannst Du mir den Output des Logs (in UI System->Log) am besten im Debug Modus zur Verfügung stellen? Gibt es dort Fehlermeldungen?
@Lord-Grey Hier er Log nach dem ich den Einrichtungsassistent gestartet habe. Spoiler 2020-12-19T12:27:37.119Z [hyperiond LEDDEVICE] (ERROR) Device disabled, device 'cololight' signals error: 'Failed resolving IP-address for [], (1) No host name given' 2020-12-19T12:39:28.363Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:JsonAPI::handleLoggingCommand()) log streaming activated for client ::ffff:192.168.178.152 2020-12-19T12:39:28.363Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:JsonAPI::handleLoggingCommand()) log streaming activated for client ::ffff:192.168.178.152
Hi kannst Du bitte das Log auf Debug setzen, nochmal den Wizard starten und mir einen Screenshot des Wizards und das Debuglog schicken BEVOR Du abspeicherst? Dann speichere ab und schicke mir noch mal das Log. Plus poste auch Details zu Deinem System (System->About Hyperion) Posten den Inhalt von: "System info (Github Issue)" Danke!
So Spoiler: Log vorm Speichern 2020-12-20T10:41:24.073Z [hyperiond LEDDEVICE] (ERROR) Device disabled, device 'file' signals error: '(5) Zugriff verweigert, file: (NULL)' 2020-12-20T10:42:46.630Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1400:JsonAPI::handleLedDeviceCommand()) message: [{"command":"leddevice","ledDeviceType":"cololight","subcommand":"discover","tan":431}] 2020-12-20T10:42:46.719Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceCololight.cpp:598:LedDeviceCololight::discover()) Cololight discovered at [192.168.178.102] 2020-12-20T10:42:47.229Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1424:JsonAPI::handleLedDeviceCommand()) response: [{"devices":[{"domain":"fritz.box","hostname":"ColoLight-AC67B24ED594","ip":"192.168.178.102","mac":"ac:67:b2:4e:d5:94","model":"OD_WE_QUAN","name":"QUAN","type":"HKC32"}],"ledDeviceType":"cololight"}] 2020-12-20T10:42:47.243Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1400:JsonAPI::handleLedDeviceCommand()) message: [{"command":"leddevice","ledDeviceType":"cololight","params":{"host":"192.168.178.102"},"subcommand":"getProperties","tan":889}] 2020-12-20T10:42:47.243Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:148:LedDevice::init()) deviceConfig: [{"type":"cololight"}] 2020-12-20T10:42:47.243Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:407:LedDevice::setLatchTime()) LatchTime updated to 0ms 2020-12-20T10:42:47.243Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:434:LedDevice::setRewriteTime()) RewriteTime updated to 0ms 2020-12-20T10:42:47.243Z [hyperiond LEDDEVICE] (DEBUG) (ProviderUdp.cpp:43roviderUdp::init()) Successfully parsed 192.168.178.102 as an IP-address. 2020-12-20T10:42:47.243Z [hyperiond LEDDEVICE] (DEBUG) (ProviderUdp.cpp:73roviderUdp::init()) UDP socket will write to 192.168.178.102:8900 2020-12-20T10:42:47.544Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceCololight.cpp:220:LedDeviceCololight::getInfo()) #LEDs found [0x2c], [44], distance [0] 2020-12-20T10:42:47.544Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1434:JsonAPI::handleLedDeviceCommand()) response: [{"distance":0,"ledBeadCount":44,"ledCount":1,"modelType":"Strip"}] 2020-12-20T10:42:47.544Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1063:JsonAPI::handleLoggingCommand()) log streaming deactivated for client ::1 2020-12-20T10:42:52.591Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:JsonAPI::handleLoggingCommand()) log streaming activated for client ::1 Spoiler: Bild vom Wizard Spoiler: Log nach dem Speichern 2020-12-20T10:41:24.073Z [hyperiond LEDDEVICE] (ERROR) Device disabled, device 'file' signals error: '(5) Zugriff verweigert, file: (NULL)' 2020-12-20T10:42:46.630Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1400:JsonAPI::handleLedDeviceCommand()) message: [{"command":"leddevice","ledDeviceType":"cololight","subcommand":"discover","tan":431}] 2020-12-20T10:42:46.719Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceCololight.cpp:598:LedDeviceCololight::discover()) Cololight discovered at [192.168.178.102] 2020-12-20T10:42:47.229Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1424:JsonAPI::handleLedDeviceCommand()) response: [{"devices":[{"domain":"fritz.box","hostname":"ColoLight-AC67B24ED594","ip":"192.168.178.102","mac":"ac:67:b2:4e:d5:94","model":"OD_WE_QUAN","name":"QUAN","type":"HKC32"}],"ledDeviceType":"cololight"}] 2020-12-20T10:42:47.243Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1400:JsonAPI::handleLedDeviceCommand()) message: [{"command":"leddevice","ledDeviceType":"cololight","params":{"host":"192.168.178.102"},"subcommand":"getProperties","tan":889}] 2020-12-20T10:42:47.243Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:148:LedDevice::init()) deviceConfig: [{"type":"cololight"}] 2020-12-20T10:42:47.243Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:407:LedDevice::setLatchTime()) LatchTime updated to 0ms 2020-12-20T10:42:47.243Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:434:LedDevice::setRewriteTime()) RewriteTime updated to 0ms 2020-12-20T10:42:47.243Z [hyperiond LEDDEVICE] (DEBUG) (ProviderUdp.cpp:43roviderUdp::init()) Successfully parsed 192.168.178.102 as an IP-address. 2020-12-20T10:42:47.243Z [hyperiond LEDDEVICE] (DEBUG) (ProviderUdp.cpp:73roviderUdp::init()) UDP socket will write to 192.168.178.102:8900 2020-12-20T10:42:47.544Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceCololight.cpp:220:LedDeviceCololight::getInfo()) #LEDs found [0x2c], [44], distance [0] 2020-12-20T10:42:47.544Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1434:JsonAPI::handleLedDeviceCommand()) response: [{"distance":0,"ledBeadCount":44,"ledCount":1,"modelType":"Strip"}] 2020-12-20T10:42:47.544Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1063:JsonAPI::handleLoggingCommand()) log streaming deactivated for client ::1 2020-12-20T10:42:52.591Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:JsonAPI::handleLoggingCommand()) log streaming activated for client ::1 2020-12-20T10:42:52.605Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1063:JsonAPI::handleLoggingCommand()) log streaming deactivated for client ::1 2020-12-20T10:44:19.376Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1400:JsonAPI::handleLedDeviceCommand()) message: [{"command":"leddevice","ledDeviceType":"cololight","subcommand":"discover","tan":818}] 2020-12-20T10:44:19.405Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceCololight.cpp:598:LedDeviceCololight::discover()) Cololight discovered at [192.168.178.102] 2020-12-20T10:44:19.992Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1424:JsonAPI::handleLedDeviceCommand()) response: [{"devices":[{"domain":"fritz.box","hostname":"ColoLight-AC67B24ED594","ip":"192.168.178.102","mac":"ac:67:b2:4e:d5:94","model":"OD_WE_QUAN","name":"QUAN","type":"HKC32"}],"ledDeviceType":"cololight"}] 2020-12-20T10:44:19.995Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1400:JsonAPI::handleLedDeviceCommand()) message: [{"command":"leddevice","ledDeviceType":"cololight","params":{"host":"192.168.178.102"},"subcommand":"getProperties","tan":727}] 2020-12-20T10:44:19.995Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:148:LedDevice::init()) deviceConfig: [{"type":"cololight"}] 2020-12-20T10:44:19.995Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:407:LedDevice::setLatchTime()) LatchTime updated to 0ms 2020-12-20T10:44:19.996Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:434:LedDevice::setRewriteTime()) RewriteTime updated to 0ms 2020-12-20T10:44:19.996Z [hyperiond LEDDEVICE] (DEBUG) (ProviderUdp.cpp:43roviderUdp::init()) Successfully parsed 192.168.178.102 as an IP-address. 2020-12-20T10:44:19.996Z [hyperiond LEDDEVICE] (DEBUG) (ProviderUdp.cpp:73roviderUdp::init()) UDP socket will write to 192.168.178.102:8900 2020-12-20T10:44:20.238Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceCololight.cpp:220:LedDeviceCololight::getInfo()) #LEDs found [0x2c], [44], distance [0] 2020-12-20T10:44:20.238Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1434:JsonAPI::handleLedDeviceCommand()) response: [{"distance":0,"ledBeadCount":44,"ledCount":1,"modelType":"Strip"}] 2020-12-20T10:44:21.167Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1400:JsonAPI::handleLedDeviceCommand()) message: [{"command":"leddevice","ledDeviceType":"cololight","params":{"host":"192.168.178.102"},"subcommand":"identify","tan":1}] 2020-12-20T10:44:21.167Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:148:LedDevice::init()) deviceConfig: [{"type":"cololight"}] 2020-12-20T10:44:21.167Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:407:LedDevice::setLatchTime()) LatchTime updated to 0ms 2020-12-20T10:44:21.167Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:434:LedDevice::setRewriteTime()) RewriteTime updated to 0ms 2020-12-20T10:44:21.167Z [hyperiond LEDDEVICE] (DEBUG) (ProviderUdp.cpp:43roviderUdp::init()) Successfully parsed 192.168.178.102 as an IP-address. 2020-12-20T10:44:21.167Z [hyperiond LEDDEVICE] (DEBUG) (ProviderUdp.cpp:73roviderUdp::init()) UDP socket will write to 192.168.178.102:8900 2020-12-20T10:45:11.246Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient::WebSocketClient()) New connection from ::1 2020-12-20T10:45:11.246Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:81:JsonAPI::handleInstanceSwitch()) Client '::1' switch to Hyperion instance 0 2020-12-20T10:45:14.991Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:JsonAPI::handleLoggingCommand()) log streaming activated for client ::1 Spoiler: System Info Hyperion Server: - Build: (HEAD detached at 83338dc3) (Paulchen Panther-ca50487e/83338dc3-1605733041) - Build time: Nov 18 2020 21:11:10 - Git Remote: https://github.com/hyperion-project/hyperion.ng - Version: 2.0.0-alpha.9 - UI Lang: auto (BrowserLang: de) - UI Access: default - Avail Capt: qt,dx - Database: read/write Hyperion Server OS: - Distribution: Windows 10 Version 2004 - Architecture: x86_64 - Kernel: winnt (10.0.19041 (WS: 64)) - Qt Version: 5.15.0 - Python Version: 3.9.0 - Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 Edg/87.0.664.66 Ich Danke für das Projekt die Hilfe und die Mühe die ihr euch gibt!
Kannst Du mir bitte auch noch sagen, wie viele LEDs dein Strip hat. Die 44 LEDs, die ich sehe scheinen nicht richtig zu sein...
Da musst Du mir nochmal helfen... Mein Verständnis ist, dass es Cololight Strip nur mit 30/60 LEDs/m gibt und man 2m oder 4m kaufen kann. https://cololight.de/products/cololight-strip?variant=32881788321856 Damit muss die LED-Anzahl ein Vielfaches von 60 sein. Kann es sein, dass Du doch einen anderen Typ hast? Könntest Du mal einen Link dazu posten? Ein Cololight gibt leider nicht seinen Typ zurück. Darum muss ich ihn über die LED-Anzahl "raten", da ein Cololight Plus (mit Modulen) und Strip für Hyperion jeweils anders angesprochen werden müssen.
https://www.cyberport.de/haushalt/b...=278-1576178973&emid=5fdf32586e64566e097703e4 Auf dem Modul Steht Cololight Plus Model LS167 Man kann das Kürzen und ich kann in der Cololight App auch die länge einstellen. Vorher waren es 60 LEDs hab es auf 44 gekürzt und in der Cololight App auch so eingestellt. Ich habe testweise auch das Cololight jetzt gerade mal zurück gesetzt, bringt leider aber auch nichts.
Danke, das macht Sinn. Dass jemand den Strip kürzt habe ich nicht bedacht.... Kannst Du Dir mal eine aktualisierte Hyperion Version laden? Ich habe ein paar Anpassungen gemacht... https://github.com/hyperion-project/hyperion.ng/actions/runs/433822035 Ganz unten unter Artifacts, kannst Du eine Windows-Version laden. Falls die Leuchten nach dem Abspeichern nicht leuchten, starte Hyperion nochmal neu. Wenn es nicht funktioniert, brauche ich wieder das Log....