Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Text2command mit javaSCript

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Text2command mit javaSCript

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

      Hallo zusammen,

      ich versuche gerade das Beispiel auf Seite https://github.com/ioBroker/ioBroker.text2command (External rules with javascript) umzusetzen. Also ein text2command mit javaScript zu verarbeiten.

      Leider stehe ich da auf dem Schlauch.

      Ich habe ein State wie im Beispiel erzeugt (mittels Script wie im Beispiel). Das klappt auch.

      Aber was ich nicht verstehe, ist der Teil hier:

      > There is a possibility to use javascript engine to process commands in text2command. ****To do that you must specify some state in "Processor state ID" (Advanced settings)**** and to listen on this state in some JS or Blockly script.

      Die Überwachung in einem JavaScript etc. ist ja im Beispiel darunter gegeben und funktioniert auch. Aber was bedeutet einen State in "Processor state ID" (Advanced settings) anlegen? Welche advanced settings?

      Die zweite Frage ist der letzte Part im Beispiel:

      > Set in settings of text2command Processor state ID as javascript.0.textProcessor to let this example work.

      Wie muss ich im text2command-Adapter jetzt diesen State ansprechen? Auch hier stolpere ich wieder das " Processor state ID".

      Damit kann ich leider noch nichts anfangen 🙂

      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

      477
      Online

      32.0k
      Users

      80.4k
      Topics

      1.3m
      Posts

      1
      1
      668
      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