Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Ohne Not.

    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

    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 3
    • Best 0
    • Groups 1

    Ohne Not.

    @Ohne Not.

    Starter

    0
    Reputation
    4
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Ohne Not. Follow
    Starter

    Latest posts made by Ohne Not.

    • RE: Dokumentation für VIS?

      Hey @arteck
      danke. Ich meine das Binden via JS. also z.b.

      vis.states.bind(oid + '.val', (e, newVal, oldVal) => console.log(e.type + ' change to ' + newVal));
      

      Leider finde ich dazu keine Dokumentation. Auch für weitere funktionen / informationen beim Zugriff auf das Object vis und this.servConn._socket

      posted in Visualisierung
      Ohne Not.
      Ohne Not.
    • RE: Dokumentation für VIS?

      Hey @Homoran,
      hast du zufällig eine Dokumentation zum Thema "Bindings" oder eine Quelle in der man sich schlau lesen kann?

      posted in Visualisierung
      Ohne Not.
      Ohne Not.
    • RE: Dokumentation für VIS?

      @hiltex
      Hey, die bin ich gerade auch am suchen.
      Versuch mal das hier:

      <button onclick="myFunction()">Klick mich</button>
      <script>
      function myFunction()
      {
           vis.setValue(oid, true);
      }
      </script>
      

      Alternativ sollte auch das hier gehen:

      <button onclick="myFunction()">Klick mich</button>
      <script>
      function myFunction()
      {
           this.servConn._socket.emit('setState', oid, true);
      }
      </script>
      
      
      posted in Visualisierung
      Ohne Not.
      Ohne Not.
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo