Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. [gelöst]playSound auf Tablet/iPad not working

    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

    [gelöst]playSound auf Tablet/iPad not working

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

      Hallo zusammen,

      ich versuche gerade bei bestimmten events einen sound auf dem Tablet (Galaxy Tab4 und iPad) auszugeben.

      Vis ist geöffnet (V 0.9.2) und ich benutze folgendes script:

      var KT_WZ_Tuer          = 'hm-rpc.0.EEQ00XXXXX.1.STATE';
      
      //---------------------------------------------------------
      // Event: KT_WZ_Tuer
      on({id: KT_WZ_Tuer}, function(obj) {
          setState("vis.0.control.instance", 'FFFFFFFF');
          setState("vis.0.control.data",      'http://www.modular-planet.de/fx/marsians/Marsiansrev.mp3');
          setState("vis.0.control.command",   'playSound'); 
      });
      

      Auf meinem Windows 10 Rechner mit Chrome (49.0.2623.87 m (64-bit)) funktioniert das fehlerfrei.

      Auf meinem Tablet Galaxy Tab4 und auf dem iPad Air mit Chrome (49.0.2623.73) kommt allerdings kein Sound?

      Hat jemand eine Idee woran das liegen könnte?

      Danke für jede Hilfe.

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

        @Stmiko:

        Hallo zusammen,

        ich versuche gerade bei bestimmten events einen sound auf dem Tablet (Galaxy Tab4 und iPad) auszugeben.

        Vis ist geöffnet (V 0.9.2) und ich benutze folgendes script:

        var KT_WZ_Tuer          = 'hm-rpc.0.EEQ00XXXXX.1.STATE';
        
        //---------------------------------------------------------
        // Event: KT_WZ_Tuer
        on({id: KT_WZ_Tuer}, function(obj) {
            setState("vis.0.control.instance", 'FFFFFFFF');
            setState("vis.0.control.data",      'http://www.modular-planet.de/fx/marsians/Marsiansrev.mp3');
            setState("vis.0.control.command",   'playSound'); 
        });
        

        Auf meinem Windows 10 Rechner mit Chrome (49.0.2623.87 m (64-bit)) funktioniert das fehlerfrei.

        Auf meinem Tablet Galaxy Tab4 und auf dem iPad Air mit Chrome (49.0.2623.73) kommt allerdings kein Sound?

        Hat jemand eine Idee woran das liegen könnte?

        Danke für jede Hilfe. `
        Nicht alle mobile Browser unterstützen das.

        1 Reply Last reply Reply Quote 0
        • S
          Stmiko last edited by

          > Nicht alle mobile Browser unterstützen das.
          Ok, schade…..gibts eine Alternative?

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

            @Stmiko:

            > Nicht alle mobile Browser unterstützen das.
            Ok, schade…..gibts eine Alternative? `
            Für Android gibt es http://www.home-24.net/index.php?app=media

            Und eventuell iobroker.vis APP.

            Für iPhone… keine Ahnung 😉

            1 Reply Last reply Reply Quote 0
            • S
              Stmiko last edited by

              > Für Android gibt es [http://www.home-24.net/index.php?app=media](http://www.home-24.net/index.php?app=media)
              Ok, mit dem Home24 Player funktioniert es zumindest auf dem Tab4:

              on({id: KT_WZ_Tuer}, function(obj) {
                  var options = {
                      host: '[IP]',
                      path: '/track=track1.mp3',
                      port: '50000'
                  };
                  http.request(options).end();
              

              Vielen Dank!

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

              Support us

              ioBroker
              Community Adapters
              Donate

              885
              Online

              31.9k
              Users

              80.3k
              Topics

              1.3m
              Posts

              2
              5
              1541
              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