Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [fixed]nach SONOS Update auf 1.7.2 funktioniert sayit Script Klingel nicht mehr

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    [fixed]nach SONOS Update auf 1.7.2 funktioniert sayit Script Klingel nicht mehr

    This topic has been deleted. Only users with topic management privileges can see it.
    • Q
      Qlink last edited by

      Hi Leute,

      ich habe auf Version 1.7.2 des Sonos Adapters upgedated.

      Seit dem Update, bekomme ich folgende Fehlermeldung, wenn mein Klingel Script ausgeführt wird:

      host.iobroker	2018-07-23 08:24:37.347	error	instance system.adapter.sonos.0 terminated with code 0 (OK)
      Caught	2018-07-23 08:24:37.347	error	by controller[0]: at Timer.listOnTimeout (timers.js:290:5)
      Caught	2018-07-23 08:24:37.347	error	by controller[0]: at tryOnTimeout (timers.js:323:5)
      Caught	2018-07-23 08:24:37.347	error	by controller[0]: at ontimeout (timers.js:508:15)
      Caught	2018-07-23 08:24:37.347	error	by controller[0]: at Timeout.playOnSonos [as _onTimeout] (C:\ioBroker\node_modules\iobroker.sonos\main.js:987:9)
      Caught	2018-07-23 08:24:37.347	error	by controller[0]: at fadeOut (C:\ioBroker\node_modules\iobroker.sonos\main.js:805:20)
      Caught	2018-07-23 08:24:37.347	error	by controller[0]: TypeError: Cannot create property 'actual' on boolean 'false'
      sonos.0	2018-07-23 08:24:37.299	info	terminating
      sonos.0	2018-07-23 08:24:37.299	error	at Timer.listOnTimeout (timers.js:290:5)
      sonos.0	2018-07-23 08:24:37.299	error	at tryOnTimeout (timers.js:323:5)
      sonos.0	2018-07-23 08:24:37.299	error	at ontimeout (timers.js:508:15)
      sonos.0	2018-07-23 08:24:37.299	error	at Timeout.playOnSonos [as _onTimeout] (C:\ioBroker\node_modules\iobroker.sonos\main.js:987:9)
      sonos.0	2018-07-23 08:24:37.299	error	at fadeOut (C:\ioBroker\node_modules\iobroker.sonos\main.js:805:20)
      sonos.0	2018-07-23 08:24:37.299	error	TypeError: Cannot create property 'actual' on boolean 'false'
      sonos.0	2018-07-23 08:24:37.299	error	uncaught exception: Cannot create property 'actual' on boolean 'false'
      

      Bei einer älteren Version funktioniert es normal.

      Ich hätte auch sämtliche Devices aus dem Sonos Adapter entfernt und neu eingelesen.

      Leider ohne Erfolg.

      Hier noch mein Klingelscript:

      var vol ="sayit.0.tts.volume";
      
      function esklingelt() {
          var idSonosfav = getState("sonos.0.root.192_168_30_17.favorites_set").val;                  //speichern des aktuellen Senders
          var idSonosplay = getState ("sonos.0.root.192_168_30_17.state_simple").val;                 //Status des Speakers
          if (idSonosplay) {                                                                           //Wenn Radio läuft
              sendTo('sonos', 'send', '50;http://192.168.30.9:8082/sayit.0/tts.userfiles/maus.mp3');  //Mp3 Ausgabe mit Lautstärke 60
              setState ("sonos.0.root.192_168_30_17.favorites_set", idSonosfav);                      //nach 23 Sekunden gespeicherten Favoriten Sender wieder stellen
              setStateDelayed ("sonos.0.root.192_168_30_17.state_simple", idSonosplay, 23000);        //nach 23 Sekunden wieder starten
          } else {                                                                                     //Wenn Radio nicht läuft
              sendTo('sonos', 'send', '50;http://192.168.30.9:8082/sayit.0/tts.userfiles/maus.mp3');  //Mp3 Ausgabe mit Lautstärke 60
          }
      }
      
      on({id: "hm-rpc.0.LEQ01xxxxx.1.PRESS_SHORT"/*Taster_Haustuer_Klingel.PRESS_SHORT*/, val: true}, esklingelt); //bei kurzem Tastendruck "esklingelt" aufrufen
      on({id: "hm-rpc.0.LEQ01xxxxx.1.PRESS_LONG"/*Taster_Haustuer_Klingel.PRESS_LONG*/, val: true}, esklingelt);   //bei langem Tastendruck "esklingelt" aufrufen
      

      Muss das Script an die neue Sonos Version angepasst werden ?

      1 Reply Last reply Reply Quote 0
      • 4
        4-Real last edited by

        nein, da muss der Adapter angepasst werden, dort scheint wohl ein Problem zu bestehen…

        Musste leider auch erst downgraden, also solange auf die alte Version vertrauen bis sich was geändert hat 🙂

        1 Reply Last reply Reply Quote 0
        • apollon77
          apollon77 last edited by

          Dann bitte Github issue mit dem Fehler anlegen

          1 Reply Last reply Reply Quote 0
          • Q
            Qlink last edited by

            done

            https://github.com/ioBroker/ioBroker.sonos/issues/30

            Qlink84 created this issue in ioBroker/ioBroker.sonos

            closed after update to 1.7.2, sayit "doorbell script" doesn't work anymore #30

            1 Reply Last reply Reply Quote 0
            • Stabilostick
              Stabilostick last edited by

              Auf GitHub:

              > Should be fixed in 1.7.4\.

              Bitte prüfen und Rückmeldung.

              1 Reply Last reply Reply Quote 0
              • M
                Matze1708 last edited by

                Wie komme ich an die 1.7.4 ?

                Bei mir ist das gleiche Problem… Git und npm verweisen auch noch auf die 1.7.2

                Lieben Dank

                1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators last edited by

                  @Matze1708:

                  Git und npm verweisen auch noch auf die 1.7.2 `
                  npm ist klar, aber wo hast du den Verweis bei git?

                  Über das Octocat-Icon installiert?

                  Gruß

                  Rainer

                  1 Reply Last reply Reply Quote 0
                  • Q
                    Qlink last edited by

                    @Stabilostick:

                    Auf GitHub:

                    > Should be fixed in 1.7.4\.

                    Bitte prüfen und Rückmeldung. `

                    Mit 1.7.4 funktioniert das Klingel Script wieder 🙂

                    Problem behoben.

                    Vielen Danke.

                    1 Reply Last reply Reply Quote 0
                    • C
                      chka last edited by

                      kann sein das es mit der aktuell angebotenen GitHub version 1.7.6 auch leider nicht geht?

                      1 Reply Last reply Reply Quote 0
                      • Q
                        Qlink last edited by

                        Bei mir geht es mit der 1.7.4 und der 1.7.6 Version plötzlich auch nicht mehr.

                        Es kommt keine Fehlermeldung im Log. Sieht alles normal aus, aber man hört nichts.

                        Wenn ich parallel im Sonos Controller schaue wird sogar das richtige mp3 file angezeigt, aber eben nicht abgespielt.

                        Drücke ich manuell beim Sonos Controller auf Play, dann hört man das maus.mp3 ?!?

                        javascript.0	2018-08-17 10:10:51.108	info	script.js.KlingelV2: sendTo(adapter=sonos, cmd=send, msg="50;http://192.168.30.9:8082/sayit.0/tts.userfiles/maus.mp3")
                        javascript.0	2018-08-17 10:10:51.108	info	script.js.KlingelV2: getState(id=sonos.0.root.192_168_30_17.state_simple, timerId=1) => {"val":false,"ack":true,"ts":1534493411699,"q":0,"from":"system.adapter.sonos.0","lc":1534493136035}
                        javascript.0	2018-08-17 10:10:51.108	info	script.js.KlingelV2: getState(id=sonos.0.root.192_168_30_17.favorites_set, timerId=1) => {"val":null,"ack":false,"ts":1534408963521,"q":0,"from":"system.adapter.javascript.0","lc":1497952270131}
                        javascript.0	2018-08-17 10:10:51.094	info	script.js.KlingelV2: sendTo(adapter=sonos, cmd=send, msg="50;http://192.168.30.9:8082/sayit.0/tts.userfiles/maus.mp3")
                        javascript.0	2018-08-17 10:10:51.094	info	script.js.KlingelV2: getState(id=sonos.0.root.192_168_30_17.state_simple, timerId=1) => {"val":false,"ack":true,"ts":1534493411699,"q":0,"from":"system.adapter.sonos.0","lc":1534493136035}
                        javascript.0	2018-08-17 10:10:51.094	info	script.js.KlingelV2: getState(id=sonos.0.root.192_168_30_17.favorites_set, timerId=1) => {"val":null,"ack":false,"ts":1534408963521,"q":0,"from":"system.adapter.javascript.0","lc":1497952270131}
                        javascript.0	2018-08-17 10:10:24.307	info	script.js.KlingelV2: sendTo(adapter=sonos, cmd=send, msg="50;http://192.168.30.9:8082/sayit.0/tts.userfiles/maus.mp3")
                        

                        Hab schon den iobroker host neu gestartet und sämtliche Sonos Player stromlos gemacht.

                        Leider ohne Erfolg.

                        Hat jemand eine Idee ?

                        1 Reply Last reply Reply Quote -1
                        • Q
                          Qlink last edited by

                          Habe das Problem gefunden.

                          Anscheinend hat sich mein Rega Adapter verabschiedet und keine Aktualisierungen von der CCU mehr erhalten.

                          Leider hat er das ohne Fehlermeldung gemacht. Auch die Adapteranzeige war auf grün, so dass alles normal ausgesehen hat.

                          Hab den Adapter neu gestartet und jetzt funktioniert auch das Klingelscript wieder(auch mit sonos 1.7.6)…

                          Kann ich hier eine Überwachung oder ähnliches einbauen, um so einer Problematik vorbeugen zu können ?

                          1 Reply Last reply Reply Quote 0
                          • Q
                            Qlink last edited by

                            Heute funktioniert das Klingelscript plötzlich wieder nicht:

                            Folgendes wird im Log angezeigt:

                            sonos.0	2018-08-19 10:22:57.561	info	http sonos server listening on port 8080
                            sonos.0	2018-08-19 10:22:57.561	info	starting. Version 1.7.6 in C:/ioBroker/node_modules/iobroker.sonos, node: v8.11.3
                            host.iobroker	2018-08-19 10:22:55.126	info	instance system.adapter.sonos.0 started with pid 2952
                            host.iobroker	2018-08-19 10:22:54.111	info	Restart adapter system.adapter.sonos.0 because enabled
                            host.iobroker	2018-08-19 10:22:54.111	error	instance system.adapter.sonos.0 terminated with code 0 (OK)
                            host.iobroker	2018-08-19 10:22:54.111	error	Caught by controller[1]: at process._tickCallback (internal/process/next_tick.js:180:9)
                            host.iobroker	2018-08-19 10:22:54.111	error	Caught by controller[1]: at _combinedTickCallback (internal/process/next_tick.js:135:11)
                            host.iobroker	2018-08-19 10:22:54.111	error	Caught by controller[1]: at listOnTimeoutNT (timers.js:369:26)
                            host.iobroker	2018-08-19 10:22:54.111	error	Caught by controller[1]: at Timer.listOnTimeout (timers.js:290:5)
                            host.iobroker	2018-08-19 10:22:54.111	error	Caught by controller[1]: at tryOnTimeout (timers.js:323:5)
                            host.iobroker	2018-08-19 10:22:54.111	error	Caught by controller[1]: at ontimeout (timers.js:508:15)
                            host.iobroker	2018-08-19 10:22:54.111	error	Caught by controller[1]: at Timeout.playOnSonos [as _onTimeout] (C:\ioBroker\node_modules\iobroker.sonos\main.js:1015:9)
                            host.iobroker	2018-08-19 10:22:54.111	error	Caught by controller[1]: at fadeOut (C:\ioBroker\node_modules\iobroker.sonos\main.js:821:38)
                            host.iobroker	2018-08-19 10:22:54.111	error	Caught by controller[1]: TypeError: Cannot read property 'actual' of undefined
                            host.iobroker	2018-08-19 10:22:54.111	error	Caught by controller[0]: at Timer.listOnTimeout (timers.js:290:5)
                            host.iobroker	2018-08-19 10:22:54.111	error	Caught by controller[0]: at tryOnTimeout (timers.js:323:5)
                            host.iobroker	2018-08-19 10:22:54.111	error	Caught by controller[0]: at ontimeout (timers.js:508:15)
                            host.iobroker	2018-08-19 10:22:54.111	error	Caught by controller[0]: at Timeout.playOnSonos [as _onTimeout] (C:\ioBroker\node_modules\iobroker.sonos\main.js:1015:9)
                            host.iobroker	2018-08-19 10:22:54.111	error	Caught by controller[0]: at fadeOut (C:\ioBroker\node_modules\iobroker.sonos\main.js:821:38)
                            host.iobroker	2018-08-19 10:22:54.111	error	Caught by controller[0]: TypeError: Cannot read property 'actual' of undefined
                            javascript.0	2018-08-19 10:22:54.016	info	script.js.KlingelV2: sendTo(adapter=sonos, cmd=send, msg="50;http://192.168.30.9:8082/sayit.0/tts.userfiles/maus.mp3")
                            javascript.0	2018-08-19 10:22:54.016	info	script.js.KlingelV2: getState(id=sonos.0.root.192_168_30_17.state_simple, timerId=3) => {"val":false,"ack":true,"ts":1534666939950,"q":0,"from":"system.adapter.sonos.0","lc":1534616747734}
                            javascript.0	2018-08-19 10:22:54.016	info	script.js.KlingelV2: getState(id=sonos.0.root.192_168_30_17.favorites_set, timerId=3) => {"val":null,"ack":false,"ts":1534408963521,"q":0,"from":"system.adapter.javascript.0","lc":1497952270131}
                            javascript.0	2018-08-19 10:22:54.016	info	script.js.KlingelV2: sendTo(adapter=sonos, cmd=send, msg="50;http://192.168.30.9:8082/sayit.0/tts.userfiles/maus.mp3")
                            javascript.0	2018-08-19 10:22:54.016	info	script.js.KlingelV2: getState(id=sonos.0.root.192_168_30_17.state_simple, timerId=3) => {"val":false,"ack":true,"ts":1534666939950,"q":0,"from":"system.adapter.sonos.0","lc":1534616747734}
                            javascript.0	2018-08-19 10:22:54.016	info	script.js.KlingelV2: getState(id=sonos.0.root.192_168_30_17.favorites_set, timerId=3) => {"val":null,"ack":false,"ts":1534408963521,"q":0,"from":"system.adapter.javascript.0","lc":1497952270131}
                            
                            
                            1 Reply Last reply Reply Quote 0
                            • C
                              chka last edited by

                              ich habe einfach in den Datenpunkt text von sayit folgendes eingefügt:

                              > de;20;Die Aktuelle außentemperatur beträgt 19,3 Grad Celsius.

                              in der 1.6.2 geht dies ohnen Probleme allneueren Versionen mögen dies nicht mehr

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              919
                              Online

                              31.6k
                              Users

                              79.5k
                              Topics

                              1.3m
                              Posts

                              7
                              13
                              1251
                              Loading More Posts
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes
                              Reply
                              • Reply as topic
                              Log in to reply
                              Community
                              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                              The ioBroker Community 2014-2023
                              logo