Telegram instant messaging TelegramBot - Empfangen und Senden per FHEM

Begonnen von viegener, 20 Juni 2015, 18:59:41

Vorheriges Thema - Nächstes Thema

MadMax

Hallo,

ich bin von einem PI4B auf ein leistungsstärkeres Gerät umgestiegen.

Seit dem bekomme ich diese Meldungen im LOG.
2023.10.31 18:50:27 3: TelegramBot_Callback Telegram: resulted in Callback returned error :Too Many Requests: retry after 3: from SendIt
2023.10.31 18:50:27 3: TelegramBot_Callback Telegram: Reached max retries (ret: Callback returned error :Too Many Requests: retry after 3:) for msg #Kamera : /etc/motioneye/CAM/CAM_Hof/2023-10-31/18-47-57-00.jpg
2023.10.31 18:50:56 3: TelegramBot_Callback Telegram: resulted in Callback returned error :Too Many Requests: retry after 31: from SendIt
2023.10.31 18:50:56 3: TelegramBot_Callback Telegram: Reached max retries (ret: Callback returned error :Too Many Requests: retry after 31:) for msg #Kamera : /etc/motioneye/CAM/CAM_Hof/2023-10-31/18-48-32-00.jpg
2023.10.31 18:51:12 3: TelegramBot_Callback Telegram: resulted in Callback returned error :Too Many Requests: retry after 15: from SendIt
2023.10.31 18:51:12 3: TelegramBot_Callback Telegram: Reached max retries (ret: Callback returned error :Too Many Requests: retry after 15:) for msg #Kamera : /etc/motioneye/CAM/CAM_Hof/2023-10-31/18-47-51.mp4
2023.10.31 18:51:13 3: TelegramBot_Callback Telegram: resulted in Callback returned error :Too Many Requests: retry after 14: from SendIt
2023.10.31 18:51:13 3: TelegramBot_Callback Telegram: Reached max retries (ret: Callback returned error :Too Many Requests: retry after 14:) for msg #Kamera : /etc/motioneye/CAM/CAM_Hof/2023-10-31/18-48-36-00.jpg

Scheinbar sendent mein MotionEye zu viele bilder welche nicht verarbeitet werden können?

Auf wie viele pro Secunde sollte ich dies begrenzen?

Danke.

Gruß
Max
Lenovo M910Q Tiny Debian 12, FHEM 6.3, 2x Siemens Logo 0BA7, Homematic CCU3, Philips HUE, 5x SMA Wechselrichter, BYD HVM, SMA EVCharger, Daikin Wärmepumpe über CAN

Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/MadMax

viegener

@MadMax: es gibt wohl aktuell folgende Grenzen fürs Bot API:
https://core.telegram.org/bots/faq#my-bot-is-hitting-limits-how-do-i-avoid-this

When sending messages inside a particular chat, avoid sending more than one message per second. We may allow short bursts that go over this limit, but eventually you'll begin receiving 429 errors.

If you're sending bulk notifications to multiple users, the API will not allow more than 30 messages per second or so. Consider spreading out notifications over large intervals of 8—12 hours for best results.

Also note that your bot will not be able to send more than 20 messages per minute to the same group.
Kein Support über PM - Anfragen gerne im Forum - Damit auch andere profitieren und helfen können

MadMax

Ok, danke.
Ich sende halt Kamerabilder bei Bewegung von zwei Kameras, da kommt halt einiges zusammen.
Die Bilder werden aber später nachgesendt also nicht so schlimm.
Lenovo M910Q Tiny Debian 12, FHEM 6.3, 2x Siemens Logo 0BA7, Homematic CCU3, Philips HUE, 5x SMA Wechselrichter, BYD HVM, SMA EVCharger, Daikin Wärmepumpe über CAN

Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/MadMax

Adriano

Hallo zusammen, heute hatte ich mal wieder einen Internetausfall. Dabei war FHEM mal wieder nur sporadisch "erreichbar".

Diesmal habe ich mich ausgiebig auf die Suche gemacht und den TelegramBot als Übeltäter ausgemacht.
Dieser blockiert FHEM und macht es unbedienbar, wenn kein Internet mehr vorhanden ist.

Ich habe nun "attr global dnsServer x.x.x.x" enstprechend in die Config mit meinem internen DNS gesetzt.

Reicht das schon als Abhilfe oder muss man den TelegramBot per notify wirklich "disablen" am besten?

Danke für Eure Hilfe.

viegener

Zitat von: Adriano am 05 Dezember 2023, 16:32:13Hallo zusammen, heute hatte ich mal wieder einen Internetausfall. Dabei war FHEM mal wieder nur sporadisch "erreichbar".

Diesmal habe ich mich ausgiebig auf die Suche gemacht und den TelegramBot als Übeltäter ausgemacht.
Dieser blockiert FHEM und macht es unbedienbar, wenn kein Internet mehr vorhanden ist.

Ich habe nun "attr global dnsServer x.x.x.x" enstprechend in die Config mit meinem internen DNS gesetzt.

Reicht das schon als Abhilfe oder muss man den TelegramBot per notify wirklich "disablen" am besten?

Danke für Eure Hilfe.


Ein paar Anmerkungen: Aufgrund der Architektur von FHEM wird bei einem Internetausfall jedes Modul blockieren, dass eine Namensauflösung (direkt in FHEM) versucht, ohne dass das DNS-Attribut gesetzt ist. Blockieren heisst an dieser Stelle eben, dass FHEM keine anderen Dinge mehr abarbeiten kann.

Die Lösung dafür ist genau das dnsServer Attribut. Diese "Abhilfe" hat übrigens erstmal nichts mit dem "Übeltäter" TelegramBot zu tun, sondern ist Teil der FHEM-Infrastruktur. Wenn bei Dir nur der TelegramBot aufs Internet zugreift (bzw. Namensauflösung macht) ist halt auch nur der TelegramBot betroffen, trotzdem macht es Sinn das Attribut zu setzen.



Kein Support über PM - Anfragen gerne im Forum - Damit auch andere profitieren und helfen können

Adriano

Vielen Dank für die Erklärung. Und sorry an TelegramBot ;)

misux

Zitat von: MadMax am 31 Oktober 2023, 19:23:16Hallo,

ich bin von einem PI4B auf ein leistungsstärkeres Gerät umgestiegen.

Seit dem bekomme ich diese Meldungen im LOG.
2023.10.31 18:50:27 3: TelegramBot_Callback Telegram: resulted in Callback returned error :Too Many Requests: retry after 3: from SendIt
2023.10.31 18:50:27 3: TelegramBot_Callback Telegram: Reached max retries (ret: Callback returned error :Too Many Requests: retry after 3:) for msg #Kamera : /etc/motioneye/CAM/CAM_Hof/2023-10-31/18-47-57-00.jpg
2023.10.31 18:50:56 3: TelegramBot_Callback Telegram: resulted in Callback returned error :Too Many Requests: retry after 31: from SendIt
2023.10.31 18:50:56 3: TelegramBot_Callback Telegram: Reached max retries (ret: Callback returned error :Too Many Requests: retry after 31:) for msg #Kamera : /etc/motioneye/CAM/CAM_Hof/2023-10-31/18-48-32-00.jpg
2023.10.31 18:51:12 3: TelegramBot_Callback Telegram: resulted in Callback returned error :Too Many Requests: retry after 15: from SendIt
2023.10.31 18:51:12 3: TelegramBot_Callback Telegram: Reached max retries (ret: Callback returned error :Too Many Requests: retry after 15:) for msg #Kamera : /etc/motioneye/CAM/CAM_Hof/2023-10-31/18-47-51.mp4
2023.10.31 18:51:13 3: TelegramBot_Callback Telegram: resulted in Callback returned error :Too Many Requests: retry after 14: from SendIt
2023.10.31 18:51:13 3: TelegramBot_Callback Telegram: Reached max retries (ret: Callback returned error :Too Many Requests: retry after 14:) for msg #Kamera : /etc/motioneye/CAM/CAM_Hof/2023-10-31/18-48-36-00.jpg

Scheinbar sendent mein MotionEye zu viele bilder welche nicht verarbeitet werden können?

Auf wie viele pro Secunde sollte ich dies begrenzen?

Danke.

Gruß
Max

Hi Ich hatte am 18.12 auch einen Eintrag der so angefangen hat:

2023.12.18 11:57:59 3: TelegramBot_Callback Telegram: Reached max retries (ret: Callback returned error :Internal Server Error:) for msg -22xxxxxx21 :
Nur darauf folgte dann eitwas was mich etwas umgehauen hat:

����␐JFIF␁␁␁␁��C
   



␋␎␎
␏␓ ␕␓␒␒␓'␜␞␗ .)10.)-,3:J>36F7,-@WAFLNRSR2>ZaZP`JQRO��C␁␎␎␎␓␑␓&␕␕&O5-5OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO��␑␈␈p␏␃␁"␂␑␁␃␑␁��␟␁␅␁␁␁␁␁␁␁␂␃␄␅␆␇␈   
␋���␐␂␁␃␃␂␄␃␅␅␄␄␁}␁␂␃␄␑␅␒!1A␆␓Qa␇"q␔2���␈#B��␕R��$3br�   
␖␗␘␙␚%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz���������������������������������������������������������������������������␟␁␃␁␁␁␁␁␁␁␁␁␁␂␃␄␅␆␇␈   
␋���␑␂␁␂␄␄␃␄␇␅␄␄␁␂w␁␂␃␑␄␅!1␆␒AQ␇aq␓"2�␈␔B����    #3R�␕br�
␖$4�%�␗␘␙␚&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz��������������������������������������������������������������������������␌␃␁␂␑␃␑?���B�l�3�v�YHb�␒_4␑����}Y���␐�␕␟�\��QC-�ۻ���c ␎������kj^+��ɼ��ǧ?���Xne9�lr�ک�����i␛���`�,�Y��␛��-��Ȇ>7�*穮��O��cQu#JǠA�~��GI6�l?�w2␇�␏ݠ�ι��P��y��ǁ�URnܨ���˴�aS�<��JYR+��|��␑&rG\�BUP(\Tq����W␄�<c�Y␒C␐/(��/�sR#Z5��␞4�␈U�?\␚s�ʀ�<�#␟�0��E����␞␕*�c��֑␁
��␈�2�~R�␂␅<�␃����Iqu␕�␇
!�'��k�␎M9D�P�2�T-�␏��]0���"�#��#!��g␃mM��␛���2�d���z��␚��C77␋�
�:�9`�ӓ`-ss&�\���K��r␝cL���␝�L:�␕b�{��k�uʣ␕#ֺ␏␓� ��3ngp����=m�␛{␙-����␎k(M�r�\���K`-�␏z␎␎�Z:~�|�.��,��'��>���z� $�����8n���t��ܞ��p�%',M-$_<J��␂�3�␅␙5�̮2F؅�(ޟg󙰻s��w:ϧ�␛|���␓ӌ����5���M�Q��y�����9\�'����A�b�����k���!���a�󤊉j�␞�␃␕ԣ3�/␐��WD�)v�V␚␅+a#.�␇ZlҤ 3��=j��ח�␞IV␘�/S����Ÿ�`L`�z��␂,h���)j��QE␔␈(��(��(��(��(��(��(��(��(��(��(��C
(����(�␂�(���(��(�␚(��␖�J(��(��(�(�␂�(�␂�(�␂�(�aE␔S��(��)QE␔�(��(��(��(��(��@␔QE␔QE␔QE␔QE␔QE␔QE␔QE␔QE␔QE␔QE␂
(��
(���␔Q@��(�aE␔s@␅␔Q@␅␔Q@␅␔Q@␅␔Q@��(�␁E␔P0��(��(��(��(␘QE␔QE␔QE␔QE␔␈(��(��(��(��(��(��(��J(��
(��␅␔Q@␅␔Q@␅␔Q@␅␔Q@␅␔Q@␅␔Q@␅␔Q@␅␔Q@␅␔Q@␅␔Q@␅␔Q@␅␔Q@␅␔Q@␅␔Q@␅␔QHaE␔S��(␐�QE!�E␔S␐QE␔QE␔QE␔�QE␔QE
(��␅␔Q@␅␔Q@␅␔Q@␅␔QHaE␔P␁E␔S␐QE␔QE␔␌(��(��␄␔QE ␟␌fIUAǩ�7�␚��՞���`�]�00�␂s�␇�k��o�H�'��٤R��␇␟��W�D�ٝ�;gq,s�y�␈�␒��2ǚ�␃␜g�Nv�`t�b�$T6h�6qy�����Q��␑�Lp��E��{֣ʶ␚t�$�G�c␕�ƥ�␔�jH�k��E20�<}+U�␝�6␈D␐�␜␝���J���W���\%��h���!��z��H���␜␅␙�OS�:��$��␎␔{PI␈'␜��(��Ť���
(��␐�M8�M ␛E␔P␂␚i�␚C@␌aSٮ���5    �6]e�w��␄ԴR���
ZZQIK@␋E␔U␈QN��N�␔����QE-␔Q@␋E␔P␂�E␔����QE␔�QE␔QE-␔Q@␇��␚(��␖���8����3@    �=␘ө6�?*��4��
(��
���B6␞�q)�n�S��/4�������␎�~'a��Qԗ␟��'�␃�␕␝f␁E␔UQE␔Q��␁>�Q@�9۟�Nii0=)h��(� P�*��5␝Inqp���*ò�-���[q␇ߓV�W���3(��t�␞�<Վ��kQ␞�␒��r}ii�����(␂␂~w␞�@�R���[�\�␐?�H␅8Q@��p'����␙��fϏp�␕q�Xm..␜�aM��~�B�D��6��e�d␟�?Ҧ��␅�q�1mh␅������>h␃␗[��␈l��n��t�v�r␇�Y$|�␇e␃򧬭w}6�!��␕␟^�␝��F�a��.������+_I��5?q␃␜wc]���
+GH$`�.wJGOa�W1�␓�j�nF�␞t��1���u��R^Fcހ"␔�QL␂�(�␁E␔P␁E␔P␁E␔}(��(��(������Z�    �噮xO/�<{��`,�~��-�Fm?␑^/;@�A��}jؾ��W␞m��Y�����V≼đ@x�é��p9
+[��q

Und ich weiß nicht wie lang diser Eintrag war, hat aber ca 10Sek gedauert bis die Log geladen war... also ca 17 Meter lang...

Nur Motion Eye habe ich nicht... HAbe also keine Ahnung wo das her kam....



wowogiengen

Hallo,
verstehe ich das richtig, dass der TelegramBot als blocking device ausgeführt ist?
Jedesmal wenn der Telegram-Server etwas länger auf sich warten lässt, bekomme ich bei meinem Homematic-Device einen ACK-Timeout... Aber komischerweise immer nur bei einem, und auch nicht verlässlich...
Was kann das sonst noch sein?

MadMax-FHEM

Was heißt länger auf sich warten lässt?

Attribut dnsServer in global gesetzt?

Wenn nicht, blockiert die Namensauflösung, falls es mal Internetprobleme gibt...
Betrifft dann aber nicht nur Telegram, sondern alles was von fhem aus ins Internet "ruft"...

Gab es ein paar Posts vorher schon mal...

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

wowogiengen

Hallo MadMax,
sorry dass ich so spät antworte
Zitat von: MadMax-FHEM am 31 Dezember 2023, 13:11:14Was heißt länger auf sich warten lässt?
Das heißt, wenn das Warten auf die Antwort den FHEM-Server länger blockiert, als z.B. das Auswerten einer Quittung der Homematic-Komponenten dauert (weil zuvor ein set ... on ausgeführt worden ist) ...
Zitat von: MadMax-FHEM am 31 Dezember 2023, 13:11:14Attribut dnsServer in global gesetzt?
Ja, schon seit gut einer Woche...

Mich wundert, dass es immer nur einen meiner 6 Aktoren betrifft, nie alle zusammen (was ja wiederum gegen die Theorie mit dem blockieren durch TelegramBot spricht).

Wenn es ein Funkproblem wäre, müssten ja alle Aktoren gleichzeitig den Ausfall zeigen, aber das ist auch nicht so. Außerdem betrifft es auch den Aktor, der Luftlinie maximal 3m weit weg ist.

Ich habe mir jetzt mal die RSSI-Werte aller Komponenten mitloggen lassen... vielleicht sieht man dann was...

Viele Grüße
Wolfgang



MadMax-FHEM

Soweit ich weiß ist Telegram "non-Blocking"?
Einzig ist/könnte eben die Namensauflösung/DNS sein, daher -> dnsServer Attribut.

So ganz verstehe ich immer noch nicht wann was wo warum hängt?

Aber ich denke es ist/hat nichts mit Telegram und dem Modul hier zu tun?

Bei Homematic gibt es auch andere Dinge die man abfragen kann, z.B. Telegrammwiederholungen usw.
Weil RSSI mag ja gut sein aber wenn es Störungen gibt, die in der "funktechnisch starken Anbindung" trotzdem Auftreten, dann hilft eine "starke Verbindung" auch nichts.
Mehr zeigt RSSI ja nicht...

https://wiki.fhem.de/wiki/HMinfo
Bzw.: https://wiki.fhem.de/wiki/HMinfo#protoEvents

Daher besser einen losgelösten Thread aufmachen?
Bei Homematic, falls es nur bei Homematic auftritt?

Und wenn es das doch nicht ist, sondern doch Telegram, dann halt wieder hierher 8)

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

teufelchen

Hallo,

ich möchte gerne bei Telegramm verschiedene Favoriten anlegen.
Die einfachen Schaltbefehle funktionieren auch ohne Probleme.

Nun möchte ich aber an einen ESP einen Befehl Schicken.
In Fhem lautet dieser: set ESPEasy_1 25,1,50

Wenn ich den bei den Favoriten hinterlege führt dies dann zu dieser Fehlermeldung:
TelegramBot FHEM -  Befehl:set set ESPEasy_1 25,1,50: - Ergebnis:
Unknown argument 25,1,50, choose one of active:noArg adminpassword buzzer candle clearreadings:noArg deepsleep dmx dots erase:noArg event gpio help:active, .......

Wie muss ich dies hinterlegen, dass es funktioniert?
Raspberry Pi 3
CUL433: V 1.26.05 a-culfw Build: 311 (2018-12-09_19-12-53) CUL433 (F-Band: 433MHz)
freq:433.920MHz bWidth:325KHz rAmpl:42dB sens:4dB
Debmatic mit RPI-RF-MOD

wowogiengen

Hallo,
ich habe bei meinem TelegramBot ein merkwürdiges Verhalten festgestellt...
Nach einigen Neustarts des FHEM-Servers konnte ich zwar Nachrichten rausschicken, aber es wurde nichts mehr empfangen.
Als ich das Attribut allowUnknownContacts probehalber auf 0 gestellt habe, konnte ich Nachrichten empfangen und darauf reagieren. Danach wieder auf 1 gestellt und es läuft trotzdem noch...

Komisch, oder?

MadMax-FHEM

Warum stellst du allowUnknownContacts auf 1?
Ich würde (und tue ich auch) "Unbekannte" draussen lassen...
Also auf 0 stellen...
Außer ich will einen neuen (bislang unbekannten) Kontakt aufnehmen/zulassen...

Gruß, Joachim

P.S.: ich würde meinen dass das bei dir nur zufällig mit dem Umstellen des Attributes zzsammenfiel, also nicht gehen/wieder gehen...
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

wowogiengen

Hallo MadMax,
ich glaube kaum, dass es Zufall war, weil ich seit gestern abend um 20 Uhr bis weit nach Mitternacht, und auch heute früh das Ding nicht zum Laufen gebracht habe. Zumal im Log auch was drinnestand, von wegen der Kontakt wäre blocked:

Ich weiß nicht, ob das ausreicht:

2024.01.20 11:43:32 5: TelegramBot_Callback teleBot: called from Polling
2024.01.20 11:43:32 5: TelegramBot_Callback teleBot: data returned :{"ok":true,"result":[{"update_id":@@@@@@,
"message":{"message_id":@@@@@@,"from":{"id":@@@@@@,"is_bot":false,"first_name":"Petra"},"chat":{"id":-@@@@@@,"title":"Wowo und Petra","type":"supergroup"},"date":@@@@@@,"message_thread_id":@@@@@@,"reply_to_message":{"message_id":@@@@@@,"from":{"id":@@@@@@,"is_bot":true,"first_name":"Wowogiengen Heimautomation","username":"wowogiengen1bot"},"chat":{"id":-@@@@@@,"title":"Wowo und Petra","type":"supergroup"},"date":@@@@@@,"text":"TelegramBot FHEM : -@@@@@@\n Favoriten"},"text":"Short3 = set AlleRolladen Auf"}}]}:
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: encoded a String from :1: to :1:
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: found an ARRAY
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: encoded a String from :@@@@@@: to :@@@@@@:
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: encoded a String from :@@@@@@: to :@@@@@@:
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: encoded a String from :Petra: to :Petra:
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: encoded a String from :0: to :0:
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: found a HASH
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: encoded a String from :wowogiengen1bot: to :wowogiengen1bot:
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: encoded a String from :Wowogiengen Heimautomation: to :Wowogiengen Heimautomation:
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: encoded a String from :1: to :1:
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: encoded a String from :@@@@@@: to :@@@@@@:
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: found a HASH
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: encoded a String from :@@@@@@: to :@@@@@@:
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: encoded a String from :Wowo und Petra: to :Wowo und Petra:
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: encoded a String from :supergroup: to :supergroup:
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: encoded a String from :-@@@@@@: to :-@@@@@@:
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: found a HASH
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: encoded a String from :TelegramBot FHEM : -@@@@@@
 Favoriten: to :TelegramBot FHEM : -@@@@@@
 Favoriten:
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: encoded a String from :@@@@@@: to :@@@@@@:
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: found a HASH
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: encoded a String from :@@@@@@: to :@@@@@@:
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: encoded a String from :@@@@@@: to :@@@@@@:
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: encoded a String from :Short3 = set AlleRolladen Auf: to :Short3 = set AlleRolladen Auf:
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: encoded a String from :@@@@@@: to :@@@@@@:
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: encoded a String from :-@@@@@@: to :-@@@@@@:
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: encoded a String from :Wowo und Petra: to :Wowo und Petra:
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: encoded a String from :supergroup: to :supergroup:
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: found a HASH
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: found a HASH
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: found a HASH
2024.01.20 11:43:32 5: TelegramBot_Deepencode teleBot: found a HASH
2024.01.20 11:43:32 5: TelegramBot_Callback teleBot: after encoding
2024.01.20 11:43:32 5: TelegramBot_Callback teleBot: polling returned result? 1
2024.01.20 11:43:32 5: UpdatePoll teleBot: number of results 1
2024.01.20 11:43:32 5: UpdatePoll teleBot: parse result
2024.01.20 11:43:32 3: TelegramBot teleBot: Message from unknown Contact (id:@@@@@@: name:Petra:) blocked
2024.01.20 11:43:32 5: TelegramBot_UpdatePoll teleBot: called
2024.01.20 11:43:32 5: TelegramBot_UpdatePoll teleBot: - Initiate non blocking polling - With callback set
2024.01.20 11:43:32 5: TelegramBot_readToken: Read Telegram API token from file
2024.01.20 11:43:32 4: TelegramBot_UpdatePoll teleBot: initiate polling with nonblockingGet with 20s
2024.01.20 11:43:32 5: TelegramBot_UpdatePoll teleBot: - Ende > next polling started
2024.01.20 11:43:32 2: TelegramBot_Callback teleBot: resulted in SUCCESS from Polling
2024.01.20 11:43:32 5: TelegramBot_Callback teleBot: - Ende > Control back to FHEM

Ich hab mal alle IDs maskiert, wegen Datenschutz und so...

Wenns funktioniert sieht es so aus

2024.01.20 11:55:43 5: TelegramBot_Callback teleBot: called from Polling
2024.01.20 11:55:43 5: TelegramBot_Callback teleBot: data returned :{"ok":true,"result":[{"update_id":@@@@@@,
"message":{"message_id":@@@@@@,"from":{"id":@@@@@@,"is_bot":false,"first_name":"Wolfgang","username":"wowogiengen","language_code":"de"},"chat":{"id":-@@@@@@,"title":"Wowo und Petra","type":"supergroup"},"date":@@@@@@,"message_thread_id":@@@@@@,"reply_to_message":{"message_id":@@@@@@,"from":{"id":@@@@@@,"is_bot":true,"first_name":"Wowogiengen Heimautomation","username":"wowogiengen1bot"},"chat":{"id":-@@@@@@,"title":"Wowo und Petra","type":"supergroup"},"date":@@@@@@,"text":"TelegramBot FHEM : -@@@@@@\n Favoriten"},"text":"Short10 = set RolladenBuero pct 60"}}]}:
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: found an ARRAY
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: encoded a String from :@@@@@@: to :@@@@@@:
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: encoded a String from :wowogiengen: to :wowogiengen:
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: encoded a String from :Wolfgang: to :Wolfgang:
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: encoded a String from :de: to :de:
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: encoded a String from :0: to :0:
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: encoded a String from :@@@@@@: to :@@@@@@:
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: found a HASH
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: encoded a String from :@@@@@@: to :@@@@@@:
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: encoded a String from :wowogiengen1bot: to :wowogiengen1bot:
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: encoded a String from :1: to :1:
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: encoded a String from :Wowogiengen Heimautomation: to :Wowogiengen Heimautomation:
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: found a HASH
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: encoded a String from :TelegramBot FHEM : -@@@@@@
 Favoriten: to :TelegramBot FHEM : -@@@@@@
 Favoriten:
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: encoded a String from :@@@@@@: to :@@@@@@:
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: encoded a String from :@@@@@@: to :@@@@@@:
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: encoded a String from :Wowo und Petra: to :Wowo und Petra:
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: encoded a String from :supergroup: to :supergroup:
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: encoded a String from :-@@@@@@: to :-@@@@@@:
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: found a HASH
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: found a HASH
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: encoded a String from :@@@@@@: to :@@@@@@:
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: encoded a String from :@@@@@@: to :@@@@@@:
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: encoded a String from :Short10 = set RolladenBuero pct 60: to :Short10 = set RolladenBuero pct 60:
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: encoded a String from :@@@@@@: to :@@@@@@:
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: encoded a String from :supergroup: to :supergroup:
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: encoded a String from :Wowo und Petra: to :Wowo und Petra:
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: encoded a String from :-@@@@@@: to :-@@@@@@:
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: found a HASH
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: found a HASH
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: found a HASH
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: encoded a String from :1: to :1:
2024.01.20 11:55:43 5: TelegramBot_Deepencode teleBot: found a HASH
2024.01.20 11:55:43 5: TelegramBot_Callback teleBot: after encoding
2024.01.20 11:55:43 5: TelegramBot_Callback teleBot: polling returned result? 1
2024.01.20 11:55:43 5: UpdatePoll teleBot: number of results 1
2024.01.20 11:55:43 5: UpdatePoll teleBot: parse result
2024.01.20 11:55:43 3: TelegramBot teleBot: Found from id in message - id : @@@@@@
2024.01.20 11:55:43 4: TelegramBot_ParseMsg teleBot: Textmessage
2024.01.20 11:55:43 4: TelegramBot_ParseMsg teleBot: text   :Short10 = set RolladenBuero pct 60:
2024.01.20 11:55:43 4: TelegramBot_ContactUpdate # Contacts in hash before :2:
2024.01.20 11:55:43 3: TelegramBot_ContactUpdate new contact :-@@@@@@::#Wowo_und_Petra:
2024.01.20 11:55:43 4: TelegramBot_ContactUpdate # Contacts in hash after :2:
2024.01.20 11:55:43 4: TelegramBot_GetFullnameForContact # Contacts is @@@@@@:Wolfgang:@wowogiengen:
2024.01.20 11:55:43 4: TelegramBot_GetFullnameForContact # name is Wolfgang
2024.01.20 11:55:43 4: TelegramBot_GetFullnameForContact # Contacts is <undef>
2024.01.20 11:55:43 5: TelegramBot_Set teleBot: called
2024.01.20 11:55:43 5: TelegramBot_Set teleBot: called
2024.01.20 11:55:43 5: TelegramBot_checkAllowedPeer teleBot: called with @@@@@@
2024.01.20 11:55:43 5: TelegramBot_checkAllowedPeer teleBot: called with -@@@@@@
2024.01.20 11:55:43 4: TelegramBot_SendFavorites cmd correct peer
2024.01.20 11:55:43 4: TelegramBot_SendFavorites cmd :10 = set RolladenBuero pct 60:   peer :@@@@@@:   aliasExec :0
2024.01.20 11:55:43 5: TelegramBot_SendFavorites parsed cmdFavId :10   cmdaddition :<undef>:
2024.01.20 11:55:43 4: TelegramBot_SendFavorites exec cmd :9:
2024.01.20 11:55:43 4: TelegramBot_SplitFavoriteDef cmd :set RolladenBuero pct 60:
      alias :<undef>: desc :<undef>:  parsecmd :set RolladenBuero pct 60:   confirm: 0:   result: 0:   hidden: 0
2024.01.20 11:55:43 4: TelegramBot_GetFullnameForContact # Contacts is @@@@@@:Wolfgang:@wowogiengen:
2024.01.20 11:55:43 4: TelegramBot_GetFullnameForContact # name is Wolfgang
2024.01.20 11:55:43 5: TelegramBot_ExecuteCommand final cmd for analyze :set RolladenBuero pct 60:
2024.01.20 11:55:43 4: authorize teleBot/cmd/set: allowedTelnet returned dont care
2024.01.20 11:55:43 4: authorize teleBot/cmd/set: allowed_WEB returned dont care
2024.01.20 11:55:43 4: authorize teleBot/cmd/set: allowed_telnetPort returned dont care
2024.01.20 11:55:43 4: authorize teleBot/cmd/set: weballow returned dont care
2024.01.20 11:55:43 4: authorize teleBot/devicename/RolladenBuero: allowedTelnet returned dont care
2024.01.20 11:55:43 4: authorize teleBot/devicename/RolladenBuero: allowed_WEB returned dont care
2024.01.20 11:55:43 4: authorize teleBot/devicename/RolladenBuero: allowed_telnetPort returned dont care
2024.01.20 11:55:43 4: authorize teleBot/devicename/RolladenBuero: weballow returned dont care
2024.01.20 11:55:44 4: TelegramBot_ExecuteCommand result for analyze :<undef>:
2024.01.20 11:55:44 5: TelegramBot_ExecuteCommand teleBot: TelegramBot FHEM - Wolfgang Befehl:set RolladenBuero pct 60: - Ergebnis:\nOK:
2024.01.20 11:55:44 5: TelegramBot_SendIt teleBot: called
2024.01.20 11:55:44 5: TelegramBot_SendIt teleBot: try to send message to :-@@@@@@: -:TelegramBot FHEM - Wolfgang Befehl:set RolladenBuero pct 60: - Ergebnis:\nOK: - add :<undef>: - replyid :<undef>::    options ::
2024.01.20 11:55:44 4: TelegramBot_GetFullnameForContact # Contacts is <undef>
2024.01.20 11:55:44 5: TelegramBot_readToken: Read Telegram API token from file
2024.01.20 11:55:44 4: TelegramBot_SendIt parseMode 0
2024.01.20 11:55:44 4: TelegramBot_SendIt teleBot: Message for sending :--TelegramBot_boundary-x0123
Content-Disposition: form-data; name="chat_id"

-@@@@@@
--TelegramBot_boundary-x0123
Content-Disposition: form-data; name="text"

TelegramBot FHEM - Wolfgang Befehl:set RolladenBuero pct 60: - Ergebnis:
OK
--TelegramBot_boundary-x0123--:
2024.01.20 11:55:44 4: TelegramBot_SendIt teleBot: timeout for sent :30:
2024.01.20 11:55:44 4: TelegramBot_ParseMsg teleBot: SendFavorites returned :TelegramBot FHEM - Wolfgang Befehl:set RolladenBuero pct 60: - Ergebnis:\nOK:
2024.01.20 11:55:44 5: TelegramBot_UpdatePoll teleBot: called
2024.01.20 11:55:44 5: TelegramBot_UpdatePoll teleBot: - Initiate non blocking polling - With callback set
2024.01.20 11:55:44 5: TelegramBot_readToken: Read Telegram API token from file
2024.01.20 11:55:44 4: TelegramBot_UpdatePoll teleBot: initiate polling with nonblockingGet with 20s
2024.01.20 11:55:44 5: TelegramBot_UpdatePoll teleBot: - Ende > next polling started
2024.01.20 11:55:44 2: TelegramBot_Callback teleBot: resulted in SUCCESS from Polling
2024.01.20 11:55:44 5: TelegramBot_Callback teleBot: - Ende > Control back to FHEM
2024.01.20 11:55:44 5: TelegramBot_Callback teleBot: called from SendIt
2024.01.20 11:55:44 5: TelegramBot_Callback teleBot: data returned :{"ok":true,"result":{"message_id":@@@@@@,"from":{"id":@@@@@@,"is_bot":true,"first_name":"Wowogiengen Heimautomation","username":"wowogiengen1bot"},"chat":{"id":-@@@@@@,"title":"Wowo und Petra","type":"supergroup"},"date":@@@@@@,"text":"TelegramBot FHEM - Wolfgang Befehl:set RolladenBuero pct 60: - Ergebnis:\nOK"}}:
2024.01.20 11:55:44 5: TelegramBot_Deepencode teleBot: encoded a String from :1: to :1:
2024.01.20 11:55:44 5: TelegramBot_Deepencode teleBot: encoded a String from :TelegramBot FHEM - Wolfgang Befehl:set RolladenBuero pct 60: - Ergebnis:
OK: to :TelegramBot FHEM - Wolfgang Befehl:set RolladenBuero pct 60: - Ergebnis:
OK:
2024.01.20 11:55:44 5: TelegramBot_Deepencode teleBot: encoded a String from :@@@@@@: to :@@@@@@:
2024.01.20 11:55:44 5: TelegramBot_Deepencode teleBot: encoded a String from :@@@@@@: to :@@@@@@:
2024.01.20 11:55:44 5: TelegramBot_Deepencode teleBot: encoded a String from :-@@@@@@: to :-@@@@@@:
2024.01.20 11:55:44 5: TelegramBot_Deepencode teleBot: encoded a String from :supergroup: to :supergroup:
2024.01.20 11:55:44 5: TelegramBot_Deepencode teleBot: encoded a String from :Wowo und Petra: to :Wowo und Petra:
2024.01.20 11:55:44 5: TelegramBot_Deepencode teleBot: found a HASH
2024.01.20 11:55:44 5: TelegramBot_Deepencode teleBot: encoded a String from :wowogiengen1bot: to :wowogiengen1bot:
2024.01.20 11:55:44 5: TelegramBot_Deepencode teleBot: encoded a String from :Wowogiengen Heimautomation: to :Wowogiengen Heimautomation:
2024.01.20 11:55:44 5: TelegramBot_Deepencode teleBot: encoded a String from :1: to :1:
2024.01.20 11:55:44 5: TelegramBot_Deepencode teleBot: encoded a String from :@@@@@@: to :@@@@@@:
2024.01.20 11:55:44 5: TelegramBot_Deepencode teleBot: found a HASH
2024.01.20 11:55:44 5: TelegramBot_Deepencode teleBot: found a HASH
2024.01.20 11:55:44 5: TelegramBot_Deepencode teleBot: found a HASH
2024.01.20 11:55:44 5: TelegramBot_Callback teleBot: after encoding
2024.01.20 11:55:44 5: TelegramBot_Callback teleBot: resulted in SUCCESS from SendIt
2024.01.20 11:55:44 5: TelegramBot_Set teleBot: called
2024.01.20 11:55:44 5: TelegramBot_Set teleBot: called
2024.01.20 11:55:44 5: TelegramBot_Callback teleBot: - Ende > Control back to FHEM
2024.01.20 11:55:59 5: TelegramBot_Callback teleBot: called from Polling
2024.01.20 11:55:59 5: TelegramBot_Callback teleBot: polling returned result? <undef>
2024.01.20 11:55:59 5: TelegramBot_Set teleBot: called
2024.01.20 11:55:59 5: TelegramBot_Set teleBot: called
2024.01.20 11:55:59 5: TelegramBot_Set teleBot: called
2024.01.20 11:55:59 5: TelegramBot_Set teleBot: called
2024.01.20 11:55:59 5: TelegramBot_UpdatePoll teleBot: called
2024.01.20 11:55:59 5: TelegramBot_UpdatePoll teleBot: - Initiate non blocking polling - With callback set
2024.01.20 11:55:59 5: TelegramBot_readToken: Read Telegram API token from file
2024.01.20 11:55:59 4: TelegramBot_UpdatePoll teleBot: initiate polling with nonblockingGet with 20s
2024.01.20 11:55:59 5: TelegramBot_UpdatePoll teleBot: - Ende > next polling started
2024.01.20 11:55:59 2: TelegramBot_Callback teleBot: resulted in NonBlockingGet timed out on read from https://api.telegram.org/bot@@@@@@:@@@@@@/getUpdates?offset=945503407&limit=5&timeout=20 after 45s from Polling
2024.01.20 11:55:59 5: TelegramBot_Callback teleBot: - Ende > Control back to FHEM

Viele Grüße und Danke für die Hilfe