NEWS
[gelöst] sayIt und Sonos Volume 0
-
radio oder files ??? `
radio -
Probier mal vom git installieren
-
Danke mit der git-Version 1.0.0 gehts.
Kann man das faden irgendwo abstellen? Das führt nämlich dazu, dass das Achtung schwer zu hören ist.
-
Werde ich einstellbar machen.
-
Habe auf dem git neue Version.
Allerdings, ich habe da mehr geändert, weil die Sonos NPM Pakete auch upgedated wurden.
-
Jetz erhlate ich folgende Meldung:
sonos-0 2016-10-23 14:33:04.874 info http sonos server listening on port 8080 sonos-0 2016-10-23 14:33:04.827 info starting. Version 1.1.0 in /opt/iobroker/node_modules/iobroker.sonos host-ubuntu2cpu 2016-10-23 14:33:03.921 info instance system.adapter.sonos.0 started with pid 1436 host-ubuntu2cpu 2016-10-23 14:32:33.913 info Restart adapter system.adapter.sonos.0 because enabled host-ubuntu2cpu 2016-10-23 14:32:33.912 error instance system.adapter.sonos.0 terminated with code 0 (OK) sonos-0 2016-10-23 14:32:33.901 info terminating sonos-0 2016-10-23 14:32:33.894 info terminating ReferenceError: 2016-10-23 14:32:33.893 error at Timer.listOnTimeout (timers.js:92:15) ReferenceError: 2016-10-23 14:32:33.893 error at null._onTimeout (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:2124:38) ReferenceError: 2016-10-23 14:32:33.893 error at Adapter.emit (events.js:172:7) ReferenceError: 2016-10-23 14:32:33.893 error at emitTwo (events.js:87:13) ReferenceError: 2016-10-23 14:32:33.893 error at Adapter. (/opt/iobroker/node_modules/iobroker.sonos/sonos.js:89:17) ReferenceError: 2016-10-23 14:32:33.893 error at text2speech (/opt/iobroker/node_modules/iobroker.sonos/sonos.js:494:47) ReferenceError: 2016-10-23 14:32:33.893 error uuid is not defined uncaught 2016-10-23 14:32:33.891 error exception: uuid is not defined sonos-0 2016-10-23 14:32:33.885 info try to control id sonos.0.root.192_168_1_12.tts with {"val":"55;http://192.168.1.112:8082/state/sayit.0.tts.mp3","ack":false,"ts":1477225953878,"q":0,"from":"system.adapter.sayit.0","lc":147722595387 sayit-0 2016-10-23 14:32:33.877 info Copied file "/opt/iobroker/node_modules/iobroker.sayit/say.mp3" to "/opt/iobroker/cache/3669a9e00fed6ac73f01a751fec72960.mp3" sayit-0 2016-10-23 14:32:33.854 info Set "sonos.0.root.192_168_1_12.tts: 55;http://192.168.1.112:8082/state/sayit.0.tts.mp3 sayit-0 2016-10-23 14:32:32.482 info saying: Achtung! Das ist ein Test! javascript-0 2016-10-23 14:32:32.473 info script.js.zsayit: registered 0 subscriptions and 0 schedules javascript-0 2016-10-23 14:32:32.463 info Start javascript script.js.zsayit
sonos 1.1.0
sayit 1.1.2
-
Update bitte noch mal vom git.
-
sonos 1.1.1
host-ubuntu2cpu 2016-10-23 16:39:11.514 info Restart adapter system.adapter.sonos.0 because enabled host-ubuntu2cpu 2016-10-23 16:39:11.513 error instance system.adapter.sonos.0 terminated with code 0 (OK) sonos-0 2016-10-23 16:39:11.501 info terminating sonos-0 2016-10-23 16:39:11.493 info terminating TypeError: 2016-10-23 16:39:11.492 error at Timer.listOnTimeout (timers.js:92:15) TypeError: 2016-10-23 16:39:11.492 error at ontimeout [as _onTimeout] (timers.js:202:24) TypeError: 2016-10-23 16:39:11.492 error at playOnSonos (/opt/iobroker/node_modules/iobroker.sonos/sonos.js:668:59) TypeError: 2016-10-23 16:39:11.492 error player.getState is not a function uncaught 2016-10-23 16:39:11.490 error exception: player.getState is not a function sonos-0 2016-10-23 16:39:11.475 info try to control id sonos.0.root.192_168_1_12.tts with {"val":"55;http://192.168.1.112:8082/state/sayit.0.tts.mp3","ack":false,"ts":1477233551469,"q":0,"from":"system.adapter.sayit.0","lc":147722595387 sayit-0 2016-10-23 16:39:11.467 info Copied file "/opt/iobroker/node_modules/iobroker.sayit/say.mp3" to "/opt/iobroker/cache/3669a9e00fed6ac73f01a751fec72960.mp3" sayit-0 2016-10-23 16:39:11.458 info Set "sonos.0.root.192_168_1_12.tts: 55;http://192.168.1.112:8082/state/sayit.0.tts.mp3 javascript-0 2016-10-23 16:39:11.143 info script.js.zsayit: registered 0 subscriptions and 0 schedules sayit-0 2016-10-23 16:39:11.162 info saying: Achtung! Das ist ein Test! javascript-0 2016-10-23 16:39:11.140 info Start javascript script.js.zsayit
-
Und jetzt? (vom git)
-
Ist nix zu hören, wenn Radio läuft wird auch nix unterbrochen Radio läuft weiter.
inMem 2016-10-23 18:07:59.123 debug message sonos.0.* sonos.0.root.192_168_1_12.current_elapsed_s val=00:00, ack=true, ts=1477238879119, q=0, from=system.adapter.sonos.0, lc=1477129976014 inMem 2016-10-23 18:07:59.118 debug message sonos.0.* sonos.0.root.192_168_1_12.current_elapsed val=0, ack=true, ts=1477238879116, q=0, from=system.adapter.sonos.0, lc=1477129976014 sonos-0 2016-10-23 18:07:57.807 debug Play on sonos[RINCON_000E5851FD7601400]: http://192.168.1.112:8082/state/sayit.0.tts.mp3, Volume: 55 sonos-0 2016-10-23 18:07:57.798 debug Play TTS file 55;http://192.168.1.112:8082/state/sayit.0.tts.mp3 on 192_168_1_12 sonos-0 2016-10-23 18:07:57.797 info try to control id sonos.0.root.192_168_1_12.tts with {"val":"55;http://192.168.1.112:8082/state/sayit.0.tts.mp3","ack":false,"ts":1477238877793,"q":0,"from":"system.adapter.sayit.0","lc":147723887779 inMem 2016-10-23 18:07:57.796 debug message sonos.0.* sonos.0.root.192_168_1_12.tts val=55;http://192.168.1.112:8082/state/sayit.0.tts.mp3, ack=false, ts=1477238877793, q=0, from=system.adapter.sayit.0, lc=1477238877793 javascript-0 2016-10-23 18:07:57.779 info script.js.zsayit: registered 0 subscriptions and 0 schedules sayit-0 2016-10-23 18:07:57.786 info Set "sonos.0.root.192_168_1_12.tts: 55;http://192.168.1.112:8082/state/sayit.0.tts.mp3 sayit-0 2016-10-23 18:07:57.785 info saying: Achtung! Das ist ein Test! javascript-0 2016-10-23 18:07:57.668 info Start javascript script.js.zsayit javascript-1 2016-10-23 18:07:57.663 info Stop script script.js.zsayit javascript-2 2016-10-23 18:07:57.660 info Stop script script.js.zsayit javascript-0 2016-10-23 18:07:57.655 info Stop script script.js.zsayit
-
Das modul sonos-discovery wurde komplett geändert. Deswegen sollte iobroker.sonos auch ziemlich überarbeitet werden.
Jetzt (auf den ersten blick) läuft TTS und wird sogar bei radio weiter laufen.
-
Jetzt erst den Fehler gefunden: "Fade in" und "Fade out" waren nicht gefüllt, deshalb war wohl nichts zu hören.
Danke!