Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. SayIT über Sonos?

    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 über Sonos?

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

      • Datei sonos.js ins Verzeichnis kopieren

      • im SayIT Adapter von alle Player nur einen Player rausgesucht

      • Sonos Adapter neu gestartet

      • SayIT Adapter neu gestartet

      sonos.0	2015-03-17 08:21:13	info	sonos.0 Set old track number 426
      sonos.0	2015-03-17 08:21:13	info	sonos.0 Restore volume 28
      sonos.0	2015-03-17 08:21:13	info	sonos.0 Restore state before TTS. Remove 124
      sonos.0	2015-03-17 08:21:13	info	sonos.0 New sonos state: PAUSED_PLAYBACK, time elapsed - 54253
      sonos.0	2015-03-17 08:20:20	info	sonos.0 New sonos state: PLAYING, time elapsed - 1236
      sonos.0	2015-03-17 08:20:20	info	sonos.0 New sonos state: PLAYING, time elapsed - 1042
      sonos.0	2015-03-17 08:20:19	info	sonos.0 New sonos state: PAUSED_PLAYBACK, time elapsed - 365
      sonos.0	2015-03-17 08:20:19	info	sonos.0 Send PLAY to (RINCON_B8E9378C56BC01400)
      sonos.0	2015-03-17 08:20:19	info	sonos.0 addURIToQueue on end (RINCON_B8E9378C56BC01400):
      sonos.0	2015-03-17 08:20:19	info	sonos.0 addURIToQueue (RINCON_B8E9378C56BC01400) :true
      sonos.0	2015-03-17 08:20:19	info	sonos.0 Play on RINCON_B8E9378C56BC01400: http://192.168.28.77:8082/state/sayit.0.tts.mp3
      sonos.0	2015-03-17 08:20:19	info	sonos.0 try to control id sonos.0.root.192_168_28_232.tts with {"val":"40;http://192.168.28.77:8082/state/sayit.0.tts.mp3","ack":false,"ts":1426576819,"from":"system.adapter.sayit.0","lc":1426528833}
      sayit.0	2015-03-17 08:20:19	info	sayit.0 Copied file '/mnt/ioBroker/iobroker.Pi2/node_modules/iobroker.sayit/../../cache/36659845bdb87502a47974721be216f1.mp3' to '/mnt/ioBroker/iobroker.Pi2/node_modules/iobroker.sayit/say.mp3'
      sayit.0	2015-03-17 08:20:19	info	sayit.0 saying: de;40;Bewegung im Flur festgestellt
      [sonos]	2015-03-17 08:19:33	info	emitting group-volume
      [sonos]	2015-03-17 08:19:32	info	using local endpoint 192.168.28.77
      [sonos]	2015-03-17 08:19:32	info	subscribing to topology 192.168.28.232
      [sonos]	2015-03-17 08:19:32	info	scanning for players in ip 192.168.28.77
      [sonos]	2015-03-17 08:19:32	info	notification server listening on port 3500
      [sonos]	2015-03-17 08:19:32	info	relevant IPs 192.168.28.77=null
      [sonos]	2015-03-17 08:19:32	info	discovering all IPs from eth0
      [sonos]	2015-03-17 08:19:32	info	discovering all IPs from lo
      sonos-0	2015-03-17 08:19:32	info	http sonos server listening on port 8083
      [sonos]	2015-03-17 08:19:32	info	binding SSDP to port 1901
      sonos-0	2015-03-17 08:19:32	info	starting. Version 0.1.5 in /mnt/ioBroker/iobroker.Pi2/node_modules/iobroker.sonos
      	2015-03-17 08:19:28	info	info
      [sonos]	2015-03-17 08:19:28	info	info
      host-pi2	2015-03-17 08:19:27	info	instance system.adapter.sonos.0 started with pid 28274
      sayit-0	2015-03-17 08:19:27	info	starting. Version 0.3.2 in /mnt/ioBroker/iobroker.Pi2/node_modules/iobroker.sayit
      	2015-03-17 08:19:24	info	info
      host-pi2	2015-03-17 08:19:25	info	instance system.adapter.sonos.0 terminated with code 0 (OK)
      sonos-0	2015-03-17 08:19:25	info	terminating
      sonos-0	2015-03-17 08:19:25	info	terminating
      host-pi2	2015-03-17 08:19:25	info	stopInstance system.adapter.sonos.0 killing pid 28008
      host-pi2	2015-03-17 08:19:25	info	stopInstance system.adapter.sonos.0
      host-pi2	2015-03-17 08:19:25	info	object change system.adapter.sonos.0
      host-pi2	2015-03-17 08:19:23	info	instance system.adapter.sayit.0 started with pid 28268
      host-pi2	2015-03-17 08:19:21	info	instance system.adapter.sayit.0 terminated with code 0 (OK)
      sayit-0	2015-03-17 08:19:21	info	terminating
      host-pi2	2015-03-17 08:19:21	info	stopInstance system.adapter.sayit.0 killing pid 28095
      host-pi2	2015-03-17 08:19:21	info	stopInstance system.adapter.sayit.0
      host-pi2	2015-03-17 08:19:21	info	object change system.adapter.sayit.0
      sayit-0	2015-03-17 08:16:46	info	starting. Version 0.3.2 in /mnt/ioBroker/iobroker.Pi2/node_modules/iobroker.sayit
      	2015-03-17 08:16:44	info	info
      host-pi2	2015-03-17 08:16:43	info	instance system.adapter.sayit.0 started with pid 28095
      host-pi2	2015-03-17 08:16:41	info	instance system.adapter.sayit.0 terminated with code 0 (OK)
      sayit-0	2015-03-17 08:16:41	info	terminating
      host-pi2	2015-03-17 08:16:40	info	stopInstance system.adapter.sayit.0 killing pid 27985
      host-pi2	2015-03-17 08:16:40	info	stopInstance system.adapter.sayit.0
      host-pi2	2015-03-17 08:16:40	info	object change system.adapter.sayit.0
      [sonos]	2015-03-17 08:15:28	info	emitting group-volume
      [sonos]	2015-03-17 08:15:28	info	using local endpoint 192.168.28.77
      [sonos]	2015-03-17 08:15:28	info	subscribing to topology 192.168.28.231
      [sonos]	2015-03-17 08:15:28	info	scanning for players in ip 192.168.28.77
      [sonos]	2015-03-17 08:15:28	info	notification server listening on port 3500
      [sonos]	2015-03-17 08:15:28	info	relevant IPs 192.168.28.77=null
      [sonos]	2015-03-17 08:15:28	info	discovering all IPs from eth0
      [sonos]	2015-03-17 08:15:28	info	discovering all IPs from lo
      sonos-0	2015-03-17 08:15:28	info	http sonos server listening on port 8083
      [sonos]	2015-03-17 08:15:28	info	binding SSDP to port 1901
      sonos-0	2015-03-17 08:15:28	info	starting. Version 0.1.5 in /mnt/ioBroker/iobroker.Pi2/node_modules/iobroker.sonos
      	2015-03-17 08:15:24	info	info
      [sonos]	2015-03-17 08:15:24	info	info
      host-pi2	2015-03-17 08:15:23	info	instance system.adapter.sonos.0 started with pid 28008
      host-pi2	2015-03-17 08:15:20	info	instance system.adapter.sonos.0 terminated with code 0 (OK)
      sonos-0	2015-03-17 08:15:20	info	terminating
      sonos-0	2015-03-17 08:15:20	info	terminating
      host-pi2	2015-03-17 08:15:20	info	stopInstance system.adapter.sonos.0 killing pid 6197
      host-pi2	2015-03-17 08:15:20	info	stopInstance system.adapter.sonos.0
      

      Es wird die Playliste gestartet

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

        Kann jetzt reproduzieren. Ich höre nie radio. Sondern spotify und Musik von QNAP.

        Könnt ihr so eine queue machen und dann SayIt Probieren? Und ich werde weiter die Lösung suchen.
        48_sonos.png
        P.S. nicht vergessen iobroker.sonos neu starten.

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

          Hoffe ich habe es richtig verstanden.

          Bei mir läuft auch eine Playliste
          315_sonos-player.png

          Ich stelle die Playliste am Lautsprecher oder per Software aus

          Bei Bewegung im Flur schaltet SON=OS wieder auf Play. Der Text wird nict ausgegeben

          sonos.0	2015-03-17 19:20:12	info	sonos.0 Set old track number 35
          sonos.0	2015-03-17 19:20:12	info	sonos.0 Restore volume 28
          sonos.0	2015-03-17 19:20:12	info	sonos.0 Restore state before TTS. Remove 118
          sonos.0	2015-03-17 19:20:12	info	sonos.0 New sonos state: PAUSED_PLAYBACK, time elapsed - 13841
          sonos.0	2015-03-17 19:20:00	info	sonos.0 New sonos state: PLAYING, time elapsed - 1946
          sonos.0	2015-03-17 19:19:59	info	sonos.0 New sonos state: PLAYING, time elapsed - 966
          sonos.0	2015-03-17 19:19:59	info	sonos.0 Send PLAY to (RINCON_B8E9378C56BC01400)
          sonos.0	2015-03-17 19:19:58	info	sonos.0 addURIToQueue on end (RINCON_B8E9378C56BC01400):
          sonos.0	2015-03-17 19:19:58	info	sonos.0 addURIToQueue (RINCON_B8E9378C56BC01400) :true
          sonos.0	2015-03-17 19:19:58	info	sonos.0 Play on RINCON_B8E9378C56BC01400: http://192.168.28.77:8082/state/sayit.0.tts.mp3
          sonos.0	2015-03-17 19:19:58	info	sonos.0 try to control id sonos.0.root.192_168_28_232.tts with {"val":"40;http://192.168.28.77:8082/state/sayit.0.tts.mp3","ack":false,"ts":1426616399,"from":"system.adapter.sayit.0","lc":1426528833}
          sayit.0	2015-03-17 19:19:58	info	sayit.0 saying: de;40;Bewegung im Flur festgestellt
          
          
          1 Reply Last reply Reply Quote 0
          • derAuge
            derAuge last edited by

            PLAY:1: Esszimmer
            Seriennummer: xx-xx-xx-xx-xx-xx:A
            Version: 5.2 (Build 28183040)
            Hardwareversion: 1.8.3.7-2
            IP-Adresse: 192.168.xx.xxx
            WM: 1
            OTP: 
            
            1 Reply Last reply Reply Quote 0
            • derAuge
              derAuge last edited by

              Heute morgen stellle ich folgendes fest:

              Der Bewegungsmelder hat ausgelöst und das Licht eingeschaltet

              Über das Script wurde die SONOS mit der gespeicherten Playliste gestartet.

              Nach dem Ende das Liedes kam die Ansage und danach wurde die Playliste weiter gespielt.

              Ich habe die Ansage gehört 🙂

              Gruß

              derAuge

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

                > Ich habe die Ansage gehört
                Das ist schon mal gut. Das heißt, WEB link funktioniert, nur PLAY Befehl bleibt irgendwo.

                Ich werde jetzt die Lösung für RADIO finden, vielleicht wird auch mit anderem Problem besser.

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

                  Noch ein Hinweiß:

                  löscht man die Playliste, [keine Musikdatei] wird bei dem Raum auf der SONOS-Software angezeigt, dann wir die Ansage dauerhaft wiederholt

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

                    Sind noch Tests notwendig oder erst mit der nächsten Version?

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

                      @ruhr70:

                      Sind noch Tests notwendig oder erst mit der nächsten Version? `
                      Erst nächste Version. Danke. Nur bitte Geduld haben. 😉

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

                        Die Tests sind jetzt wieder notwendig. 🙂

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

                          Werde ich ausführlich durchführen. 🙂

                          Gesendet von iPad mit Tapatalk

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

                            @Bluefox:

                            Die Tests sind jetzt wieder notwendig. 🙂 `

                            Kurz: Das Ergebnis ist so, dass es für mich super ist! Danke! 🙂

                            Der Vollständigkeit halber: Es gibt noch ein paar Unstimmigkeiten, die mir aufgefallen sind.

                            Getestet habe ich nicht mit dem Workaroundscript (wg. mehrfacher Wiederholung) sondern mit folgenden einfachen Script:

                            var idSayIt            = "sayit.1.tts.text"; // Hier die entsprechende SayIt Text ID
                            var idButton         = "hm-rpc.0.FEQ0060867.1.STATE"; // Test 
                            
                            // Bei Tastendruck wird folgender Text gesprochen
                            subscribe({id: idButton, val: true}, function (obj) {
                                 setState (idSayIt, "de;60;Dies ist nur ein kleiner Text, lalalala. Ein Test hurra.");
                            });
                            

                            OK:

                            • Lautstärke wurde wieder korrekt zurückgespielt

                            • Playlisten (aktiv oder Pause): Es wird wieder der letzte Titel eingestellt

                            • keine Playlist: alles OK

                            • Gruppe mit Playliste (oder nichts): bestehende Gruppe bleibt so bestehen.

                            • bei Sonos werden die Ansagen sehr zeitnah abgespielt 🙂

                            Nicht OK:

                            Beim Radio verhält sich der Adapter noch nicht ganz logisch (ist aber aus meiner Sicht OK) und mit dem Script oben werden Ansagen manchmal doppelt abgespielt:

                            • bestehende Gruppen werden aufgelöst

                            • nach der Ansage steht das mp3 in der Playlist und nicht der Radiosender

                            (egal, ob das Radio aktiv war oder auf Pause)

                            • ist das Radio aktiv, wird die Ansage 2x abgespielt

                            (pausiert das Radio wird die Ansage 1x abgespielt)

                            So meine Notizen… konnte nicht ganz systematisch testen (Baby wuselt um mich herum g).

                            [EDIT]

                            Anbei noch ein paar Fehlermeldungen aus dem Log:

                            [sonos] 2015-03-26 14:03:36 error subscribe failed uuid:RINCON_000E58507F7801400_sub0000000199 /MediaRenderer/RenderingControl/Event 412

                            [sonos] 2015-03-26 14:03:35 info emitting group-volume

                            [sonos] 2015-03-26 14:03:35 error subscribe failed uuid:RINCON_000E58507F7801400_sub0000000201 /MediaRenderer/AVTransport/Event 412

                            [sonos] 2015-03-26 14:03:35 error subscribe failed uuid:RINCON_000E58507F7801400_sub0000000202 /MediaRenderer/GroupRenderingControl/Event 412

                            [sonos] 2015-03-26 14:03:34 error subscribe failed uuid:RINCON_000E58507F7801400_sub0000000200 /MediaServer/ContentDirectory/Event 412

                            [sonos] 2015-03-26 14:03:30 error subscribe failed uuid:RINCON_000E582492A001400_sub0000000202 /MediaRenderer/AVTransport/Event 412

                            [sonos] 2015-03-26 14:03:30 error subscribe failed uuid:RINCON_000E582492A001400_sub0000000204 /MediaRenderer/GroupRenderingControl/Event 412

                            [sonos] 2015-03-26 14:03:30 error subscribe failed uuid:RINCON_000E582492A001400_sub0000000205 /MediaServer/ContentDirectory/Event 412

                            [sonos] 2015-03-26 14:03:30 error subscribe failed! undefined 412

                            [sonos] 2015-03-26 14:03:30 error subscribe failed uuid:RINCON_000E582492A001400_sub0000000203 /MediaRenderer/RenderingControl/Event 412

                            1 Reply Last reply Reply Quote 0
                            • P
                              pix last edited by

                              Hallo,

                              ich hole den Thread noch mal hoch.

                              Ich höre über SONOS ein Napster Album. Wenn ich das Objekt sayit.0.tts.text fülle, wird die Musik unterbrochen und der Text gesprochen. Danach startet das unterbrochene Lied von vorn. Wenn das Lied zu Ende ist, stoppt die Musikwiedergabe und es bleibt still. Im Sonos Client steht dann so etwas: Aktueller Titel npsdy:Tra.187934843.mp3?sn=1

                              Wenn ich eine SONOS Liste abspiele verhält es sich genauso. Was mache ich, damit die Liste weiter abgespielt wird?

                              @ruhr70:

                              • nach der Ansage steht das mp3 in der Playlist und nicht der Radiosender

                              (egal, ob das Radio aktiv war oder auf Pause)

                              • ist das Radio aktiv, wird die Ansage 2x abgespielt

                              (pausiert das Radio wird die Ansage 1x abgespielt) `
                              Ist ja ganz ähnlich zu meinen Schwierigkeiten. Hast du alle Fehler beseitigen können? Nutzt du für jede Ansage den Workaround?

                              Gruß

                              Pix

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

                                das ist immer noch der letzte Stand (Dein Zitat).

                                aktuell habe ich die Ansagen wg. dem WAF ganz deaktiviert (waren zu viele). will das aber auf jeden Fall wieder nutzen. Dann mit weniger und intelligenteren Ansagen.

                                hab gehofft, dass die letzten Fehler bis dahin aus dem Adapter raus sind 😉

                                Gesendet von iPhone mit Tapatalk

                                1 Reply Last reply Reply Quote 0
                                • coyote
                                  coyote Most Active last edited by

                                  Bei mir will der Sayit Adapter irgendwie gar nicht, weder über Sonos noch über den Browser.

                                  Wenn ich es über Sonos probiere kommt zwar der Ansage Ton den ich ja einstellen kann, aber nicht der Text. Das mp3 File wird aber anscheinend erstellt und erscheint auch in der Sonos Software, jedoch schreibt die Sonos Software "mp3 File konnte nicht wiedergegeben werden, Mp3 nicht korrekt codiert"

                                  Jemand ne Idee?

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    tesso last edited by

                                    Im Moment will sayit auch nicht mit mit reden. Weder über google, noch über ivona.

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

                                      say it klappt bei mir.

                                      sowohl über Google, als auch über Amazon.

                                      Die Ansage klappt auch bei Sonos, dort ist das Verhalten aber leider nicht brauchbar.

                                      Variablen im Ansagetext funktionieren komischerweise meistens nicht. Hast Du "nur Text" mal probiert?

                                      Gesendet von iPhone mit Tapatalk

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

                                        > Variablen im Ansagetext funktionieren komischerweise meistens nicht.
                                        Welche Variablen?

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

                                          @Bluefox:

                                          > Variablen im Ansagetext funktionieren komischerweise meistens nicht.
                                          Welche Variablen? `

                                          Ich suche das nachher raus und teste es auch noch einmal.Nicht dass das Problem vor dem Bildschirm lag.

                                          Ich wollte z.B. die erwartete Temperatur (vom yr Adapter) ansagen, wenn im Esszimmer morgens das Licht angeht. Hat nicht hingehauen. Egal, ob ich das vorher als String zusammengebaut hatte oder direkt im setState() zum String addiert habe. Im Log war es sauber.

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            tesso last edited by

                                            sayit Ansagen über google funktionieren nicht mehr. Da bekomme ich auch nur noch die Seite "ungewöhnlicher Datenverkehr".

                                            Bei Nutzung von Ivona-Marlene bekomme ich "Wiedergabe nicht möglich, evtl. falsch kodiert.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            583
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            22
                                            79
                                            15629
                                            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