LXC/LXD ist unschuldig gewesen, ist trotzdem gut auch diese Einstellung glatt zu ziehen. Aber die Lösung war...
apt install ntp
reboot
Und zwischenzeitlich habe ich auch verstanden, dass die System-Betriebszeit die Laufzeit ist.
LXC/LXD ist unschuldig gewesen, ist trotzdem gut auch diese Einstellung glatt zu ziehen. Aber die Lösung war...
apt install ntp
reboot
Und zwischenzeitlich habe ich auch verstanden, dass die System-Betriebszeit die Laufzeit ist.
Es scheint eine LXC/LXD Thematik zu sein...
https://blog.simos.info/how-to-set-the-timezone-in-lxd-containers/
Ich überprüfe das jetzt...
Ein Bild sagt meist mehr als 1000 Worte...
Das Problem: Die Skripte werden nicht CET, sondern UTC ausgeführt.
Wieso? Und ja, ich habe die Suche benutzt und wirklich bereits sehr viel zur Fehlerkorrektur ausprobiert.
Ich update jetzt auch noch einmal den js-controller...
Systemdata | Bitte Ausfüllen |
---|---|
Hardwaresystem: | UDOO BOLT V8 (AMD Ryzen Embedded V1605B Quad Core/eight Thread) |
Arbeitsspeicher: | 32 GB |
Festplattenart: | 1 TB SSD |
Betriebssystem: | Ubuntu Server 20.04 |
Node-Version: | v14.19.0 |
Nodejs-Version: | v14.19.0 |
NPM-Version: | 6.14.16 |
Installationsart: | Skript |
Image genutzt: | Nein |
Ort/Name der Imagedatei: | dev/null |
Moin,
ich habe 3 Alexa Devices im Einsatz, eins davon ist unser Fire TV Cube. Vor einigen Wochen hat der Cube aufgehört den vom Adapter unter "Command" -> "speak" übermittelten Text vorzulesen. Das Gerät leuchtet kurz auf und bleibt aber still. Die Lautstärkeeinstellung wurde von mir mehrfach geprüft und erfolgreich getestet, die ist es nicht. Vielleicht ist das Problem nicht der Adapter, denn bei den zwei anderen Alexa Devices funktioniert die Sprachausgabe weiterhin.
Workaround: Ich nutze nun statt "speak" den Datenpunkt "announcement". Dieser wird vom Cube korrekt ausgegeben.
PS: Ich habe bewusst kein Debug-Log beigefügt, da kein "Error" gemeldet wird. Im Gegenteil, es gibt "Success" Meldungen!
@Jey-Cee said in Test Adapter deConz v2.0.x:
Nicht Installieren das ist noch irgendwo ein großer Bug, den ich auf dem Entwicklersystem nicht hatte.
@Jey-Cee Habe es trotzdem installiert und läuft super. Behalte die Version bei, da die MAC Adressen vieles für mich vereinfachen, gerade bei Änderungen. DANKE für die bereits geleistete und auch für die noch kommende Arbeit!
Moin, bei mir wird die 2.0 nicht grün...
2020-06-14 23:01:36.053 - info: host.ioBroker instance system.adapter.deconz.0 started with pid 17312
2020-06-14 23:01:37.574 - info: deconz.0 (17312) starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.deconz, node: v12.18.0, js-controller: 3.1.5
2020-06-14 23:01:37.645 - info: deconz.0 (17312) deConz Version: 2.5.75; API version: 1.16.0
2020-06-14 23:01:37.806 - info: deconz.0 (17312) Code 404: Ressource not found get devices: []
2020-06-14 23:01:41.994 - error: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2020-06-14 23:01:41.999 - error: deconz.0 (17312) unhandled promise rejection: Cannot read property 'toString' of null
2020-06-14 23:01:42.010 - error: deconz.0 (17312) TypeError: Cannot read property 'toString' of null
at Request._callback (/opt/iobroker/node_modules/iobroker.deconz/main.js:1401:68)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)
2020-06-14 23:01:42.014 - info: deconz.0 (17312) cleaned everything up...
2020-06-14 23:01:42.099 - info: deconz.0 (17312) terminating
2020-06-14 23:01:42.101 - info: deconz.0 (17312) Terminated (NO_ERROR): Without reason
2020-06-14 23:01:42.636 - error: host.ioBroker Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2020-06-14 23:01:42.636 - error: host.ioBroker Caught by controller[1]: TypeError: Cannot read property 'toString' of null
2020-06-14 23:01:42.636 - error: host.ioBroker Caught by controller[1]: at Request._callback (/opt/iobroker/node_modules/iobroker.deconz/main.js:1401:68)
2020-06-14 23:01:42.637 - error: host.ioBroker Caught by controller[1]: at runMicrotasks ()
2020-06-14 23:01:42.637 - error: host.ioBroker Caught by controller[1]: at processTicksAndRejections (internal/process/task_queues.js:97:5)
2020-06-14 23:01:42.637 - info: host.ioBroker instance system.adapter.deconz.0 terminated with code 0 (NO_ERROR)
2020-06-14 23:01:42.637 - info: host.ioBroker Restart adapter system.adapter.deconz.0 because enabled
2020-06-14 23:02:12.660 - info: host.ioBroker instance system.adapter.deconz.0 started with pid 17662
2020-06-14 23:02:14.393 - info: deconz.0 (17662) starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.deconz, node: v12.18.0, js-controller: 3.1.5
2020-06-14 23:02:14.468 - info: deconz.0 (17662) deConz Version: 2.5.75; API version: 1.16.0
2020-06-14 23:02:14.589 - info: deconz.0 (17662) Code 404: Ressource not found get devices: []
2020-06-14 23:02:15.183 - error: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2020-06-14 23:02:15.183 - error: deconz.0 (17662) unhandled promise rejection: Cannot read property 'toString' of null
2020-06-14 23:02:15.189 - error: deconz.0 (17662) TypeError: Cannot read property 'toString' of null
at Request._callback (/opt/iobroker/node_modules/iobroker.deconz/main.js:1401:68)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)
2020-06-14 23:02:15.190 - info: deconz.0 (17662) cleaned everything up...
2020-06-14 23:02:15.222 - info: deconz.0 (17662) terminating
2020-06-14 23:02:15.223 - info: deconz.0 (17662) Terminated (NO_ERROR): Without reason
2020-06-14 23:02:15.738 - error: host.ioBroker Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2020-06-14 23:02:15.739 - error: host.ioBroker Caught by controller[0]: TypeError: Cannot read property 'toString' of null
2020-06-14 23:02:15.739 - error: host.ioBroker Caught by controller[0]: at Request._callback (/opt/iobroker/node_modules/iobroker.deconz/main.js:1401:68)
2020-06-14 23:02:15.739 - error: host.ioBroker Caught by controller[0]: at runMicrotasks ()
2020-06-14 23:02:15.739 - error: host.ioBroker Caught by controller[0]: at processTicksAndRejections (internal/process/task_queues.js:97:5)
2020-06-14 23:02:15.739 - info: host.ioBroker instance system.adapter.deconz.0 terminated with code 0 (NO_ERROR)
2020-06-14 23:02:15.739 - info: host.ioBroker Restart adapter system.adapter.deconz.0 because enabled
2020-06-14 23:02:45.761 - info: host.ioBroker instance system.adapter.deconz.0 started with pid 18024
2020-06-14 23:02:47.211 - info: deconz.0 (18024) starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.deconz, node: v12.18.0, js-controller: 3.1.5
2020-06-14 23:02:47.279 - info: deconz.0 (18024) deConz Version: 2.5.75; API version: 1.16.0
2020-06-14 23:02:47.406 - info: deconz.0 (18024) Code 404: Ressource not found get devices: []
2020-06-14 23:02:47.976 - error: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2020-06-14 23:02:47.976 - error: deconz.0 (18024) unhandled promise rejection: Cannot read property 'toString' of null
2020-06-14 23:02:47.979 - error: deconz.0 (18024) TypeError: Cannot read property 'toString' of null
at Request._callback (/opt/iobroker/node_modules/iobroker.deconz/main.js:1401:68)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)
2020-06-14 23:02:47.980 - info: deconz.0 (18024) cleaned everything up...
2020-06-14 23:02:48.030 - info: deconz.0 (18024) terminating
2020-06-14 23:02:48.031 - info: deconz.0 (18024) Terminated (NO_ERROR): Without reason
2020-06-14 23:02:48.546 - error: host.ioBroker Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2020-06-14 23:02:48.547 - error: host.ioBroker Caught by controller[1]: TypeError: Cannot read property 'toString' of null
2020-06-14 23:02:48.547 - error: host.ioBroker Caught by controller[1]: at Request._callback (/opt/iobroker/node_modules/iobroker.deconz/main.js:1401:68)
2020-06-14 23:02:48.547 - error: host.ioBroker Caught by controller[1]: at runMicrotasks ()
2020-06-14 23:02:48.547 - error: host.ioBroker Caught by controller[1]: at processTicksAndRejections (internal/process/task_queues.js:97:5)
2020-06-14 23:02:48.547 - info: host.ioBroker instance system.adapter.deconz.0 terminated with code 0 (NO_ERROR)
2020-06-14 23:02:48.547 - info: host.ioBroker Restart adapter system.adapter.deconz.0 because enabled
Da ich es endlich zum Laufen bekommen habe, wollte ich die Lösung kurz dokumentieren...
Mein Setting: ioBroker in einem LXC Container mit ubuntu auf der QNAP NAS
Die Schritte:
Die folgende Anleitung war meine Grundlage:
https://www.qnap.com/de-de/how-to/tutorial/article/verwendung-von-lautsprechern-bei-der-verwendung-von-qboat-sunny-ein-lxc-beispiel/
Anpassung 1: "ACM USB modems (166)" statt "Sound and ALSA (14, 116)" auswählen.
Anpassung 2: ACM0 statt SND verwenden und file statt dir.
lxc.mount.entry = /dev/ttyACM0 dev/ttyACM0 none bind,optional,create=file
sudo chmod 777 /dev/ttyACM0
Container in der NAS GUI stoppen und wieder starten.
Instanz einrichten und unter Adapterkonfiguration den COM-Anschlussnamen "/dev/ttyACM0" nehmen sowie den Type "Deconz/Conbee" auswählen.
Fertig
PS: Die Berechtigung muss wieder gesetzt werden, sobald der folgende Fehler auftritt:
Error: Error while opening serialport 'Error: Error: Permission denied, cannot open /dev/ttyACM0'
@Homoran Jap, aber das sind dafür die RKI-Zahlen. JHU recherchiert, während das RKI nur die amtlichen Zahlen nennt.