Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. SayIT über Sonos?

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    324

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.5k

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

SayIT über Sonos?

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
79 Beiträge 22 Kommentatoren 17.1k Aufrufe
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • derAugeD Offline
    derAugeD Offline
    derAuge
    schrieb am zuletzt editiert von
    #10

    Habe es getestet

    mit :

    var idSayIt     = "sayit.0.tts.text";               // Hier die entsprechende SayIt Text ID
    var idButton    = "hm-rpc.0.KEQ1092089.1.MOTION"; //*Bewegung innen.MOTION*/
    var lastSay     = null;
    
    // Bei Bewegung wird folgender Text gesprochen
    subscribe({id: idButton, val: true}, function (obj) {
             if (!lastSay || ((new Date()).getTime() - lastSay) > 3000) {
                      lastSay = (new Date()).getTime();
                      setState (idSayIt, "de;40;Bewegung im Flur festgestellt");
             }
    
            });
    
    

    Mit einem Lautsprecher

    sonos.0	2015-03-16 23:02:55	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":1426543375,"from":"system.adapter.sayit.0","lc":1426528833}
    sayit.0	2015-03-16 23:02:55	info	sayit.0 Copied file '/mnt/ioBroker/iobroker.Pi2/node_modules/iobroker.sayit/say.mp3' to '/mnt/ioBroker/iobroker.Pi2/node_modules/iobroker.sayit/../../cache/36659845bdb87502a47974721be216f1.mp3'
    sayit.0	2015-03-16 23:02:54	info	sayit.0 saying: de;40;Bewegung im Flur festgestellt
    sayit-0	2015-03-16 23:01:37	info	starting. Version 0.3.2 in /mnt/ioBroker/iobroker.Pi2/node_modules/iobroker.sayit
    	2015-03-16 23:01:35	info	info
    host-pi2	2015-03-16 23:01:33	info	instance system.adapter.sayit.0 started with pid 26738
    
    

    Mit allen (2) Lautsprechern.

    sayit.0	2015-03-16 23:11:31	info	sayit.0 sendTo "send" to system.adapter.sonos from system.adapter.sayit.0: "40;http://192.168.28.77:8082/state/sayit.0.tts.mp3"
    sayit.0	2015-03-16 23:11:31	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-16 23:11:31	info	sayit.0 saying: de;40;Bewegung im Flur festgestellt
    sayit.0	2015-03-16 23:05:47	info	sayit.0 starting. Version 0.3.2 in /mnt/ioBroker/iobroker.Pi2/node_modules/iobroker.sayit
    pi2	2015-03-16 23:05:43	info	host.pi2 instance system.adapter.sayit.0 started with pid 26993
    pi2	2015-03-16 23:05:43	info	host.pi2 instance system.adapter.sayit.0 started with pid 26993
    host-pi2	2015-03-16 23:05:41	info	instance system.adapter.sayit.0 terminated with code 0 (OK)
    
    

    es wird "nur" die Playliste (einmal) gestartet

    1 Antwort Letzte Antwort
    0
    • ruhr70R Offline
      ruhr70R Offline
      ruhr70
      schrieb am zuletzt editiert von
      #11

      Guten Morgen,

      bei mir ist das Verhalten auch noch so.

      Sonos startet die Playlist, sobald das Script greift.

      Das mp3 hört man nicht.

      • Raum 1: Ein Sonos (Play 5 spielt die zuvor gestoppte Playlist).

      • Raum 2: Ein Sonos Stereo-Pärchen (2x Play 5 zeigt zwar im Controller an, dass die Playlist aktiv ist (hört man für eine Sekunde), beim Play 5 leuchtet dann aber die Stummtaste).

      • Raum 3: Ein ZP-90: die Playliste wird gestartet

      • Raum 1 und 2 sind im Sonos vorher in einer Gruppe gewesen. Trotzdem ist das Verhalten unterschiedlich.
        Gruß

      Michael

      [sonos] 2015-03-17 06:53:43 info emitting group-volume

      [sonos] 2015-03-17 06:53:43 info emitting group-volume

      [sonos] 2015-03-17 06:53:40 info emitting group-volume

      sonos-0 2015-03-17 06:53:40 warn Play text2speech during another still playing

      sayit-1 2015-03-17 06:53:40 info sendTo "send" to system.adapter.sonos from system.adapter.sayit.1: "40;http://172.16.130.122:8082/state/sayit.1.tts.mp3"

      sayit-1 2015-03-17 06:53:40 info saying: de;40;Dies ist nur ein kleiner Text, lalalala. Ein Test hurra.

      [sonos] 2015-03-17 06:53:35 info emitting group-volume

      sonos-0 2015-03-17 06:53:35 warn Play text2speech during another still playing

      sayit-1 2015-03-17 06:53:35 info Copied file '/opt/iobroker/node_modules/iobroker.sayit/say.mp3' to '/opt/iobroker/node_modules/iobroker.sayit/../../cache/49ab244625b03a98d12ceecb343c6620.mp3'

      sayit-1 2015-03-17 06:53:35 info sendTo "send" to system.adapter.sonos from system.adapter.sayit.1: "40;http://172.16.130.122:8082/state/sayit.1.tts.mp3"

      sayit-1 2015-03-17 06:53:35 info saying: de;40;Dies ist nur ein kleiner Text, lalalala. Ein Test hurra.

      Adapter: Fritzbox, Unify Circuit
      Skripte: dynamic hue, Bluetooth Scan, Multi-Ereignisliste

      1 Antwort Letzte Antwort
      0
      • BluefoxB Offline
        BluefoxB Offline
        Bluefox
        schrieb am zuletzt editiert von
        #12

        @ruhr70:

        Guten Morgen,

        bei mir ist das Verhalten auch noch so.

        Sonos startet die Playlist, sobald das Script greift.

        Das mp3 hört man nicht.

        • Raum 1: Ein Sonos (Play 5 spielt die zuvor gestoppte Playlist).

        • Raum 2: Ein Sonos Stereo-Pärchen (2x Play 5 zeigt zwar im Controller an, dass die Playlist aktiv ist (hört man für eine Sekunde), beim Play 5 leuchtet dann aber die Stummtaste).

        • Raum 3: Ein ZP-90: die Playliste wird gestartet

        • Raum 1 und 2 sind im Sonos vorher in einer Gruppe gewesen. Trotzdem ist das Verhalten unterschiedlich.
          Gruß

        Michael

        [sonos] 2015-03-17 06:53:43 info emitting group-volume

        [sonos] 2015-03-17 06:53:43 info emitting group-volume

        [sonos] 2015-03-17 06:53:40 info emitting group-volume

        sonos-0 2015-03-17 06:53:40 warn Play text2speech during another still playing

        sayit-1 2015-03-17 06:53:40 info sendTo "send" to system.adapter.sonos from system.adapter.sayit.1: "40;http://172.16.130.122:8082/state/sayit.1.tts.mp3"

        sayit-1 2015-03-17 06:53:40 info saying: de;40;Dies ist nur ein kleiner Text, lalalala. Ein Test hurra.

        [sonos] 2015-03-17 06:53:35 info emitting group-volume

        sonos-0 2015-03-17 06:53:35 warn Play text2speech during another still playing

        sayit-1 2015-03-17 06:53:35 info Copied file '/opt/iobroker/node_modules/iobroker.sayit/say.mp3' to '/opt/iobroker/node_modules/iobroker.sayit/../../cache/49ab244625b03a98d12ceecb343c6620.mp3'

        sayit-1 2015-03-17 06:53:35 info sendTo "send" to system.adapter.sonos from system.adapter.sayit.1: "40;http://172.16.130.122:8082/state/sayit.1.tts.mp3"

        sayit-1 2015-03-17 06:53:35 info saying: de;40;Dies ist nur ein kleiner Text, lalalala. Ein Test hurra. `
        "text2speech during another still playing" bedeuted, dass letzte Auftrag noch nicht fertig ist.

        Kannst du folgende Datei auf iobroker/node_modules/iobroker.sonos/sonos.js kopieren und sonos restarten. Ich habe da ein paar logs eingebaut. Ich habe nur ein SONOS ZP80

        Am besten nur einen SONOS lassen und auf Pause stellen.
        48_sonos.js
        Die Logs dann hier posten.

        Danke.

        1 Antwort Letzte Antwort
        0
        • ruhr70R Offline
          ruhr70R Offline
          ruhr70
          schrieb am zuletzt editiert von
          #13

          @Bluefox:

          "text2speech during another still playing" bedeuted, dass letzte Auftrag noch nicht fertig ist.

          Kannst du folgende Datei auf iobroker/node_modules/iobroker.sonos/sonos.js kopieren und sonos restarten. Ich habe da ein paar logs eingebaut. Ich habe nur ein SONOS ZP80

          Am besten nur einen SONOS lassen und auf Pause stellen.
          filename="sonos.js" index="0">~~
          Die Logs dann hier posten.

          Danke. `

          • Datei sonos.js ins Verzeichnis kopieren

          • bis auf einen Player alle stromlos gemacht

          • im SayIT Adapter von alle Player nur einen Player rausgesucht

          • Sonos Adapter neu gestartet

          • SayIT Adapter neu gestartet (nur die Instanz 1)

          Ausgangssituation:

          • im aktivierten Player wird ein Radiostream angezeigt, der gestoppt ist

          • (ein Radiostream Auftrag wird nie fertig ;-) )

          Script über einen Homematic-Kontakt aktiviert.

          • man hört im Sonos Player ganz kurz den Radiostream, danach ist es wieder still

          • zweiter Versuch (nicht im Log): man hört gar nichts

          Log:

          sonos.0	2015-03-17 08:05:24	info	sonos.0 Set old track number 1
          sonos.0	2015-03-17 08:05:24	info	sonos.0 Restore volume 0
          sonos.0	2015-03-17 08:05:24	info	sonos.0 Restore state before TTS. Remove 73
          sonos.0	2015-03-17 08:05:24	info	sonos.0 New sonos state: STOPPED, time elapsed - 1222
          sonos.0	2015-03-17 08:05:23	info	sonos.0 Send PLAY to (RINCON_000E5851A36401400)
          sonos.0	2015-03-17 08:05:23	info	sonos.0 addURIToQueue on end (RINCON_000E5851A36401400):
          sonos.0	2015-03-17 08:05:23	info	sonos.0 addURIToQueue (RINCON_000E5851A36401400) :true
          sonos.0	2015-03-17 08:05:23	info	sonos.0 Play on RINCON_000E5851A36401400: http://172.16.130.122:8082/state/sayit.1.tts.mp3
          sayit.1	2015-03-17 08:05:23	info	sayit.1 Copied file '/opt/iobroker/node_modules/iobroker.sayit/../../cache/49ab244625b03a98d12ceecb343c6620.mp3' to '/opt/iobroker/node_modules/iobroker.sayit/say.mp3'
          sonos.0	2015-03-17 08:05:23	info	sonos.0 try to control id sonos.0.root.172_16_130_169.tts with {"val":"40;http://172.16.130.122:8082/state/sayit.1.tts.mp3","ack":false,"ts":1426575923,"from":"system.adapter.sayit.1","lc":1426440671}
          sayit.1	2015-03-17 08:05:23	info	sayit.1 saying: de;40;Dies ist nur ein kleiner Text, lalalala. Ein Test hurra.
          sonos.0	2015-03-17 08:05:15	info	sonos.0 http sonos server listening on port 8083
          sonos.0	2015-03-17 08:05:15	info	sonos.0 starting. Version 0.1.5 in /opt/iobroker/node_modules/iobroker.sonos
          iobroker	2015-03-17 08:05:15	info	host.iobroker instance system.adapter.sonos.0 started with pid 2789
          host-iobroker	2015-03-17 08:05:12	info	instance system.adapter.sonos.0 terminated with code 0 (OK)
          sonos-0	2015-03-17 08:05:12	info	terminating
          sonos-0	2015-03-17 08:05:12	info	terminating
          host-iobroker	2015-03-17 08:05:12	info	stopInstance system.adapter.sonos.0 killing pid 32533
          host-iobroker	2015-03-17 08:05:12	info	stopInstance system.adapter.sonos.0
          host-iobroker	2015-03-17 08:05:12	info	object change system.adapter.sonos.0
          sayit-1	2015-03-17 08:05:11	info	starting. Version 0.3.2 in /opt/iobroker/node_modules/iobroker.sayit
          2015-03-17 08:05:10	info	info
          host-iobroker	2015-03-17 08:05:10	info	instance system.adapter.sayit.1 started with pid 2727
          host-iobroker	2015-03-17 08:05:08	info	instance system.adapter.sayit.1 terminated with code 0 (OK)
          sayit-1	2015-03-17 08:05:08	info	terminating
          host-iobroker	2015-03-17 08:05:08	info	stopInstance system.adapter.sayit.1 killing pid 1004
          host-iobroker	2015-03-17 08:05:08	info	stopInstance system.adapter.sayit.1
          host-iobroker	2015-03-17 08:05:08	info	object change system.adapter.sayit.1
          

          Adapter: Fritzbox, Unify Circuit
          Skripte: dynamic hue, Bluetooth Scan, Multi-Ereignisliste

          1 Antwort Letzte Antwort
          0
          • derAugeD Offline
            derAugeD Offline
            derAuge
            schrieb am zuletzt editiert von
            #14
            • 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 Antwort Letzte Antwort
            0
            • BluefoxB Offline
              BluefoxB Offline
              Bluefox
              schrieb am zuletzt editiert von
              #15

              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 Antwort Letzte Antwort
              0
              • derAugeD Offline
                derAugeD Offline
                derAuge
                schrieb am zuletzt editiert von
                #16

                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 Antwort Letzte Antwort
                0
                • derAugeD Offline
                  derAugeD Offline
                  derAuge
                  schrieb am zuletzt editiert von
                  #17
                  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 Antwort Letzte Antwort
                  0
                  • derAugeD Offline
                    derAugeD Offline
                    derAuge
                    schrieb am zuletzt editiert von
                    #18

                    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 Antwort Letzte Antwort
                    0
                    • BluefoxB Offline
                      BluefoxB Offline
                      Bluefox
                      schrieb am zuletzt editiert von
                      #19

                      > 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 Antwort Letzte Antwort
                      0
                      • derAugeD Offline
                        derAugeD Offline
                        derAuge
                        schrieb am zuletzt editiert von
                        #20

                        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 Antwort Letzte Antwort
                        0
                        • ruhr70R Offline
                          ruhr70R Offline
                          ruhr70
                          schrieb am zuletzt editiert von
                          #21

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

                          Adapter: Fritzbox, Unify Circuit
                          Skripte: dynamic hue, Bluetooth Scan, Multi-Ereignisliste

                          1 Antwort Letzte Antwort
                          0
                          • BluefoxB Offline
                            BluefoxB Offline
                            Bluefox
                            schrieb am zuletzt editiert von
                            #22

                            @ruhr70:

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

                            1 Antwort Letzte Antwort
                            0
                            • BluefoxB Offline
                              BluefoxB Offline
                              Bluefox
                              schrieb am zuletzt editiert von
                              #23

                              Die Tests sind jetzt wieder notwendig. :)

                              1 Antwort Letzte Antwort
                              0
                              • ruhr70R Offline
                                ruhr70R Offline
                                ruhr70
                                schrieb am zuletzt editiert von
                                #24

                                Werde ich ausführlich durchführen. :-)

                                Gesendet von iPad mit Tapatalk

                                Adapter: Fritzbox, Unify Circuit
                                Skripte: dynamic hue, Bluetooth Scan, Multi-Ereignisliste

                                1 Antwort Letzte Antwort
                                0
                                • ruhr70R Offline
                                  ruhr70R Offline
                                  ruhr70
                                  schrieb am zuletzt editiert von
                                  #25

                                  @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

                                  Adapter: Fritzbox, Unify Circuit
                                  Skripte: dynamic hue, Bluetooth Scan, Multi-Ereignisliste

                                  1 Antwort Letzte Antwort
                                  0
                                  • P Offline
                                    P Offline
                                    pix
                                    schrieb am zuletzt editiert von
                                    #26

                                    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

                                    ioBroker auf Ubuntu in Proxmox (früher Mac mini (bis OS X 10.12.6 Sierra), VIS via iOS; angeschlossen: Homematic CCU2, Homepilot 1, ConBee II, einige Wemos, Sonos, Unifi CK+Protect, Homekit, Homebridge; KEIN blockly! Github-Profil

                                    1 Antwort Letzte Antwort
                                    0
                                    • ruhr70R Offline
                                      ruhr70R Offline
                                      ruhr70
                                      schrieb am zuletzt editiert von
                                      #27

                                      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

                                      Adapter: Fritzbox, Unify Circuit
                                      Skripte: dynamic hue, Bluetooth Scan, Multi-Ereignisliste

                                      1 Antwort Letzte Antwort
                                      0
                                      • coyoteC Offline
                                        coyoteC Offline
                                        coyote
                                        Most Active
                                        schrieb am zuletzt editiert von
                                        #28

                                        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 Antwort Letzte Antwort
                                        0
                                        • T Offline
                                          T Offline
                                          tesso
                                          schrieb am zuletzt editiert von
                                          #29

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

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          623

                                          Online

                                          32.5k

                                          Benutzer

                                          81.7k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe