Ankündigung

Einklappen
Keine Ankündigung bisher.

LBS19000303 - Telegram Contact I LBS19000304 - Telegram Receiver I LBS19000645 - Telegram Command Validator

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • Gast
    Ein Gast antwortete
    Danke für die Tipps, Ja den Server ( APU2) habe ich schon mehr fach neu gestartet. Den Reset mit 2 an dem Receiver triggere ich schon seit Jahren alle 5 min. Hatte ich schon mal irgenwo gelesen.... Netztwerk ? Keine Änderung an der Hardware oder Konfiguration in den letzen Monaten, keine neuen Geräte etc...

    Einen Kommentar schreiben:


  • jonofe
    antwortet
    Könnte ein Netzwerkproblem sein. EDOMI Server mal neu gebootet?
    Hast du den Receiver mal mit einer "2" auf den Reset Eingang zurückgesetzt?

    Einen Kommentar schreiben:


  • Gast
    Ein Gast antwortete
    Hallo zusammen,
    seit ein paar Tagen, vielleicht auch 2-3 Wochen habe ich Probleme mit den LBS 303 Version 0.8.3 bzw. 304 Ver 0.6.3. Ich bin mit meinem Produktiv System noch auf CentOS 6.5 und Edomi 2.01 unterwegs. Bis vor kurzem lief alles tip top, sehr schnelle Antwortzeiten. Seit kurzem sind die Telegrammlaufzeiten sehr unterschiedlich bzw. lang. Teilweise 1-2 min Verzögerung. Der Receiver scheint noch träger zu sein, bzw er verschluckt zt auch Anforderungen. Was kann das sein. Wie schon eingangs geschrieben hatten ich die Module vor 1-2 Jahren installiert ( lange bevor es nicht mehr möglich war die die LBS unter CentOs 6.5 zu installieren) und seit dem liefen sie problemlos, zuverlässig und schnell.

    Woran kann mein Problem liegen?
    Danke

    Einen Kommentar schreiben:


  • Zaschii
    antwortet
    Ahhh Mist... dann brauch ich einen anderen Plan.

    Einen Kommentar schreiben:


  • jonofe
    antwortet
    Zitat von Zaschii Beitrag anzeigen
    Irgendeine Idee?
    Ja, das geht nicht:


    Why doesn't my bot see messages from other bots?
    Bots talking to each other could potentially get stuck in unwelcome loops. To avoid this, we decided that bots will not be able to see messages from other bots regardless of mode.

    Einen Kommentar schreiben:


  • Zaschii
    antwortet
    Hallo Zusammen,

    erstmal Danke an jonofe für die super LBS.

    Der contact läuft bei mir schon länger und heute habe ich den receiver und validator installiert.

    Ich möchte über IFTTT eine telegram message an eine Gruppe senden wo mein chatbot Mitglied ist und darauf reagieren.

    Allerdings registriert der receiver die Nachrichten die von IFTTT Bot kommen nicht.
    Nachrichten von allen anderen Gruppenteilnehmern erkennt er aber.
    Also Grundgerüst funktioniert, nur der receiver LBS mag die Nachrichten von dem IFTTT Bot nicht.

    Irgendeine Idee?

    Danke im Voraus und bleibt Gesund

    Einen Kommentar schreiben:


  • Brick
    antwortet
    Hallo,

    kleine Frage. Ich hab jetzt ein neues Handy. Jetzt will ich die Nachrichten natürlich dort empfangen. Hab dann mal wie in der Anleitung die api.telegram.org mit dem
    API Key aufgerufen. Als Antwort erhalte ich aber nur: "{"ok":true,"result":[]} "

    Was muss ich den machen um an die richtige Chatid zu kommen ?

    Gruß Martin

    EDIT: Habs.. Im Receive LBS kommt natürlich die richtige ChatID an, wenn man einen Nachricht hinschickt. Hab im Contact LBS immer gekuckt !!

    Somit: ERLEDIGT !
    Zuletzt geändert von Brick; 21.03.2020, 07:41.

    Einen Kommentar schreiben:


  • jonofe
    antwortet
    Dieser LBS funktioniert nur noch unter CentOS7/PHP7.

    Einen Kommentar schreiben:


  • nektar
    antwortet

    Hallo.

    Ich versuche gerade den php-telegram-bot neu zu installieren da nach einem update nichts mehr funktionierte.
    Jetzt sagt er mir bei der Installation immer das es Probleme gibt.

    Code:
    [root@edomi php-telegram-bot]# composer install
    
    Your version of PHP, 5.3.3, is affected by CVE-2013-6420 and cannot safely perform certificate validation, we strongly suggest you upgrade.
    
    Do not run Composer as root/super user! See https://getcomposer.org/root for details
    
    Loading composer repositories with package information
    
    Installing dependencies (including require-dev) from lock file
    
    Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update <package name>`.
    
    Your requirements could not be resolved to an installable set of packages.
    
    
    
    
    Problem 1
    
    - This package requires php ^5.5|^7.0 but your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 2
    
    - Installation request for guzzlehttp/guzzle 6.3.3 -> satisfiable by guzzlehttp/guzzle[6.3.3].
    
    - guzzlehttp/guzzle 6.3.3 requires php >=5.5 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 3
    
    - Installation request for guzzlehttp/promises v1.3.1 -> satisfiable by guzzlehttp/promises[v1.3.1].
    
    - guzzlehttp/promises v1.3.1 requires php >=5.5.0 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 4
    
    - Installation request for guzzlehttp/psr7 1.6.1 -> satisfiable by guzzlehttp/psr7[1.6.1].
    
    - guzzlehttp/psr7 1.6.1 requires php >=5.4.0 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 5
    
    - Installation request for ralouphie/getallheaders 3.0.3 -> satisfiable by ralouphie/getallheaders[3.0.3].
    
    - ralouphie/getallheaders 3.0.3 requires php >=5.6 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 6
    
    - Installation request for dms/phpunit-arraysubset-asserts v0.1.0 -> satisfiable by dms/phpunit-arraysubset-asserts[v0.1.0].
    
    - dms/phpunit-arraysubset-asserts v0.1.0 requires php ^7.2 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 7
    
    - Installation request for doctrine/instantiator 1.2.0 -> satisfiable by doctrine/instantiator[1.2.0].
    
    - doctrine/instantiator 1.2.0 requires php ^7.1 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 8
    
    - Installation request for monolog/monolog 2.0.0 -> satisfiable by monolog/monolog[2.0.0].
    
    - monolog/monolog 2.0.0 requires php ^7.2 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 9
    
    - Installation request for myclabs/deep-copy 1.9.3 -> satisfiable by myclabs/deep-copy[1.9.3].
    
    - myclabs/deep-copy 1.9.3 requires php ^7.1 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 10
    
    - Installation request for phar-io/manifest 1.0.3 -> satisfiable by phar-io/manifest[1.0.3].
    
    - phar-io/manifest 1.0.3 requires php ^5.6 || ^7.0 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 11
    
    - Installation request for phar-io/version 2.0.1 -> satisfiable by phar-io/version[2.0.1].
    
    - phar-io/version 2.0.1 requires php ^5.6 || ^7.0 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 12
    
    - Installation request for phpdocumentor/reflection-common 2.0.0 -> satisfiable by phpdocumentor/reflection-common[2.0.0].
    
    - phpdocumentor/reflection-common 2.0.0 requires php >=7.1 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 13
    
    - Installation request for phpdocumentor/reflection-docblock 4.3.2 -> satisfiable by phpdocumentor/reflection-docblock[4.3.2].
    
    - phpdocumentor/reflection-docblock 4.3.2 requires php ^7.0 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 14
    
    - Installation request for phpdocumentor/type-resolver 1.0.1 -> satisfiable by phpdocumentor/type-resolver[1.0.1].
    
    - phpdocumentor/type-resolver 1.0.1 requires php ^7.1 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 15
    
    - Installation request for phpunit/php-code-coverage 7.0.8 -> satisfiable by phpunit/php-code-coverage[7.0.8].
    
    - phpunit/php-code-coverage 7.0.8 requires php ^7.2 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 16
    
    - Installation request for phpunit/php-file-iterator 2.0.2 -> satisfiable by phpunit/php-file-iterator[2.0.2].
    
    - phpunit/php-file-iterator 2.0.2 requires php ^7.1 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 17
    
    - Installation request for phpunit/php-timer 2.1.2 -> satisfiable by phpunit/php-timer[2.1.2].
    
    - phpunit/php-timer 2.1.2 requires php ^7.1 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 18
    
    - Installation request for phpunit/php-token-stream 3.1.1 -> satisfiable by phpunit/php-token-stream[3.1.1].
    
    - phpunit/php-token-stream 3.1.1 requires php ^7.1 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 19
    
    - Installation request for phpunit/phpunit 8.4.1 -> satisfiable by phpunit/phpunit[8.4.1].
    
    - phpunit/phpunit 8.4.1 requires php ^7.2 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 20
    
    - Installation request for sebastian/code-unit-reverse-lookup 1.0.1 -> satisfiable by sebastian/code-unit-reverse-lookup[1.0.1].
    
    - sebastian/code-unit-reverse-lookup 1.0.1 requires php ^5.6 || ^7.0 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 21
    
    - Installation request for sebastian/comparator 3.0.2 -> satisfiable by sebastian/comparator[3.0.2].
    
    - sebastian/comparator 3.0.2 requires php ^7.1 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 22
    
    - Installation request for sebastian/diff 3.0.2 -> satisfiable by sebastian/diff[3.0.2].
    
    - sebastian/diff 3.0.2 requires php ^7.1 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 23
    
    - Installation request for sebastian/environment 4.2.2 -> satisfiable by sebastian/environment[4.2.2].
    
    - sebastian/environment 4.2.2 requires php ^7.1 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 24
    
    - Installation request for sebastian/exporter 3.1.2 -> satisfiable by sebastian/exporter[3.1.2].
    
    - sebastian/exporter 3.1.2 requires php ^7.0 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 25
    
    - Installation request for sebastian/global-state 3.0.0 -> satisfiable by sebastian/global-state[3.0.0].
    
    - sebastian/global-state 3.0.0 requires php ^7.2 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 26
    
    - Installation request for sebastian/object-enumerator 3.0.3 -> satisfiable by sebastian/object-enumerator[3.0.3].
    
    - sebastian/object-enumerator 3.0.3 requires php ^7.0 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 27
    
    - Installation request for sebastian/object-reflector 1.1.1 -> satisfiable by sebastian/object-reflector[1.1.1].
    
    - sebastian/object-reflector 1.1.1 requires php ^7.0 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 28
    
    - Installation request for sebastian/recursion-context 3.0.0 -> satisfiable by sebastian/recursion-context[3.0.0].
    
    - sebastian/recursion-context 3.0.0 requires php ^7.0 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 29
    
    - Installation request for sebastian/resource-operations 2.0.1 -> satisfiable by sebastian/resource-operations[2.0.1].
    
    - sebastian/resource-operations 2.0.1 requires php ^7.1 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 30
    
    - Installation request for sebastian/type 1.1.3 -> satisfiable by sebastian/type[1.1.3].
    
    - sebastian/type 1.1.3 requires php ^7.2 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 31
    
    - Installation request for sebastian/version 2.0.1 -> satisfiable by sebastian/version[2.0.1].
    
    - sebastian/version 2.0.1 requires php >=5.6 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 32
    
    - Installation request for squizlabs/php_codesniffer 3.5.1 -> satisfiable by squizlabs/php_codesniffer[3.5.1].
    
    - squizlabs/php_codesniffer 3.5.1 requires php >=5.4.0 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 33
    
    - Installation request for theseer/tokenizer 1.1.3 -> satisfiable by theseer/tokenizer[1.1.3].
    
    - theseer/tokenizer 1.1.3 requires php ^7.0 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 34
    
    - doctrine/instantiator 1.2.0 requires php ^7.1 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    - phpspec/prophecy 1.9.0 requires doctrine/instantiator ^1.0.2 -> satisfiable by doctrine/instantiator[1.2.0].
    
    - Installation request for phpspec/prophecy 1.9.0 -> satisfiable by phpspec/prophecy[1.9.0].
    
    
    
    
    [root@edomi php-telegram-bot]# composer update
    
    Your version of PHP, 5.3.3, is affected by CVE-2013-6420 and cannot safely perform certificate validation, we strongly suggest you upgrade.
    
    Do not run Composer as root/super user! See https://getcomposer.org/root for details
    
    Loading composer repositories with package information
    
    Updating dependencies (including require-dev)
    
    Your requirements could not be resolved to an installable set of packages.
    
    
    
    
    Problem 1
    
    - This package requires php ^5.5|^7.0 but your PHP version (5.3.3) does not satisfy that requirement.
    
    Problem 2
    
    - guzzlehttp/guzzle 6.5.2 requires php >=5.5 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    - guzzlehttp/guzzle 6.5.1 requires php >=5.5 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    - guzzlehttp/guzzle 6.5.0 requires php >=5.5 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    - guzzlehttp/guzzle 6.4.1 requires php >=5.5 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    - guzzlehttp/guzzle 6.4.0 requires php >=5.5 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    - guzzlehttp/guzzle 6.3.3 requires php >=5.5 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    - guzzlehttp/guzzle 6.3.2 requires php >=5.5 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    - guzzlehttp/guzzle 6.3.1 requires php >=5.5 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    - guzzlehttp/guzzle 6.3.0 requires php >=5.5 -> your PHP version (5.3.3) does not satisfy that requirement.
    
    - Installation request for guzzlehttp/guzzle ^6.3 -> satisfiable by guzzlehttp/guzzle[6.3.0, 6.3.1, 6.3.2, 6.3.3, 6.4.0, 6.4.1, 6.5.0, 6.5.1, 6.5.2].
    Verstehe ich das richtig das ich php updaten muss?

    Christian

    Einen Kommentar schreiben:


  • Stoxn
    antwortet
    Downgrade war es zwar nicht, aber es hat geholfen

    Einen Kommentar schreiben:


  • trollmar
    antwortet
    Danke Stoxn!
    Das war der Hinweis.
    Hatte den receiver vor 4 Monaten deaktiviert weil ich keine Zeit zum debuggen hatten
    Der Telegram Receiver hatte eine hohe CPU Last verursacht.

    Da ich eigentlich nur OneWay Edomi>Telegram brauche hatte ich das vergessen das ich den deaktiviert hatte.

    LG
    Zuletzt geändert von trollmar; 03.03.2020, 21:51.

    Einen Kommentar schreiben:


  • trollmar
    antwortet
    Zitat von Stoxn Beitrag anzeigen
    Downgrade mal den LBS.

    Edit: sorry, 0.8.4 passt schon mit 6.5
    THX!
    Ach dafür is der receiver zuständig?
    Dachte das wäre ne "Telegram funktion".

    Moment

    Einen Kommentar schreiben:


  • Stoxn
    antwortet
    Downgrade mal den LBS.

    Edit: sorry, 0.8.4 passt schon mit 6.5
    Zuletzt geändert von Stoxn; 03.03.2020, 21:20. Grund: Richtige Version bereits im Einsatz

    Einen Kommentar schreiben:


  • jonofe
    antwortet
    Such mal in der Telegram App nach dem Bot "Chat ID Echo", klick dann auf "Starten" und du siehst deine ChatID.

    Einen Kommentar schreiben:


  • trollmar
    antwortet
    Zitat von jonofe Beitrag anzeigen
    1. Deine Frau muss die Telegram App installieren und sich registrieren.
    2. Danach deinen Bot als Contact hinzufügen
    3. Danach an deinen Bot den Befehl /whoami senden
    4. Dein Bot antwortet nun u.a. mit der ChatID deiner Frau
    5. Dann fügst du einen weiteren Telegram-Contact LBS in deine Logik ein, konfigurierst den genauso wie deinen, außer ChatID auf E3. Dort fügst du die Chat-ID deiner Frau ein (aus Schritt 5)
    Danach Projekt aktivieren und Deine Frau sollte dieselben Nachrichten bekommen, bzw. die, die Du dann auf die entsprechenden Eingänge "ihres" Telegram-Contact-LBS sendest.
    Hi Jonofe.
    viele Jahre später und auch ich möchte gerne meine Frau mit meinem BOT ausstatten

    Bin noch auf centos6.x und die LBS Version 0.8.4.

    Bei mir klappt das leider nicht.
    Habe meinen Bot Kontakt über Telegram zum anderen Device "geteilt"
    Auf dem zweiten Device habe ich den Kontakt geöffnet.
    Dann kommt da auch "/start"
    Wenn ich jetzt aber "/whoami" auf dem neuen Device/Chat schicke dann passiert nix.

    Selbst auf meinem Device funktioniert "/whoami" nicht. Da kommt nix.
    Auch auf "/help" command antwortet der BOT nicht.
    Da muss ich doch was falsch verstanden haben

    Einen Kommentar schreiben:

Lädt...
X