Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Sayit wird plötzlich nicht mehr getriggert

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Sayit wird plötzlich nicht mehr getriggert

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

      In deiner Konstellation sind viele Komponenten eschäftigt und es kann überall was nicht gehen.

      Wie wird so ein sayit über trigger getriggert:

      1. Js Adapter wartet auf einer Variable.

      2. Js Adapter sendet an sayit eine sendTo Meldung

      3. Sayit holt die Sprachdatei bei Google und lädt das in DB

      4. Sayit sendet sendTo Meldung an Sonos mit Eingabe von URL wo die Datei abgespielt werden kann.

      5. Sonos merkt sich was gerade gespielt wird und platziert neues Lied

      6. Sonos sendet Play Kommando und wartet auf stop

      7. Sonos löscht hinzugefügten track und stellt die Trackposition wieder.

      An jedem Schritt kann was kaputt gehen. Ich wurde von unten nach oben gehen und versuchen jeden Schritt zu testen.

      Ist Sonos da? Kann man den steuern?

      Wenn ich per Hand Sayit.0.tts.Text eingebe ist meine mp3 Datei da? Kann ich die abspielen? Kann ich die über url abspielen? Wird Sonos angetrigfert?

      Generell log Level bei Komponenten auf Debug stellen.

      Dann wird mein Trigger getriggert? Was kommt da?

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

        Versuch mal noch bei deinen Triggern

        change: 'any'

        Hinzufügen

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

          Hi Bluefox,

          wie oben schon geschrieben habe, Sonos ist da und lässt sich auch über die sonos website steuern (http://192.168.30.9:8080/)

          Wenn ich per Hand ein Wort in sayit.0.tts.text eingebe, dann wird ein entsprechendes mp3 file in C:\Program Files\ioBroker\cache erstellt.

          Dieses mp3 file kann ich z.B. mit dem Windows Media Player abspielen und es wird der Text gesagt, den ich eingegeben habe.
          415_sayit.0obj1.png
          Wenn ich die URL im Browser eingebe http://192.168.30.9:8082/state/sayit.0.tts.mp3, dann kann ich ebenfalls das mp3 file herunterladen und abspielen.

          Es wird aber nicht über Sonos abgespielt und somit höre ich auch nichts, wenn ich per Hand einen Text eingebe…

          Im Log file erscheint diese Meldung:
          415_sayitlog1.png

          Das Log ist auf Debug eingestellt.

          Bei meinem KlingelScript weiter oben, frage ich ja meinen Klingeltaster als Trigger ab.

          Wenn der Klingeltaster kurz oder lang gedrückt wird, dann soll er maus.mp3 per sayit abspielen.

          Wenn ich den Klingeltaster drücke, wird aber gar nichts getriggert … als ob das Script gar nicht mitbekommt dass der Taster gedrückt worden ist ...

          @Bluefox:

          Versuch mal noch bei deinen Triggern

          change: 'any'

          Hinzufügen `

          Wie und wo muss ich das change: 'any' genau einbauen ?

          in meinem Script anstatt

          on({id: "hm-rpc.3.LEQxxxxxxx.1.PRESS_SHORT"/*Taster_Haustuer_Klingel.PRESS_SHORT*/, val: true}, esklingelt); //bei kurzem Tastendruck "esklingelt" aufrufen
          on({id: "hm-rpc.3.LEQxxxxxxx.1.PRESS_LONG"/*Taster_Haustuer_Klingel.PRESS_LONG*/, val: true}, esklingelt);   //bei langem Tastendruck "esklingelt" aufrufen
          

          ?

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

            on({id: "hm-rpc.3.LEQxxxxxxx.1.PRESS_SHORT"/*Taster_Haustuer_Klingel.PRESS_SHORT*/, change: 'any', val: true}, esklingelt);
            

            Wenn du ins sonos.0.root.192_168_30_17.tts dann

            50;http://192.168.30.9:8082/state/sayit.0.tts.mp3

            Einträgst.

            Was passiert dann?

            Und es sollte viel mehr logs bei sonos sein.

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

              @Bluefox:

              on({id: "hm-rpc.3.LEQxxxxxxx.1.PRESS_SHORT"/*Taster_Haustuer_Klingel.PRESS_SHORT*/, change: 'any', val: true}, esklingelt);
              

              das ändert leider gar nix … keine reaktion, keine meldung im log ... `
              @Bluefox:

              Wenn du ins sonos.0.root.192_168_30_17.tts dann

              50;http://192.168.30.9:8082/state/sayit.0.tts.mp3

              Einträgst.

              Was passiert dann?

              Und es sollte viel mehr logs bei sonos sein. `

              Dann erscheint folgendes im log:
              415_sonoslog.png

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

                Und du hast log level "debug"?

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

                  so schauts im log aus:

                  415_logsetting.png

                  1 Reply Last reply Reply Quote 0
                  • Jeeper.at
                    Jeeper.at last edited by

                    Im Log hilft es nichts wenn du Debug auswählst (Das ist nur ein Filter für die Anzeige).

                    Du musst in der Adapterinstanz den Loglevel umstellen. Da steht rechts neben der Instanz momentan wahrscheinlich "INFO". Dort auf "DEBUG" umstellen. Dann werden alle relevanten Daten ins Log geschrieben.

                    Wird das nicht mehr gebraucht zurückstellen nicht vergessen..

                    LG

                    Günther

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

                      Hallo Günther,

                      vielen Dank für die Info. Das wusste ich nicht.

                      Ich habe jetzt mal auf Debug umgestellt bei sonos und bei sayit.

                      folgendes wird jetzt im log angezeigt:

                      host.	2016-11-07 13:59:28.591	debug	redis publish io.system.adapter.sayit.0.uptime {"val":61,"ack":true,"ts":1478523568591,"q":0,"from":"system.adapter.sayit.0","lc":1478523568591}
                      host.	2016-11-07 13:59:28.576	debug	redis publish io.system.adapter.sayit.0.memHeapUsed {"val":14.13,"ack":true,"ts":1478523568576,"q":0,"from":"system.adapter.sayit.0","lc":1478523568576}
                      host.	2016-11-07 13:59:28.576	debug	redis publish io.system.adapter.sayit.0.memHeapTotal {"val":19.84,"ack":true,"ts":1478523568576,"q":0,"from":"system.adapter.sayit.0","lc":1478523508513}
                      host.	2016-11-07 13:59:28.576	debug	redis publish io.system.adapter.sayit.0.memRss {"val":33.23,"ack":true,"ts":1478523568576,"q":0,"from":"system.adapter.sayit.0","lc":1478523568576}
                      host.	2016-11-07 13:59:28.576	debug	redis publish io.system.adapter.sayit.0.connected {"val":true,"ack":true,"ts":1478523568576,"q":0,"from":"system.adapter.sayit.0","lc":1478523508513}
                      host.	2016-11-07 13:59:28.576	debug	redis publish io.system.adapter.sayit.0.alive {"val":true,"ack":true,"ts":1478523568576,"q":0,"from":"system.adapter.sayit.0","lc":1478523508513}
                      host.	2016-11-07 13:59:27.873	debug	redis publish io.system.adapter.sonos.0.uptime {"val":78,"ack":true,"ts":1478523567873,"q":0,"from":"system.adapter.sonos.0","lc":1478523567873}
                      host.	2016-11-07 13:59:27.873	debug	redis publish io.system.adapter.sonos.0.memHeapUsed {"val":30.7,"ack":true,"ts":1478523567873,"q":0,"from":"system.adapter.sonos.0","lc":1478523567873}
                      host.	2016-11-07 13:59:27.873	debug	redis publish io.system.adapter.sonos.0.memHeapTotal {"val":58.23,"ack":true,"ts":1478523567873,"q":0,"from":"system.adapter.sonos.0","lc":1478523507810}
                      host.	2016-11-07 13:59:27.873	debug	redis publish io.system.adapter.sonos.0.memRss {"val":65.5,"ack":true,"ts":1478523567873,"q":0,"from":"system.adapter.sonos.0","lc":1478523552857}
                      host.	2016-11-07 13:59:27.873	debug	redis publish io.system.adapter.sonos.0.connected {"val":true,"ack":true,"ts":1478523567873,"q":0,"from":"system.adapter.sonos.0","lc":1478523492795}
                      host.	2016-11-07 13:59:27.857	debug	redis publish io.system.adapter.sonos.0.alive {"val":true,"ack":true,"ts":1478523567857,"q":0,"from":"system.adapter.sonos.0","lc":1478523492795}
                      host.	2016-11-07 13:59:13.560	debug	redis publish io.system.adapter.sayit.0.uptime {"val":46,"ack":true,"ts":1478523553560,"q":0,"from":"system.adapter.sayit.0","lc":1478523553560}
                      host.	2016-11-07 13:59:13.560	debug	redis publish io.system.adapter.sayit.0.memHeapUsed {"val":13.94,"ack":true,"ts":1478523553560,"q":0,"from":"system.adapter.sayit.0","lc":1478523553560}
                      host.	2016-11-07 13:59:13.560	debug	redis publish io.system.adapter.sayit.0.memHeapTotal {"val":19.84,"ack":true,"ts":1478523553560,"q":0,"from":"system.adapter.sayit.0","lc":1478523508513}
                      host.	2016-11-07 13:59:13.560	debug	redis publish io.system.adapter.sayit.0.memRss {"val":33.19,"ack":true,"ts":1478523553560,"q":0,"from":"system.adapter.sayit.0","lc":1478523553560}
                      host.	2016-11-07 13:59:13.560	debug	redis publish io.system.adapter.sayit.0.connected {"val":true,"ack":true,"ts":1478523553560,"q":0,"from":"system.adapter.sayit.0","lc":1478523508513}
                      host.	2016-11-07 13:59:13.560	debug	redis publish io.system.adapter.sayit.0.alive {"val":true,"ack":true,"ts":1478523553560,"q":0,"from":"system.adapter.sayit.0","lc":1478523508513}
                      host.	2016-11-07 13:59:12.873	debug	redis publish io.system.adapter.sonos.0.uptime {"val":63,"ack":true,"ts":1478523552873,"q":0,"from":"system.adapter.sonos.0","lc":1478523552873}
                      host.	2016-11-07 13:59:12.857	debug	redis publish io.system.adapter.sonos.0.memHeapUsed {"val":30.56,"ack":true,"ts":1478523552857,"q":0,"from":"system.adapter.sonos.0","lc":1478523552857}
                      host.	2016-11-07 13:59:12.857	debug	redis publish io.system.adapter.sonos.0.memHeapTotal {"val":58.23,"ack":true,"ts":1478523552857,"q":0,"from":"system.adapter.sonos.0","lc":1478523507810}
                      host.	2016-11-07 13:59:12.857	debug	redis publish io.system.adapter.sonos.0.memRss {"val":65.5,"ack":true,"ts":1478523552857,"q":0,"from":"system.adapter.sonos.0","lc":1478523552857}
                      host.	2016-11-07 13:59:12.857	debug	redis publish io.system.adapter.sonos.0.connected {"val":true,"ack":true,"ts":1478523552857,"q":0,"from":"system.adapter.sonos.0","lc":1478523492795}
                      host.	2016-11-07 13:59:12.857	debug	redis publish io.system.adapter.sonos.0.alive {"val":true,"ack":true,"ts":1478523552857,"q":0,"from":"system.adapter.sonos.0","lc":1478523492795}
                      hm-rpc.2	2016-11-07 13:59:03.873	info	xmlrpc -> listDevices 0
                      host.	2016-11-07 13:58:58.560	debug	redis publish io.system.adapter.sayit.0.uptime {"val":31,"ack":true,"ts":1478523538560,"q":0,"from":"system.adapter.sayit.0","lc":1478523538560}
                      host.	2016-11-07 13:58:58.560	debug	redis publish io.system.adapter.sayit.0.memHeapUsed {"val":13.76,"ack":true,"ts":1478523538560,"q":0,"from":"system.adapter.sayit.0","lc":1478523538560}
                      host.	2016-11-07 13:58:58.560	debug	redis publish io.system.adapter.sayit.0.memHeapTotal {"val":19.84,"ack":true,"ts":1478523538560,"q":0,"from":"system.adapter.sayit.0","lc":1478523508513}
                      host.	2016-11-07 13:58:58.545	debug	redis publish io.system.adapter.sayit.0.memRss {"val":33.21,"ack":true,"ts":1478523538545,"q":0,"from":"system.adapter.sayit.0","lc":1478523538545}
                      host.	2016-11-07 13:58:58.545	debug	redis publish io.system.adapter.sayit.0.connected {"val":true,"ack":true,"ts":1478523538545,"q":0,"from":"system.adapter.sayit.0","lc":1478523508513}
                      host.	2016-11-07 13:58:58.529	debug	redis publish io.system.adapter.sayit.0.alive {"val":true,"ack":true,"ts":1478523538529,"q":0,"from":"system.adapter.sayit.0","lc":1478523508513}
                      host.	2016-11-07 13:58:57.842	debug	redis publish io.system.adapter.sonos.0.uptime {"val":48,"ack":true,"ts":1478523537842,"q":0,"from":"system.adapter.sonos.0","lc":1478523537842}
                      host.	2016-11-07 13:58:57.842	debug	redis publish io.system.adapter.sonos.0.memHeapUsed {"val":30.4,"ack":true,"ts":1478523537842,"q":0,"from":"system.adapter.sonos.0","lc":1478523537842}
                      host.	2016-11-07 13:58:57.842	debug	redis publish io.system.adapter.sonos.0.memHeapTotal {"val":58.23,"ack":true,"ts":1478523537842,"q":0,"from":"system.adapter.sonos.0","lc":1478523507810}
                      host.	2016-11-07 13:58:57.842	debug	redis publish io.system.adapter.sonos.0.memRss {"val":65.48,"ack":true,"ts":1478523537842,"q":0,"from":"system.adapter.sonos.0","lc":1478523507810}
                      host.	2016-11-07 13:58:57.842	debug	redis publish io.system.adapter.sonos.0.connected {"val":true,"ack":true,"ts":1478523537842,"q":0,"from":"system.adapter.sonos.0","lc":1478523492795}
                      host.	2016-11-07 13:58:57.842	debug	redis publish io.system.adapter.sonos.0.alive {"val":true,"ack":true,"ts":1478523537842,"q":0,"from":"system.adapter.sonos.0","lc":1478523492795}
                      host.	2016-11-07 13:58:43.545	debug	redis publish io.system.adapter.sayit.0.uptime {"val":16,"ack":true,"ts":1478523523545,"q":0,"from":"system.adapter.sayit.0","lc":1478523523545}
                      host.	2016-11-07 13:58:43.529	debug	redis publish io.system.adapter.sayit.0.memHeapUsed {"val":13.6,"ack":true,"ts":1478523523529,"q":0,"from":"system.adapter.sayit.0","lc":1478523523529}
                      host.	2016-11-07 13:58:43.529	debug	redis publish io.system.adapter.sayit.0.memHeapTotal {"val":19.84,"ack":true,"ts":1478523523529,"q":0,"from":"system.adapter.sayit.0","lc":1478523508513}
                      host.	2016-11-07 13:58:43.513	debug	redis publish io.system.adapter.sayit.0.memRss {"val":33.19,"ack":true,"ts":1478523523513,"q":0,"from":"system.adapter.sayit.0","lc":1478523523513}
                      host.	2016-11-07 13:58:43.513	debug	redis publish io.system.adapter.sayit.0.connected {"val":true,"ack":true,"ts":1478523523513,"q":0,"from":"system.adapter.sayit.0","lc":1478523508513}
                      host.	2016-11-07 13:58:43.513	debug	redis publish io.system.adapter.sayit.0.alive {"val":true,"ack":true,"ts":1478523523513,"q":0,"from":"system.adapter.sayit.0","lc":1478523508513}
                      host.	2016-11-07 13:58:42.826	debug	redis publish io.system.adapter.sonos.0.uptime {"val":33,"ack":true,"ts":1478523522826,"q":0,"from":"system.adapter.sonos.0","lc":1478523522826}
                      host.	2016-11-07 13:58:42.826	debug	redis publish io.system.adapter.sonos.0.memHeapUsed {"val":30.02,"ack":true,"ts":1478523522826,"q":0,"from":"system.adapter.sonos.0","lc":1478523522826}
                      host.	2016-11-07 13:58:42.826	debug	redis publish io.system.adapter.sonos.0.memHeapTotal {"val":58.23,"ack":true,"ts":1478523522826,"q":0,"from":"system.adapter.sonos.0","lc":1478523507810}
                      host.	2016-11-07 13:58:42.826	debug	redis publish io.system.adapter.sonos.0.memRss {"val":65.48,"ack":true,"ts":1478523522826,"q":0,"from":"system.adapter.sonos.0","lc":1478523507810}
                      host.	2016-11-07 13:58:42.826	debug	redis publish io.system.adapter.sonos.0.connected {"val":true,"ack":true,"ts":1478523522826,"q":0,"from":"system.adapter.sonos.0","lc":1478523492795}
                      host.	2016-11-07 13:58:42.826	debug	redis publish io.system.adapter.sonos.0.alive {"val":true,"ack":true,"ts":1478523522826,"q":0,"from":"system.adapter.sonos.0","lc":1478523492795}
                      javascript.0	2016-11-07 13:58:39.357	warn	State "sayit.1.tts.text" not found
                      host.	2016-11-07 13:58:28.529	debug	redis get sayit.0.tts.playing ok: {"val":false,"ack":true,"ts":1478418142739,"q":0,"from":"system.adapter.sayit.0","lc":1478418142739}
                      host.	2016-11-07 13:58:28.529	debug	redis get sayit.0.tts.volume ok: {"val":70,"ack":true,"ts":1478418142739,"q":0,"from":"system.adapter.sayit.0","lc":1478418142739}
                      host.	2016-11-07 13:58:28.529	debug	redis get sayit.0.tts.text ok: {"val":"Beispiel","ack":false,"ts":1478425437819,"q":0,"from":"system.adapter.admin.0","lc":1478425437819}
                      host.	2016-11-07 13:58:28.529	debug	redis psubscribe io.sayit.0.*
                      host.	2016-11-07 13:58:28.513	debug	redis mget 1 1
                      host.	2016-11-07 13:58:28.513	debug	redis publish io.system.adapter.sayit.0.uptime {"val":1,"ack":true,"ts":1478523508513,"q":0,"from":"system.adapter.sayit.0","lc":1478523508513}
                      host.	2016-11-07 13:58:28.513	debug	redis publish io.system.adapter.sayit.0.memHeapUsed {"val":13.09,"ack":true,"ts":1478523508513,"q":0,"from":"system.adapter.sayit.0","lc":1478523508513}
                      host.	2016-11-07 13:58:28.513	debug	redis publish io.system.adapter.sayit.0.memHeapTotal {"val":19.84,"ack":true,"ts":1478523508513,"q":0,"from":"system.adapter.sayit.0","lc":1478523508513}
                      host.	2016-11-07 13:58:28.513	debug	redis publish io.system.adapter.sayit.0.memRss {"val":32.63,"ack":true,"ts":1478523508513,"q":0,"from":"system.adapter.sayit.0","lc":1478523508513}
                      host.	2016-11-07 13:58:28.513	debug	redis publish io.system.adapter.sayit.0.connected {"val":true,"ack":true,"ts":1478523508513,"q":0,"from":"system.adapter.sayit.0","lc":1478523508513}
                      host.	2016-11-07 13:58:28.513	debug	redis publish io.system.adapter.sayit.0.alive {"val":true,"ack":true,"ts":1478523508513,"q":0,"from":"system.adapter.sayit.0","lc":1478523508513}
                      host.	2016-11-07 13:58:28.513	debug	redis keys 1 *.logging
                      sayit.0	2016-11-07 13:58:28.498	info	Upload announce mp3 files
                      sayit.0	2016-11-07 13:58:28.498	info	starting. Version 1.1.2 in C:/Program Files/ioBroker/node_modules/iobroker.sayit, node: v4.6.0
                      host.	2016-11-07 13:58:28.466	debug	redis get system.adapter.sayit.0.alive ok: {"val":false,"ack":true,"ts":1478523504795,"q":0,"from":"system.host.SERVER","lc":1478523504795}
                      host.	2016-11-07 13:58:28.466	info	States connected to redis 127.0.0.1:6379
                      sayit.0	2016-11-07 13:58:28.451	debug	statesDB connected
                      sayit.0	2016-11-07 13:58:28.435	debug	objectDB connected
                      host.	2016-11-07 13:58:27.810	debug	redis publish io.system.adapter.sonos.0.uptime {"val":18,"ack":true,"ts":1478523507810,"q":0,"from":"system.adapter.sonos.0","lc":1478523507810}
                      host.	2016-11-07 13:58:27.810	debug	redis publish io.system.adapter.sonos.0.memHeapUsed {"val":29.79,"ack":true,"ts":1478523507810,"q":0,"from":"system.adapter.sonos.0","lc":1478523507810}
                      host.	2016-11-07 13:58:27.810	debug	redis publish io.system.adapter.sonos.0.memHeapTotal {"val":58.23,"ack":true,"ts":1478523507810,"q":0,"from":"system.adapter.sonos.0","lc":1478523507810}
                      host.	2016-11-07 13:58:27.810	debug	redis publish io.system.adapter.sonos.0.memRss {"val":65.48,"ack":true,"ts":1478523507810,"q":0,"from":"system.adapter.sonos.0","lc":1478523507810}
                      host.	2016-11-07 13:58:27.810	debug	redis publish io.system.adapter.sonos.0.connected {"val":true,"ack":true,"ts":1478523507810,"q":0,"from":"system.adapter.sonos.0","lc":1478523492795}
                      host.	2016-11-07 13:58:27.810	debug	redis publish io.system.adapter.sonos.0.alive {"val":true,"ack":true,"ts":1478523507810,"q":0,"from":"system.adapter.sonos.0","lc":1478523492795}
                      host.SERVER	2016-11-07 13:58:27.279	info	instance system.adapter.sayit.0 started with pid 14260
                      host.SERVER	2016-11-07 13:58:24.795	info	instance system.adapter.sayit.0 terminated with code null ()
                      host.SERVER	2016-11-07 13:58:24.795	warn	instance system.adapter.sayit.0 terminated due to SIGTERM
                      host.SERVER	2016-11-07 13:58:24.748	info	stopInstance system.adapter.sayit.0 killing pid 6876
                      host.SERVER	2016-11-07 13:58:24.748	info	stopInstance system.adapter.sayit.0
                      host.SERVER	2016-11-07 13:58:24.748	info	object change system.adapter.sayit.0
                      host.	2016-11-07 13:58:13.576	debug	redis pmessage io.sonos.0.* io.sonos.0.root.192_168_30_17.state {"val":"stop","ack":true,"ts":1478523493560,"q":0,"from":"system.adapter.sonos.0","lc":1478418107707}
                      host.	2016-11-07 13:58:13.576	debug	redis pmessage io.sonos.0.* io.sonos.0.root.192_168_30_17.state_simple {"val":false,"ack":true,"ts":1478523493560,"q":0,"from":"system.adapter.sonos.0","lc":1478418107707}
                      host.	2016-11-07 13:58:13.576	debug	redis pmessage io.sonos.0.* io.sonos.0.root.192_168_30_17.alive {"val":true,"ack":true,"ts":1478523493560,"q":0,"from":"system.adapter.sonos.0","lc":1478418466905}
                      host.	2016-11-07 13:58:13.560	debug	redis publish io.sonos.0.root.192_168_30_17.state {"val":"stop","ack":true,"ts":1478523493560,"q":0,"from":"system.adapter.sonos.0","lc":1478418107707}
                      host.	2016-11-07 13:58:13.560	debug	redis publish io.sonos.0.root.192_168_30_17.state_simple {"val":false,"ack":true,"ts":1478523493560,"q":0,"from":"system.adapter.sonos.0","lc":1478418107707}
                      host.	2016-11-07 13:58:13.560	debug	redis publish io.sonos.0.root.192_168_30_17.alive {"val":true,"ack":true,"ts":1478523493560,"q":0,"from":"system.adapter.sonos.0","lc":1478418466905}
                      sonos.0	2016-11-07 13:58:13.560	debug	> playbackState: STOPPED - x-sonosapi-stream:s68932?sid=254&flags=32
                      sonos.0	2016-11-07 13:58:13.529	debug	group-mute {"uuid":"RINCON_000E5828E4E601400","previousMute":false,"newMute":false,"roomName":"Esszimmer/Küche"}
                      host.	2016-11-07 13:58:13.295	debug	redis pmessage io.sonos.0.* io.sonos.0.root.192_168_30_17.alive {"val":true,"ack":true,"ts":1478523493264,"q":0,"from":"system.adapter.sonos.0","lc":1478418466905}
                      host.	2016-11-07 13:58:13.264	debug	redis publish io.sonos.0.root.192_168_30_17.alive {"val":true,"ack":true,"ts":1478523493264,"q":0,"from":"system.adapter.sonos.0","lc":1478418466905}
                      host.	2016-11-07 13:58:12.967	debug	redis get sonos.0.root.192_168_30_17.remove_from_group ok: {"val":"","ack":false,"ts":1478418466608,"q":0,"from":"system.adapter.sonos.0","lc":1478418082536}
                      host.	2016-11-07 13:58:12.967	debug	redis get sonos.0.root.192_168_30_17.add_to_group ok: {"val":"","ack":false,"ts":1478418466608,"q":0,"from":"system.adapter.sonos.0","lc":1478418082536}
                      sonos.0	2016-11-07 13:58:12.935	info	http sonos server listening on port 8080
                      host.	2016-11-07 13:58:12.810	debug	redis psubscribe io.sonos.0.*
                      host.	2016-11-07 13:58:12.795	debug	redis mget 1 1
                      host.	2016-11-07 13:58:12.795	debug	redis publish io.system.adapter.sonos.0.uptime {"val":3,"ack":true,"ts":1478523492795,"q":0,"from":"system.adapter.sonos.0","lc":1478523492795}
                      host.	2016-11-07 13:58:12.795	debug	redis publish io.system.adapter.sonos.0.memHeapUsed {"val":26.72,"ack":true,"ts":1478523492795,"q":0,"from":"system.adapter.sonos.0","lc":1478523492795}
                      host.	2016-11-07 13:58:12.795	debug	redis publish io.system.adapter.sonos.0.memHeapTotal {"val":55.29,"ack":true,"ts":1478523492795,"q":0,"from":"system.adapter.sonos.0","lc":1478523492795}
                      host.	2016-11-07 13:58:12.795	debug	redis publish io.system.adapter.sonos.0.memRss {"val":53.52,"ack":true,"ts":1478523492795,"q":0,"from":"system.adapter.sonos.0","lc":1478523492795}
                      host.	2016-11-07 13:58:12.795	debug	redis publish io.system.adapter.sonos.0.connected {"val":true,"ack":true,"ts":1478523492795,"q":0,"from":"system.adapter.sonos.0","lc":1478523492795}
                      host.	2016-11-07 13:58:12.795	debug	redis publish io.system.adapter.sonos.0.alive {"val":true,"ack":true,"ts":1478523492795,"q":0,"from":"system.adapter.sonos.0","lc":1478523492795}
                      host.	2016-11-07 13:58:12.795	debug	redis keys 1 *.logging
                      sonos.0	2016-11-07 13:58:12.779	info	starting. Version 1.2.0 in C:/Program Files/ioBroker/node_modules/iobroker.sonos, node: v4.6.0
                      host.	2016-11-07 13:58:12.748	debug	redis get system.adapter.sonos.0.alive ok: {"val":false,"ack":true,"ts":1478523487014,"q":0,"from":"system.host.SERVER","lc":1478523487014}
                      host.	2016-11-07 13:58:12.732	info	States connected to redis 127.0.0.1:6379
                      sonos.0	2016-11-07 13:58:12.717	debug	statesDB connected
                      sonos.0	2016-11-07 13:58:12.685	debug	objectDB connected
                      host.SERVER	2016-11-07 13:58:09.498	info	instance system.adapter.sonos.0 started with pid 21560
                      host.SERVER	2016-11-07 13:58:07.014	info	instance system.adapter.sonos.0 terminated with code null ()
                      
                      1 Reply Last reply Reply Quote 0
                      • Jeeper.at
                        Jeeper.at last edited by

                        Was mir hier auffällt:

                        Der JavaScript-Adapter versucht auf eine 2. Sayit Instanz zuzugreifen. Die gibt es wahrscheinlich gar nicht.

                        javascript.0   2016-11-07 13:58:39.357   warn   State "sayit.1.tts.text" not found
                        

                        Sonst passiert alles auf sayit.0, dieser Zugriff passiert auf sayit.1

                        lg

                        Günther

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

                          Hallo Günther,

                          ja, das liegt daran, weil ein anderes Script auf sayit.1 zugreift.

                          Ich habe mittlerweile zu Testzwecken die sayit.1 Instanz entfernt, um den Fehler eingrenzen zu können.

                          Mein Klingelscript weiter oben hat aber damit nix zu tun und sollte eigentlich funktionieren mit sayit.0… tut es aber leider nicht. 😞

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

                            So, ich habe jetzt meine komplette iobroker Installation geplättet.

                            iobroker deinstalliert

                            nodejs deinstalliert

                            Den iobroker Ordner + sämtliche Reste in der Registry entfernt

                            Server neu gestartet und alles komplett frisch mit dem Windows Installer 0.8 von der website installiert.

                            Die Adapter habe ich 1:1 wieder so eingerichtet wie zuvor.

                            Das Problem besteht weiterhin… 😞

                            Das o.g. Klingelscript bewirkt gar nichts... als ob es gar nicht existieren würde.

                            Wie kann ich überprüfen ob die Script Engine auf Objects-Änderungen reagiert ?

                            Wie kann ich sonst noch den Fehler eingrenzen ?

                            1 Reply Last reply Reply Quote 0
                            • htrecksler
                              htrecksler Forum Testing last edited by

                              kann es vielleicht sein, das der "PRESS_SHORT" nicht funktioniert?

                              Ich habe das aktuell auch bei einem 2-fach Schalter. Der PRESS_SHORT löst nichts aus.

                              leg den subscribe doch mal auf den Datenpunkt "INSTALL_TEST.

                              1 Reply Last reply Reply Quote 0
                              • htrecksler
                                htrecksler Forum Testing last edited by

                                sehen kannst du das sonst auch wenn du im ioBroker Admin unter Zustände mal in der Spalte ID auf die Seriennummer des Gerätes filterst. Dann hast du alle Datenpunkte des Aktors mit ihren Zuständen. Und bei mir sind die Zeilen bei PRESS_SHORT, PRESS_LONG und PRESS_CONT für das Gerät alle leer.

                                Ich hab mich aber noch nicht weiter darum gekümmert, weil ich das Gerät im Moment nur zum Testen nutze, und da reicht mir der Datenpunkt INSTALL_TEST. (den löst du übrigens auch mit einem kurzen druck aus)

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

                                  Auch wenn ich im Script anstatt PRESS_SHORT INSTALL_TEST versuche, ändert sich nichts…

                                  Es wird nichts getriggert. Obwohl er bei jedem Tastendruck die Uhrzeit in der Spalte "Geändert" aber schon aktualisiert, also iobroker bekommt es sofort mit wenn die Taste gedrückt wird. Nur leider anscheinend die Script Engine nicht ...

                                  Die Zustände schauen so aus:

                                  415_taster_id.png

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

                                    Und so?

                                    on({id: "hm-rpc.3.LEQxxxxxxx.1.PRESS_SHORT"/*Taster_Haustuer_Klingel.PRESS_SHORT*/, change: 'any'}, esklingelt);
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • Q
                                      Qlink last edited by

                                      tut sich auch nichts:

                                      415_klingel_log.png

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

                                        @Qlink:

                                        tut sich auch nichts:

                                        klingel_log.PNG `
                                        Das kann nicht sein, dann ist dein JS adapter disabled oder Skript disabled oder ID ist falsch.

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

                                          Hi Bluefox,

                                          es verhält sich genau so als ob entweder der JS Adapter disabled wäre, das Script disabled wäre oder die ID falsch wäre.

                                          Das Problem ist nur, keines diese Dinge trifft zu:

                                          415_javascriptadapter.png
                                          415_klingelscript.png
                                          415_id.png

                                          Hab echt keinen Plan mehr wo das Problem noch liegen könnte 😞

                                          Vorallem, hat das Script so ja mehrere Wochen ohne Probleme funktioniert…

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

                                            Wenn du einfach im Script ganz vorne schreibst:

                                            console.log('PRESS_SHORT = ' + getState("hm-rpc.3.LEQ0117522.1.PRESS_SHORT").val);
                                            on({id: "hm-rpc.0.LEQ0117522.1.PRESS_SHORT", change: 'any'}, function (obj) {
                                                console.log('PRESS_SHORT');
                                            });
                                            

                                            Was ist mit log wenn du Knopf kurz druckst?

                                            Übrigens: du hast manchmal "hm-rpc.3.LEQxxxxxxx.1.PRESS_SHORT", manchmal "hm-rpc.0.LEQxxxxxxx.1.PRESS_SHORT". Hast du das im Griff?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            481
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            26
                                            2239
                                            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