Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. [fixed]nach SONOS Update auf 1.7.2 funktioniert sayit Script Klingel nicht mehr

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.1k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.0k

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

Scheduled Pinned Locked Moved Error/Bug
13 Posts 7 Posters 1.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    Qlink
    wrote on last edited by
    #1

    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
    0
    • 4 Offline
      4 Offline
      4-Real
      wrote on last edited by
      #2

      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
      0
      • apollon77A Online
        apollon77A Online
        apollon77
        wrote on last edited by
        #3

        Dann bitte Github issue mit dem Fehler anlegen

        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
        1 Reply Last reply
        0
        • Q Offline
          Q Offline
          Qlink
          wrote on last edited by
          #4

          done

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

          1 Reply Last reply
          0
          • StabilostickS Online
            StabilostickS Online
            Stabilostick
            wrote on last edited by
            #5

            Auf GitHub:

            > Should be fixed in 1.7.4\.

            Bitte prüfen und Rückmeldung.

            1 Reply Last reply
            0
            • M Offline
              M Offline
              Matze1708
              wrote on last edited by
              #6

              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
              0
              • HomoranH Do not disturb
                HomoranH Do not disturb
                Homoran
                Global Moderator Administrators
                wrote on last edited by
                #7

                @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

                kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                1 Reply Last reply
                0
                • Q Offline
                  Q Offline
                  Qlink
                  wrote on last edited by
                  #8

                  @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
                  0
                  • C Offline
                    C Offline
                    chka
                    wrote on last edited by
                    #9

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

                    INTEL NUC BOXNUC6I3SYH i3-6100U - Proxmox

                    Speicher: Transcend MTS800 M.2 SSD 128GB SATA III, MLC

                    RAM: 40Gig Crucial 8GB DDR4 CT2K8G4SFS824A + 32GB DDR4CT32G4SFD8266

                    1 Reply Last reply
                    0
                    • Q Offline
                      Q Offline
                      Qlink
                      wrote on last edited by
                      #10

                      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
                      -1
                      • Q Offline
                        Q Offline
                        Qlink
                        wrote on last edited by
                        #11

                        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
                        0
                        • Q Offline
                          Q Offline
                          Qlink
                          wrote on last edited by
                          #12

                          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
                          0
                          • C Offline
                            C Offline
                            chka
                            wrote on last edited by
                            #13

                            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

                            INTEL NUC BOXNUC6I3SYH i3-6100U - Proxmox

                            Speicher: Transcend MTS800 M.2 SSD 128GB SATA III, MLC

                            RAM: 40Gig Crucial 8GB DDR4 CT2K8G4SFS824A + 32GB DDR4CT32G4SFD8266

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            590

                            Online

                            32.4k

                            Users

                            81.4k

                            Topics

                            1.3m

                            Posts
                            Community
                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                            ioBroker Community 2014-2025
                            logo
                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Recent
                            • Tags
                            • Unread 0
                            • Categories
                            • Unreplied
                            • Popular
                            • GitHub
                            • Docu
                            • Hilfe