Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Cloud Dienste
    4. Änderug On-Event für Ein- Ausschalten

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Änderug On-Event für Ein- Ausschalten

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

      Hi,

      ich möchte gerne die Befehlt "Alexa, schalte Kino ein" und "Alexa, schalte Kino aus".

      State Kino existiert und wird auch ausgelöst. Mir ist gerade nicht klar, wie das On-Event aussehen muss, um auf ein/ aus unterschiedlich zu reagieren.

      Das klappt leider nicht.

      on({id: "javascript.0.Kino"/*Kino*/, val: false}, function (obj) {
      
      
      on({id: "javascript.0.Kino"/*Kino*/, val: true}, function (obj) {
      
      

      Wie macht man es richtig?

      Viele Grüße,

      Christian

      1 Reply Last reply Reply Quote 0
      • Dutchman
        Dutchman Developer Most Active Administrators last edited by

        Mal hier geschaut ?

        https://github.com/ioBroker/ioBroker.ja ... same-as-on

        Sent from my iPhone using Tapatalk

        1 Reply Last reply Reply Quote 0
        • F
          fischmir last edited by

          Danke! Ich wühle mich dann mal durch…wenn ich noch Fragen dazu habe, melde ich mich nochmal.

          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

          704
          Online

          32.0k
          Users

          80.3k
          Topics

          1.3m
          Posts

          2
          3
          266
          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