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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. SendTo('sonos', 'send', 'http://192.168.xxx.xxx:8082/sayit.0/tts.userfiles/bla.mp3');

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    5
    1
    118

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    8
    1
    160

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    866

SendTo('sonos', 'send', 'http://192.168.xxx.xxx:8082/sayit.0/tts.userfiles/bla.mp3');

Scheduled Pinned Locked Moved ioBroker Allgemein
5 Posts 4 Posters 2.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    iben
    wrote on last edited by
    #1

    Hallo,

    ist es möglich einzelne Sonos Speaker mit dem sendTo-Befehl anzusteuern?

    Gruß,

    Marco

    1 Reply Last reply
    0
    • BluefoxB Offline
      BluefoxB Offline
      Bluefox
      wrote on last edited by
      #2

      @iben:

      Hallo,

      ist es möglich einzelne Sonos Speaker mit dem sendTo-Befehl anzusteuern?

      Gruß,

      Marco `
      Es sollte einfacher gehen:

      setState('sonos.0.root.192_168_222_17.tts', 'http://192.168.xxx.xxx:8082/sayit.0/tts.userfiles/bla.mp3');
      
      1 Reply Last reply
      0
      • fu_zhouF Offline
        fu_zhouF Offline
        fu_zhou
        wrote on last edited by
        #3

        Habe das mal mit Blockly probiert:
        356_zwischenablage02.jpg
        Der Code sieht dann so aus, was ja passen sollte:

        on({id: 's7.0.DBs.DB21.STATUS_E3_2', val: true}, function (obj) {
          var value = obj.state.val;
          var oldValue = obj.oldState.val;
          setState("sonos.0.root.192_168_0_108.tts"/*tts*/, 'http://192.168.0.50:8082/sayit.0/tts.userfiles/bellen.mp3');
        });
        

        Probem ist hier wieder, dass VOLUME im Sonos-Adapter auf 0 geht und man nichts hört. Die Lautstärke lässt sich am Sonos-Gerät über die Tasten oder die App auch erst wieder verändern, wenn man den Sonos-Adapter im ioBroker neu startet. Dann kann man die MP3-Datei auch wunderbar abspielen und die Lautstärke verändern, d.h. der Zugriff auf die MP3-Datei funktioniert so wie oben mit Blockly gebaut, nur wird die Lautstärke auf 0 gesetzt und lässt sich auch nicht wieder erhöhen, bis man den Adapter neu startet. Bug im Sonos-Adapter?

        Synology DS920+ VM, S7-315 PN mit ET200S

        1 Reply Last reply
        0
        • fu_zhouF Offline
          fu_zhouF Offline
          fu_zhou
          wrote on last edited by
          #4

          Es funktioniert mit Blockly:
          356_zwischenablage02.jpg
          "tts" ist das SONOS-Objekt, "70;" ist die Lautstärke.

          Ich musste im SONOS-Adapter allerdings "Fade-in" und "Fade-out" auf "0" stellen
          356_zwischenablage04.jpg

          Das Skript hat folgende Funktion: Wenn geklingelt wird, wird der Modus "abwesend" überprüft und falls aktiv, wird über SONOS ein MP3 abgespielt, dass der Klingelnde dann draußen hört. Das kann eine Schrotflinte sein, vielleicht auch nur ein Dobermann oder die Ansage "Wir kaufen nix".

          Synology DS920+ VM, S7-315 PN mit ET200S

          1 Reply Last reply
          0
          • B Offline
            B Offline
            Banjo89
            wrote on last edited by Banjo89
            #5

            @fu_zhou

            Falls es jemanden interessiert, so geht es:

            setState("sonos.0.root.192_168_20_42.tts",'40;/opt/iobroker/iobroker-data/sayit/klingel.mp3');
            
            1 Reply Last reply
            1

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            Support us

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

            535

            Online

            32.8k

            Users

            82.7k

            Topics

            1.3m

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

            • Don't have an account? Register

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