NEWS
Fehlermeldungen von meinem Ring Adapter
-
Hallo Leute,
Ich habe heute meine Ring 3 bekommen und den Adaper in meinen ioBroker eingeunden. Soweit so gut.
Leider habe ich ein paar Probleme damit.Meine Livestream und Snapshot URL sind leer

Unter der Instanz ist folgendes von mir eingetragen

Wenn ich nun klingle erhalte ich im Log folgende Fehlermeldungen:
host.ioBroker 2020-11-23 21:19:51.657 info Restart adapter system.adapter.ring.0 because enabled host.ioBroker 2020-11-23 21:19:51.656 error instance system.adapter.ring.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBroker 2020-11-23 21:19:51.656 error Caught by controller[2]: at process._tickCallback (internal/process/next_tick.js:68:7) host.ioBroker 2020-11-23 21:19:51.656 error Caught by controller[2]: at fulfilled (/opt/iobroker/node_modules/iobroker.ring/node_modules/ring-client-api/lib/api/sip-session.js:5:58) host.ioBroker 2020-11-23 21:19:51.656 error Caught by controller[2]: at Generator.next (<anonymous>) host.ioBroker 2020-11-23 21:19:51.656 error Caught by controller[2]: at SipSession.<anonymous> (/opt/iobroker/node_modules/iobroker.ring/node_modules/ring-client-api/lib/api/sip-session.js:125:16) host.ioBroker 2020-11-23 21:19:51.656 error Caught by controller[2]: at FfmpegProcess.start (/opt/iobroker/node_modules/iobroker.ring/node_modules/ring-client-api/lib/api/ffmpeg.js:76:23) host.ioBroker 2020-11-23 21:19:51.656 error Caught by controller[2]: at Socket.Writable.write (_stream_writable.js:299:11) host.ioBroker 2020-11-23 21:19:51.656 error Caught by controller[2]: at writeOrBuffer (_stream_writable.js:399:5) host.ioBroker 2020-11-23 21:19:51.655 error Caught by controller[2]: at doWrite (_stream_writable.js:411:19) host.ioBroker 2020-11-23 21:19:51.655 error Caught by controller[2]: Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed host.ioBroker 2020-11-23 21:19:51.655 error Caught by controller[1]: 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 host.ioBroker 2020-11-23 21:19:51.655 error Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:63:19) host.ioBroker 2020-11-23 21:19:51.655 error Caught by controller[0]: at onErrorNT (internal/child_process.js:415:16) host.ioBroker 2020-11-23 21:19:51.655 error Caught by controller[0]: at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19) host.ioBroker 2020-11-23 21:19:51.654 error Caught by controller[0]: Error: spawn ffmpeg ENOENT ring.0 2020-11-23 21:19:51.287 info (22829) Terminated (NO_ERROR): Without reason ring.0 2020-11-23 21:19:51.284 info (22829) terminating ring.0 2020-11-23 21:19:51.273 error (22829) Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed at doWrite (_stream_writable.js:411:19) at writeOrBuffer (_stream_writable.js:399:5) at Socket.Writable ring.0 2020-11-23 21:19:51.270 error (22829) unhandled promise rejection: Cannot call write after a stream was destroyed ring.0 2020-11-23 21:19:51.270 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(). ring.0 2020-11-23 21:19:51.245 info (22829) Closing Adapter ring.0 2020-11-23 21:19:51.245 error (22829) Error: spawn ffmpeg ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19) at onErrorNT (internal/child_process.js:415:16) at process._tickCallback (inter ring.0 2020-11-23 21:19:51.244 error (22829) uncaught exception: spawn ffmpeg ENOENT ring.0 2020-11-23 21:19:50.900 info (22829) Starting creating livestream with recording time 15 sec. ring.0 2020-11-23 21:19:50.891 info (22829) Starting creating snapshot ring.0 2020-11-23 21:19:50.798 info (22829) Ding Dong for Id 1234567 (ding, ringing) ring.0 2020-11-23 21:19:39.276 info (22829) Starting Ring Device for Id 1234567 ring.0 2020-11-23 21:19:36.393 info (22829) Starting Adapter ring.0 in version 1.1.3 ring.0 2020-11-23 21:19:36.360 info (22829) starting. Version 1.1.3 in /opt/iobroker/node_modules/iobroker.ring, node: v10.16.0, js-controller: 3.1.6 host.ioBroker 2020-11-23 21:19:33.894 info instance system.adapter.ring.0 started with pid 22829Kann mir bitte jemand sagen was hier falsch läuft bzw. was ich falsch gemacht habe.
Stehe im Moment ein wenig auf der Leitung.Vielen Dank schon im Voraus für eure Hilfe.
LG
mandragora -
Hallo Leute,
Ich habe heute meine Ring 3 bekommen und den Adaper in meinen ioBroker eingeunden. Soweit so gut.
Leider habe ich ein paar Probleme damit.Meine Livestream und Snapshot URL sind leer

Unter der Instanz ist folgendes von mir eingetragen

Wenn ich nun klingle erhalte ich im Log folgende Fehlermeldungen:
host.ioBroker 2020-11-23 21:19:51.657 info Restart adapter system.adapter.ring.0 because enabled host.ioBroker 2020-11-23 21:19:51.656 error instance system.adapter.ring.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBroker 2020-11-23 21:19:51.656 error Caught by controller[2]: at process._tickCallback (internal/process/next_tick.js:68:7) host.ioBroker 2020-11-23 21:19:51.656 error Caught by controller[2]: at fulfilled (/opt/iobroker/node_modules/iobroker.ring/node_modules/ring-client-api/lib/api/sip-session.js:5:58) host.ioBroker 2020-11-23 21:19:51.656 error Caught by controller[2]: at Generator.next (<anonymous>) host.ioBroker 2020-11-23 21:19:51.656 error Caught by controller[2]: at SipSession.<anonymous> (/opt/iobroker/node_modules/iobroker.ring/node_modules/ring-client-api/lib/api/sip-session.js:125:16) host.ioBroker 2020-11-23 21:19:51.656 error Caught by controller[2]: at FfmpegProcess.start (/opt/iobroker/node_modules/iobroker.ring/node_modules/ring-client-api/lib/api/ffmpeg.js:76:23) host.ioBroker 2020-11-23 21:19:51.656 error Caught by controller[2]: at Socket.Writable.write (_stream_writable.js:299:11) host.ioBroker 2020-11-23 21:19:51.656 error Caught by controller[2]: at writeOrBuffer (_stream_writable.js:399:5) host.ioBroker 2020-11-23 21:19:51.655 error Caught by controller[2]: at doWrite (_stream_writable.js:411:19) host.ioBroker 2020-11-23 21:19:51.655 error Caught by controller[2]: Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed host.ioBroker 2020-11-23 21:19:51.655 error Caught by controller[1]: 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 host.ioBroker 2020-11-23 21:19:51.655 error Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:63:19) host.ioBroker 2020-11-23 21:19:51.655 error Caught by controller[0]: at onErrorNT (internal/child_process.js:415:16) host.ioBroker 2020-11-23 21:19:51.655 error Caught by controller[0]: at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19) host.ioBroker 2020-11-23 21:19:51.654 error Caught by controller[0]: Error: spawn ffmpeg ENOENT ring.0 2020-11-23 21:19:51.287 info (22829) Terminated (NO_ERROR): Without reason ring.0 2020-11-23 21:19:51.284 info (22829) terminating ring.0 2020-11-23 21:19:51.273 error (22829) Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed at doWrite (_stream_writable.js:411:19) at writeOrBuffer (_stream_writable.js:399:5) at Socket.Writable ring.0 2020-11-23 21:19:51.270 error (22829) unhandled promise rejection: Cannot call write after a stream was destroyed ring.0 2020-11-23 21:19:51.270 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(). ring.0 2020-11-23 21:19:51.245 info (22829) Closing Adapter ring.0 2020-11-23 21:19:51.245 error (22829) Error: spawn ffmpeg ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19) at onErrorNT (internal/child_process.js:415:16) at process._tickCallback (inter ring.0 2020-11-23 21:19:51.244 error (22829) uncaught exception: spawn ffmpeg ENOENT ring.0 2020-11-23 21:19:50.900 info (22829) Starting creating livestream with recording time 15 sec. ring.0 2020-11-23 21:19:50.891 info (22829) Starting creating snapshot ring.0 2020-11-23 21:19:50.798 info (22829) Ding Dong for Id 1234567 (ding, ringing) ring.0 2020-11-23 21:19:39.276 info (22829) Starting Ring Device for Id 1234567 ring.0 2020-11-23 21:19:36.393 info (22829) Starting Adapter ring.0 in version 1.1.3 ring.0 2020-11-23 21:19:36.360 info (22829) starting. Version 1.1.3 in /opt/iobroker/node_modules/iobroker.ring, node: v10.16.0, js-controller: 3.1.6 host.ioBroker 2020-11-23 21:19:33.894 info instance system.adapter.ring.0 started with pid 22829Kann mir bitte jemand sagen was hier falsch läuft bzw. was ich falsch gemacht habe.
Stehe im Moment ein wenig auf der Leitung.Vielen Dank schon im Voraus für eure Hilfe.
LG
mandragora@mandragora
ffmpeg ist installiert?
Und ich würde auch node12 installieren. -
@mandragora
ffmpeg ist installiert?
Und ich würde auch node12 installieren.Hallo @Thomas-Braun
ffmpeg war nicht installiert.
Hab es gerade installiert und die Pfade werden mir jetzt befüllt.
Jedoch komm ich schon zu meinem nächsten Problem.
Wenn ich jetzt bei meiner Ring die Taste drücke erhalte ich diese Meldungen.ring.0 2020-11-24 20:12:10.109 error (18892) Error: Error setSanpshot()): Error: Could not create Snapshot for 1234567in getSnapshot(). Error: Snapshot failed to refresh after 40 attempts ring.0 2020-11-24 20:11:45.435 warn (18892) writeFile will not write this file (doorbell_1234567/livestream.mp4) in future versions: ring.0 is not an object of type "meta" ring.0 2020-11-24 20:11:45.430 info (18892) Done creating livestream ring.0 2020-11-24 20:11:24.815 info (18892) Starting creating livestream with recording time 10 sec. ring.0 2020-11-24 20:11:24.807 info (18892) Starting creating snapshot ring.0 2020-11-24 20:11:24.708 info (18892) Ding Dong for Id 1234567(ding, ringing) ring.0 2020-11-24 20:11:16.820 info (18892) Starting Ring Device for Id 1234567 ring.0 2020-11-24 20:11:14.194 info (18892) Starting Adapter ring.0 in version 1.1.3 ring.0 2020-11-24 20:11:14.153 info (18892) starting. Version 1.1.3 in /opt/iobroker/node_modules/iobroker.ring, node: v10.16.0, js-controller: 3.1.6Wenn ich jetzt bei meiner Ring die Taste drücke erhalte ich diese Meldungen.
Auch wenn ich unter den Objekten den Tastendruck simuliere passiert das gleiche.Es wird mir aber unter /opt/iobroker/node_modules/iobroker.ring/snapshot/ das snapshot.jpg und livestream.mp4 file angelegt.
Wenn ich die Hacken bei "Löschen Sie alten Schnappschüsse" und "Alte Livestreams löschen" raus habe wird mir das File manchmal überschrieben manchmal nicht jedoch wird immer ein neuer Zeitstempel beim File gemacht.Das mp4 File kann ich im Browser nicht öffnen. Hat ca. an die 800kb aber ist irgendwie nichtlesbar. Auch nicht mit VLC.
Hat jemand noch irgendwelche Tipps für mich wie ich das beheben kann bzw. was ich falsch gemacht habe.
Oder hab ich nur einen Denkfehler bei dem Ganzen.Auf node 12 werde ich auch noch updaten.
Vielleicht gehts dann ja besser.Danke schon mal im Voraus für eure Hilfe.
LG
mandragora
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden