Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst]Telegram und text2command Startschwierigkeiten

    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]Telegram und text2command Startschwierigkeiten

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

      Hi zusammen,

      Telegramm läuft erst mal so für sich.

      Wenn ich in Telegram einen Text schreibe, dann erscheint er auch blitzschnell unter telegram.0.communicate.request

      Schreibe ich "Das ist ein Textz", dann erscheint in diesem Feld der Wert: "[TOM]telegram.0.communicate.request

      Wobei TOM mein Firstname im First Bot-Namen ist.

      Schreibe ich per Hand was in telegram.0.communicate.response rein, erscheint es prompt in Telegram. Beide wege gehen also!

      text2Command habe ich so eingestellt, dass <u>ID für Bearbeiter:</u> auf der Auswahl <u>telegram.0.communicate.request</u> steht.

      Und das <u>Antwort ins ID:</u> auf der Auswahl <u>telegram.0.communicate.response</u> steht.

      Ich habe ebenfalls t2c Regeln angelegt. Uhrzeit und Temp. draußen.

      Oben in der Testzeile gebe ich mal aus spaß "Wie spät ist es" ein, wird auch die Zeile im Hintergrund blau. Drücke ich den Playpfeil, wird auch sofort die Uhrzeit in Telegramm angezeigt.

      Es gent aber nicht, wenn ich Text per Telegramm schicke. Also sowas wie "Wie spät ist es?".

      Mir ist aufgefallen, dass über die t2c Webseite, beim "Play" drücken dann solch ein text {"language":"de","command":"Draußen temperatur","withLanguage":false}

      in telegram.0.communicate.response steht.

      Was mache ich also falsch - oder was läuft hier falsch?

      Danke im Voraus,

      Fitti

      1 Reply Last reply Reply Quote 0
      • D
        dtp last edited by

        Lass "Antwort ins ID" und "ID für Bearbeiter" mal leer. Die Einträge sind eigentlich nur notwendig, wenn Du mit einem textProcessor in entsprechenden Javaskripten arbeitest.

        Gruß,

        Thorsten

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

          Scheint zu laufen - es lag wohl am Firefox, bin aber nicht sicher.

          Anscheinend wurden die Settings mit FF nicht gespeichert. 😮

          Nachdem ich diese nochmals im Chrome geöffnet hatte, waren die Einstellungen leer. Nochmal eingestellt und nun scheinen Sie zu gehen.

          Fitti

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

            @dtp:

            Lass "Antwort ins ID" und "ID für Bearbeiter" mal leer. Die Einträge sind eigentlich nur notwendig, wenn Du mit einem textProcessor in entsprechenden Javaskripten arbeitest.

            Gruß,

            Thorsten `
            Danke!

            Das wusste ich gar nicht. Aber irgendwie werden die auch gar nicht bei mir gespeichert. Nach nochmaligem ausprobieren, Dienste neu starten usw. geht es im Moment.

            Mal schauen.

            Danke. Fitti

            1 Reply Last reply Reply Quote 0
            • I
              IchBins1982 last edited by

              Hallo,

              ich habe bei mir den text2command Adapter installiert und eine Instanz erstellt. Was auch alles gut funktioniert hat.

              Allerdings bekomme ich das ganze über Telegram nicht ans laufen. Die Instanz stürzt ständig ab.

              Ich hoffe es kann mir hier jemand helfen.

              Hier ein Auszug aus dem LOG

              ! host.ioBroker-PI 2017-11-09 20:55:56.743 info Do not restart adapter system.adapter.text2command.0 because disabled or deleted
              ! host.ioBroker-PI 2017-11-09 20:55:56.743 error instance system.adapter.text2command.0 terminated with code 3 (Adapter disabled or invalid config)
              ! text2command.0 2017-11-09 20:55:56.688 error adapter disabled
              ! host.ioBroker-PI 2017-11-09 20:55:49.641 info Do not restart adapter system.adapter.text2command.0 because disabled or deleted
              ! host.ioBroker-PI 2017-11-09 20:55:49.640 error instance system.adapter.text2command.0 terminated with code 0 (OK)
              ! text2command.0 2017-11-09 20:55:49.592 info terminating
              ! text2command.0 2017-11-09 20:55:49.081 info Adapter is disabled => stop
              ! host.ioBroker-PI 2017-11-09 20:55:49.062 info object change system.adapter.text2command.0
              ! javascript.0 2017-11-09 20:55:45.312 info script.js.Anwesenheit_UniFi: Wert aus UniFi: 1255
              ! javascript.0 2017-11-09 20:55:45.311 info script.js.Anwesenheit_UniFi: Wert aus Uhrzeit Minuten -2: 1253
              ! javascript.0 2017-11-09 20:55:45.310 info script.js.Anwesenheit_UniFi: Renate ist Anwesend
              ! unifi.0 2017-11-09 20:55:30.428 info getAccessDevices: 2
              ! unifi.0 2017-11-09 20:55:30.082 info getClientDevices: 12
              ! unifi.0 2017-11-09 20:55:30.027 info getSiteSysinfo: 1
              ! unifi.0 2017-11-09 20:55:29.961 info getSitesStats: default
              ! unifi.0 2017-11-09 20:55:28.995 info controller = 192.168.0.200:2200
              ! unifi.0 2017-11-09 20:55:28.995 info update_interval = 60
              ! unifi.0 2017-11-09 20:55:28.994 info Starting UniFi-Controller query
              ! host.ioBroker-PI 2017-11-09 20:55:24.713 info Restart adapter system.adapter.text2command.0 because enabled
              ! host.ioBroker-PI 2017-11-09 20:55:24.712 error instance system.adapter.text2command.0 terminated with code 7 (Adapter already running)
              ! host.ioBroker-PI 2017-11-09 20:55:22.793 info instance system.adapter.text2command.0 started with pid 3179
              ! host.ioBroker-PI 2017-11-09 20:55:03.957 info instance system.adapter.dwd.0 terminated with code 0 (OK)
              ! tvspielfilm.0 2017-11-09 20:55:03.156 info objects written
              ! tvspielfilm.0 2017-11-09 20:55:03.059 info starting. Version 1.0.4 in /opt/iobroker/node_modules/iobroker.tvspielfilm, node: v6.11.2
              ! tvspielfilm.0 2017-11-09 20:55:02.930 info States connected to redis: 0.0.0.0:6379
              ! dwd.0 2017-11-09 20:55:02.949 info starting. Version 2.2.1 in /opt/iobroker/node_modules/iobroker.dwd, node: v6.11.2
              ! dwd.0 2017-11-09 20:55:02.872 info States connected to redis: 0.0.0.0:6379
              ! host.ioBroker-PI 2017-11-09 20:55:00.154 info instance system.adapter.tvspielfilm.0 started with pid 3164
              ! host.ioBroker-PI 2017-11-09 20:55:00.085 info instance system.adapter.dwd.0 started with pid 3158
              ! host.ioBroker-PI 2017-11-09 20:54:52.765 info Restart adapter system.adapter.text2command.0 because enabled
              ! host.ioBroker-PI 2017-11-09 20:54:52.763 error instance system.adapter.text2command.0 terminated with code 7 (Adapter already running)
              ! host.ioBroker-PI 2017-11-09 20:54:50.846 info instance system.adapter.text2command.0 started with pid 3148
              ! unifi.0 2017-11-09 20:54:28.929 info getAccessDevices: 2
              ! unifi.0 2017-11-09 20:54:28.549 info getClientDevices: 11
              ! unifi.0 2017-11-09 20:54:28.478 info getSiteSysinfo: 1
              ! unifi.0 2017-11-09 20:54:28.418 info getSitesStats: default
              ! unifi.0 2017-11-09 20:54:27.240 info controller = 192.168.0.200:2200
              ! unifi.0 2017-11-09 20:54:27.240 info update_interval = 60
              ! unifi.0 2017-11-09 20:54:27.239 info Starting UniFi-Controller query
              ! text2command.0 2017-11-09 20:54:23.085 info Response: Die Außentemperatur beträgt 5 Grad
              ! text2command.0 2017-11-09 20:54:23.073 warn Timeout for external processor: telegram.0.communicate.request
              ! text2command.0 2017-11-09 20:54:23.072 info processText: "draußen kalt"
              ! text2command.0 2017-11-09 20:54:22.069 info processText: "draußen kalt"
              ! host.ioBroker-PI 2017-11-09 20:54:20.811 info Restart adapter system.adapter.text2command.0 because enabled
              ! host.ioBroker-PI 2017-11-09 20:54:20.810 error instance system.adapter.text2command.0 terminated with code 7 (Adapter already running)
              ! host.ioBroker-PI 2017-11-09 20:54:18.898 info instance system.adapter.text2command.0 started with pid 3092
              ! host.ioBroker-PI 2017-11-09 20:54:18.871 info object change system.adapter.text2command.0
              ! host.ioBroker-PI 2017-11-09 20:53:50.660 info Restart adapter system.adapter.text2command.0 because enabled
              ! host.ioBroker-PI 2017-11-09 20:53:50.659 error instance system.adapter.text2command.0 terminated with code 7 (Adapter already running)
              ! host.ioBroker-PI 2017-11-09 20:53:48.742 info instance system.adapter.text2command.0 started with pid 3082
              ! unifi.0 2017-11-09 20:53:27.176 info getAccessDevices: 2
              ! unifi.0 2017-11-09 20:53:26.804 info getClientDevices: 11
              ! unifi.0 2017-11-09 20:53:26.729 info getSiteSysinfo: 1
              ! unifi.0 2017-11-09 20:53:26.645 info getSitesStats: default
              ! unifi.0 2017-11-09 20:53:25.686 info controller = 192.168.0.200:2200
              ! unifi.0 2017-11-09 20:53:25.686 info update_interval = 60
              ! unifi.0 2017-11-09 20:53:25.685 info Starting UniFi-Controller query
              ! host.ioBroker-PI 2017-11-09 20:53:18.710 info Restart adapter system.adapter.text2command.0 because enabled
              ! host.ioBroker-PI 2017-11-09 20:53:18.709 error instance system.adapter.text2command.0 terminated with code 7 (Adapter already running)
              ! host.ioBroker-PI 2017-11-09 20:53:16.779 info instance system.adapter.text2command.0 started with pid 3025
              ! host.ioBroker-PI 2017-11-09 20:53:16.749 info object change system.adapter.text2command.0
              ! host.ioBroker-PI 2017-11-09 20:52:58.529 info Restart adapter system.adapter.text2command.0 because enabled
              ! host.ioBroker-PI 2017-11-09 20:52:58.528 error instance system.adapter.text2command.0 terminated with code 7 (Adapter already running)
              ! host.ioBroker-PI 2017-11-09 20:52:56.527 info instance system.adapter.text2command.0 started with pid 3015
              ! host.ioBroker-PI 2017-11-09 20:52:26.493 info Restart adapter system.adapter.text2command.0 because enabled
              ! host.ioBroker-PI 2017-11-09 20:52:26.492 error instance system.adapter.text2command.0 terminated with code 7 (Adapter already running)
              ! unifi.0 2017-11-09 20:52:25.614 info getAccessDevices: 2
              ! unifi.0 2017-11-09 20:52:25.229 info getClientDevices: 11
              ! unifi.0 2017-11-09 20:52:25.173 info getSiteSysinfo: 1
              ! unifi.0 2017-11-09 20:52:25.101 info getSitesStats: default
              ! unifi.0 2017-11-09 20:52:24.096 info controller = 192.168.0.200:2200
              ! unifi.0 2017-11-09 20:52:24.095 info update_interval = 60
              ! unifi.0 2017-11-09 20:52:24.094 info Starting UniFi-Controller query
              ! host.ioBroker-PI 2017-11-09 20:52:23.970 info instance system.adapter.text2command.0 started with pid 2960
              ! text2command.0 2017-11-09 20:52:19.059 info Response: Die Außentemperatur beträgt 5 Grad
              ! text2command.0 2017-11-09 20:52:19.042 warn Timeout for external processor: telegram.0.communicate.request
              ! text2command.0 2017-11-09 20:52:19.041 info processText: "draußen kalt"
              ! text2command.0 2017-11-09 20:52:18.039 info processText: "draußen kalt"
              ! text2command.0 2017-11-09 20:51:54.599 info Response: Die Außentemperatur beträgt 5 Grad
              ! text2command.0 2017-11-09 20:51:54.587 warn Timeout for external processor: telegram.0.communicate.request
              ! text2command.0 2017-11-09 20:51:54.586 info processText: "draußen kalt"
              ! host.ioBroker-PI 2017-11-09 20:51:53.938 info Restart adapter system.adapter.text2command.0 because enabled
              ! host.ioBroker-PI 2017-11-09 20:51:53.937 error instance system.adapter.text2command.0 terminated with code 7 (Adapter already running)

              1 Reply Last reply Reply Quote 0
              • I
                IchBins1982 last edited by

                Jetzt geht es.

                Hab den Adapter komplett neu installiert.

                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

                822
                Online

                31.9k
                Users

                80.1k
                Topics

                1.3m
                Posts

                3
                6
                1892
                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