Telegram instant messaging TelegramBot - Empfangen und Senden per FHEM

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

Vorheriges Thema - Nächstes Thema

viegener

Zitat von: Esjay am 11 März 2018, 11:04:57
Ich danke dir!

Ich habe die neue Version mit dieser Änderung auch gleich ins SVN geschoben, darin sind auch andere Änderungen aus den letzten Wochen enthalten:

- Speziell verschiedene silent commands: silentImage, silentInline, cmdSendSilent
- Erweiterungen für die korrekte Zusammenarbeit mit Tbot_list
- und einige Fixes wie auch zum Teil hier im Thread besprochen

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

fkp

Hi @Johannes,

wäre es möglich, dass du die Funktion sendMediaGroup (https://core.telegram.org/bots/api#sendmediagroup) noch mit einbaust? Ich hatte das vor ein paar Wochen mal versucht in deinem Modul unterzubringen aber mangels Zeit einfach nicht weiter geschafft.

Ich lasse mir bei Webcambewegung mehrere Bilder schicken. Somit könnte man unterbinden, dass Telegram eine push notification pro Bild schickt, sondern nur noch eine mit allen Bildern in der Nachricht.

Besten Dank für das tolle Modul und Gruß,

Flo

viegener


@fkp: sendMediaGroup  lässt sich sicher realisieren, mir ist nur noch nicht ganz klar, wie man das als Telegram set-Command zur Verfügung stellt. Die einfachste Lösung wäre wohl nur Medien ohne Bildbeschreibung zuzulassen und auch nur bekannte Medientypen, die an der Erweiterung erkennbar sind. Denn man muss zwischen photo und video beim Senden unterscheiden.


@all:
Sauber wäre eine Lösung, bei der man Stück für Stück die zusendenden Medien übergibt und dann versendet. Das erfordert aber einige Umbauten.

Deshalb nochmal die Frage an die Runde, gibt es auch andere, die das benötigen? Wie sieht euer Szenario aus und welche Formate werden gebraucht und werden auch Bildbeschreibungen gewünscht?

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

Prof. Dr. Peter Henning


justcallmeal

Hi zusammen,
ich hänge mich hier einfach mal dran....

Zitat von: Icebear am 22 Januar 2017, 16:57:29
habe seit dem Update gestern folgene Fehlermeldung ..

fhem> list Icebearbot PollingLastError
Icebearbot           2017-01-22 16:54:14    Callback returned no valid JSON: malformed JSON string, neither tag, array, object, number, string or atom, at character offset.

...ich auch, das Log schreibt in unregelmäßigen Abständen Fehlermeldungen, die auch nicht im Zusammenhang mit mir bewußtem Nachrichtenversand oder -eingang stehen:

2018-03-17_13:35:00 teleBot PollingLastError: Callback returned no valid JSON: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "<html>\r\n<head><tit...") at ./FHEM/50_TelegramBot.pm line 2189. 
2018-03-17_13:35:00 teleBot PollingErrCount: 9


Die Funktionalität scheint aber nicht eingeschränkt zu sein, doch wie kriege ich das weg? Fhem- und TelegramUpdate habe ich auch gemacht, hatte aber nix gebracht.

Hat hierzu jemand Tips?

VG,
al

HM-Sen-DB-PCB, HM-Sec-SCo, HM-MOD-Re-8, HM-SEC-SC-2, HM-Sen-MDIR-O, HM-LC-Sw1PBU-FM, HM-LC-RGBW-WM, HM-ES-PMSw1-SM, HM-LC-Sw1-DR

viegener

@justcallmeal: Für Dich gilt die selbe Antwort wie damals im Thread:


Zitat von: viegener am 24 Januar 2017, 00:06:19

1) Polling error
Normalerweise weist diese Fehler darauf hin, dass entweder die Server bei telegram überlastet sind oder ansonsten im Übertragungsweg ein Fehler auftritt. Denn hier kommt ja eine HTML-Seite zurück und nicht eine Antwort vom telegrambot API. Tritt das nur einmalig auf oder ständig?
Wie ist der Bot eingestellt?
- Hast Du einen Proxy im Netzwerk?

Es kommt halt eine Fehlerseite von Telegram zurück und keine korrekte Antwort. Das wird hier vermeldet.
Kein Support über PM - Anfragen gerne im Forum - Damit auch andere profitieren und helfen können

misux

Das Problem mit dem Polling habe ich auch... immer :o

Gibt es dafür eine Lösung?

HIer mein damals eröffneter Thread:

https://forum.fhem.de/index.php/topic,84378.0.html

Vielen Dank!

viegener

@misux:Ja, bei den telegram-Servern dafür sorgen, dass sie immer und zu jeder Lastzeit funktionieren - ein Traum 100% verfügbarkeit
Im Ernst: Welche Art von Lösung schwebt Dir vor? Klar könnte ich die Meldung abfangen oder anpassen, das ist aber nur ein Symptom und ich denke es ist an sich hilfreich zu weissen, was hier passiert.

Ich gebe die Empfehlung auf den PollingErrCount zu schauen ein Wert von 24 (regelmässig) ist recht hoch - ich habe so ca. 2-3 im Normalfall und die sind meistens nur durch die Routerzwangstrennung verursacht. Was meinst Du mit Du hast das Problem
Zitatimmer
?

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

misux

Ach nee... Ich hatte das etwas falsch verstanden. Wenn das halt ein Problem Serverseitig ist dann ist alles gut.. Hab die Meldung auch schon länger nicht mehr...

Gibt es eigentlich die Möglichkeit 2 Unterschiede Empfänger bei unterschiedlichen Zuständen Nachrichten zu senden?

Also ich meine:

Im Moment bekommt ein Chat die Nachrichten wenn ein Tor geöffnet wird.

Wenn nun ein Fenster geöffnet wird.. Würde ich gerne eine Nachricht an nur einen von den Chat Empfängern senden... Geht das irgendwie? Komme gedanklich irgendwie nicht hinterher...


Vielen Dank und vor allem für das tolle Modul!

Amenophis86

Vor dem Senden der Nachricht prüfen an wen es gehen soll und dem entsprechend nur den Empfänger eintragen.
Aktuell dabei unser neues Haus mit KNX am einrichten. Im nächsten Schritt dann KNX mit FHEM verbinden. Allein zwei Dinge sind dabei selten: Zeit und Geld...

smartias

#1915
Zitat von: misux am 26 März 2018, 08:14:36
Das Problem mit dem Polling habe ich auch... immer :o

...
Vielen Dank!

Hallo zusammen,
danke für das tolle Modul, mit dem ich auch meine Frau zur Nutzung der Heimautomatisierung bekommen habe.
Aber leider läuft es bei mir in die gleiche Richtung wie bei misux.

Ist Telegram disabled habe ich keine perfmon-Meldungen, ist es aktiviert meldet perfmon so grob alle 5 Minuten einen möglichen "freeze".

Vielleicht seht ihr was in den Logs, das ich übersehen habe.

Bei mir läuft folgendes System:
root@t610:~# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux buster/sid"
NAME="Debian GNU/Linux"
ID=debian

root@t610:~# uname -a
Linux t610 4.9.0-5-amd64 #1 SMP Debian 4.9.65-3+deb9u2 (2018-01-04) x86_64 GNU/Linux

root@t610:~# perl -v

This is perl 5, version 24, subversion 1 (v5.24.1) built for x86_64-linux-gnu-thread-multi
(with 75 registered patches, see perl -V for more detail)


Ein List vom Device:
Internals:
   FAILS      0
   NAME       TelegramRobot
   NR         574
   OLD_POLLING 14
   POLLING    14
   SNAME      TelegramRobot
   STATE      Polling
   TYPE       TelegramBot
   UPDATER    0
   WAIT       0
   me         xxxxxxx55:xxxx_bot:@xxxxxxxbot
   sentLastResult SUCCESS
   sentMsgId  8817
   sentMsgOptions
   sentMsgPeer Sandra
   sentMsgPeerId xxxxxxx66
   sentMsgResult SUCCESS
   sentMsgText Anruf von unknown (01511xxxxxxx) um 14:42:15 Uhr
   .attraggr:
   .attrminint:
   AliasCmds:
   Contacts:
     xxxxxxx55  xxxxxxx55:FHEM_bot:@xxxxxxxbot
     xxxxxxx03  xxxxxxx03:Matthias:
   HU_DO_PARAMS:
     NAME       
     addr       https://api.telegram.org:443
     auth       0
     boundary   TelegramBot_boundary-x0123
     buf       
     code       200
     data       
     displayurl <hidden>
     header     agent: TelegramBot/1.0
User-Agent: TelegramBot/1.0
Accept: application/json
Accept-Charset: utf-8
Content-Type: multipart/form-data; boundary=TelegramBot_boundary-x0123
     hideurl    1
     host       api.telegram.org
     httpheader HTTP/1.1 200 OK
Server: nginx/1.12.2
Date: Tue, 27 Mar 2018 12:42:28 GMT
Content-Type: application/json
Content-Length: 265
Connection: close
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, POST, OPTIONS
Access-Control-Expose-Headers: Content-Length,Content-Type,Date,Server,Connection
Strict-Transport-Security: max-age=31536000; includeSubdomains
     loglevel   4
     method     POST
     path       /botxxxxxxx55:Axxxxxxxxxxxxx-Gxxxxxxxxxxxxxxxxxxw/sendMessage
     protocol   https
     redirects  0
     timeout    30
     url        https://api.telegram.org/botxxxxxxx55:Axxxxxxxxxxxxx-Gxxxxxxxxxxxxxxxxxxw/sendMessage
     args:
       xxxxxxx66
       Anruf von unknown (0151xxxxxxxx) um 14:42:15 Uhr
       undef
       0
       undef
       
       2
     hash:
     sslargs:
   HU_UPD_PARAMS:
     FD         18
     NAME       
     addr       https://api.telegram.org:443
     auth       0
     buf       
     code       200
     compress   1
     displayurl <hidden>
     header     agent: TelegramBot/1.0
User-Agent: TelegramBot/1.0
Accept: application/json
Accept-Charset: utf-8
     hideurl    1
     host       api.telegram.org
     hu_blocking 0
     hu_filecount 18
     hu_port    443
     hu_portSfx
     isPolling  update
     loglevel   4
     method     GET
     offset     0
     path       /botxxxxxxxx55:Axxxxxxxxxxxxx-Gxxxxxxxxxxxxxxxxxxw/getUpdates?offset=0&limit=5&timeout=120
     protocol   https
     redirects  0
     timeout    245                               
     url        https://api.telegram.org/botxxxxxxxx55:Axxxxxxxxxxxxx-Gxxxxxxxxxxxxxxxxxxw/getUpdates?offset=0&limit=5&timeout=120
     hash:
     sslargs:
   READINGS:
     2018-03-26 20:19:50   Contacts        xxxxxxx55:xxxx_bot:@xxxxxxxbot xxxxxxx03:Matthias:
     2018-03-28 16:30:01   PollingErrCount 1
     2018-03-28 16:30:01   PollingLastError NonBlockingGet: returned gethostbyname api.telegram.org failed
     2016-11-16 15:54:48   StoredCommands  FHEM update checkFHEM update CheckFHEM update Check

     2018-03-26 20:22:43   msgChat         Matthias
     2018-03-26 20:22:43   msgChatId       xxxxxxx03
     2018-03-26 20:22:43   msgFileId       
     2018-03-26 20:22:43   msgId           8810
     2018-03-26 20:22:43   msgPeer         Matthias
     2018-03-26 20:22:43   msgPeerId       xxxxxxx03
     2018-03-26 20:22:43   msgReplyMsgId   
     2018-03-26 20:22:43   msgText         Hat
     2018-03-26 20:22:43   prevMsgChat     Matthias
     2018-03-26 20:22:43   prevMsgFileId   
     2018-03-26 20:22:43   prevMsgId       8809
     2018-03-26 20:22:43   prevMsgPeer     Matthias
     2018-03-26 20:22:43   prevMsgPeerId   xxxxxxxx03
     2018-03-26 20:22:43   prevMsgReplyMsgId
     2018-03-26 20:22:43   prevMsgText     Test
     2018-03-25 20:58:26   queryData       Erdgeschoss
     2018-03-25 20:58:26   queryID         xxxxxxxxxxxxxxxxx78
     2018-03-25 20:58:26   queryPeer       Matthias
     2018-03-25 20:58:26   queryPeerId     xxxxxxxx03
     2018-03-25 20:58:26   queryReplyMsgId 8790
     2018-03-27 14:42:31   sentMsgId       8817
     2018-03-27 14:42:31   sentMsgPeerId   xxxxxxx66
     2018-03-27 14:42:31   sentMsgResult   SUCCESS
   inlinechats:
   sentQueue:
Attributes:
   FhemBot_ReceiveRestrictedPeer 1
   cmdFavorites /cmd
   cmdKeyword FHEM
   cmdRestrictedPeer xxxxxxxx03 xxxxxxx66
   favorites  /[Rollo hoch]=set Rollo.Kueche.links pct 100;
   pollingTimeout 120
   pollingVerbose 2_Log
   room       System->Telegram
   userattr   FhemBot_ReceiveRestrictedPeer
   verbose    3


Der Versionsstand:
Latest Revision: 16492

File                          Rev   Last Change

fhem.pl                       16453 2018-03-20 21:15:44Z rudolfkoenig
00_HMLAN.pm                   14073 2017-04-22 13:45:25Z martinp876
50_TelegramBot.pm             16382 2018-03-11 13:20:55Z viegener
HttpUtils.pm                  16407 2018-03-14 19:43:35Z rudolfkoenig


Das Log vom Device
2018-03-28_16:23:37 TelegramRobot PollingErrCount: 0
2018-03-28_16:30:01 TelegramRobot PollingLastError: NonBlockingGet: returned gethostbyname api.telegram.org failed
2018-03-28_16:30:01 TelegramRobot PollingErrCount: 1
2018-03-28_16:47:12 TelegramRobot PollingLastError: NonBlockingGet: returned gethostbyname api.telegram.org failed
2018-03-28_16:47:12 TelegramRobot PollingErrCount: 2
2018-03-28_16:56:13 TelegramRobot PollingLastError: NonBlockingGet: returned gethostbyname api.telegram.org failed
2018-03-28_16:56:13 TelegramRobot PollingErrCount: 3
2018-03-28_17:12:32 TelegramRobot PollingLastError: NonBlockingGet: returned gethostbyname api.telegram.org failed
2018-03-28_17:12:32 TelegramRobot PollingErrCount: 4
2018-03-28_17:17:11 TelegramRobot PollingLastError: NonBlockingGet: returned gethostbyname api.telegram.org failed
2018-03-28_17:17:11 TelegramRobot PollingErrCount: 5
2018-03-28_17:21:56 TelegramRobot PollingLastError: NonBlockingGet: returned gethostbyname api.telegram.org failed
2018-03-28_17:21:56 TelegramRobot PollingErrCount: 6
2018-03-28_17:27:36 TelegramRobot PollingLastError: NonBlockingGet: returned gethostbyname api.telegram.org failed
2018-03-28_17:27:36 TelegramRobot PollingErrCount: 7
2018-03-28_17:38:06 TelegramRobot PollingLastError: NonBlockingGet: returned gethostbyname api.telegram.org failed
2018-03-28_17:38:06 TelegramRobot PollingErrCount: 8
2018-03-28_17:42:01 TelegramRobot PollingLastError: NonBlockingGet: returned gethostbyname api.telegram.org failed
2018-03-28_17:42:01 TelegramRobot PollingErrCount: 9


und das längliche FHEM-Log
2018.03.28 16:27:58.791 5: TelegramBot_UpdatePoll TelegramRobot: - Ende > next polling started
2018.03.28 16:27:58.791 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:27:58.791 5: TelegramBot_Callback TelegramRobot: - Ende > Control back to FHEM
2018.03.28 16:28:00.092 5: HttpUtils request header:
GET /botxxxxxxx55:Axxxxxxxxxxxxxx-Gxxxxxxxxxxxxxxxxxxw/getUpdates?offset=0&limit=5&timeout=120 HTTP/1.0
Host: api.telegram.org
Accept-Encoding: gzip,deflate
agent: TelegramBot/1.0
User-Agent: TelegramBot/1.0
Accept: application/json
Accept-Charset: utf-8

2018.03.28 16:28:22.697 5: HMLAN_Send:  HMLAN1 I:K
2018.03.28 16:28:22.700 5: HMLAN/RAW: /HHM-LAN-IF,03C5,LEQ0384469,29A0FA,29A0FA,1464FD32,000F,01

2018.03.28 16:28:22.701 5: HMLAN_Parse: HMLAN1 V:03C5 sNo:LEQ0384469 d:29A0FA O:29A0FA t:1464FD32 IDcnt:000F L:1 %
2018.03.28 16:28:22.702 5: Starting notify loop for HMLAN1, 1 event(s), first is loadLvl: low
2018.03.28 16:28:22.703 4: DbLog DBLog -> ################################################################
2018.03.28 16:28:22.703 4: DbLog DBLog -> ###              start of new Logcycle                       ###
2018.03.28 16:28:22.703 4: DbLog DBLog -> ################################################################
2018.03.28 16:28:22.703 4: DbLog DBLog -> number of events received: 1 for device: HMLAN1
2018.03.28 16:28:22.703 4: DbLog DBLog -> check Device: HMLAN1 , Event: loadLvl: low
2018.03.28 16:28:22.705 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:28:22.706 4: DbLog DBLogTemp -> ###              start of new Logcycle                       ###
2018.03.28 16:28:22.706 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:28:22.706 4: DbLog DBLogTemp -> number of events received: 1 for device: HMLAN1
2018.03.28 16:28:22.706 4: DbLog DBLogTemp -> check Device: HMLAN1 , Event: loadLvl: low
2018.03.28 16:28:22.709 5: End notify loop for HMLAN1
2018.03.28 16:28:39.016 5: Starting notify loop for Stromverbrauch, 2 event(s), first is Momentanleistung: 156
2018.03.28 16:28:39.017 5: statistics Statistik: DoStatistics.446 Assigned reading 'Zaehler-Bezug-Total' from attribute 'deltaReadings' to statistic type 2.
2018.03.28 16:28:39.017 4: statistics Statistik: doStatisticDelta.703 Calculating delta statistics for 'Stromverbrauch:Zaehler-Bezug-Total = 11412.8212'
2018.03.28 16:28:39.017 5: statistics Statistik: doStatisticDelta.794 Set '.Stromverbrauch:Zaehler-Bezug-Total'='LastValue: 11412.8212 ShowDate: 3 DecPlaces: 4'
2018.03.28 16:28:39.018 5: statistics Statistik: doStatisticDelta.800 Set 'LTstatZaehler-Bezug-Total'='Hour: 0.1158 Day: 3.5775 Month: 207.8907 Year: 378.8645 (since: 2018-02-05 )'
2018.03.28 16:28:39.018 5: statistics Statistik: storeSingularReadings.1089 Set LTstatZaehler-Bezug-TotalDay = 3.5775
2018.03.28 16:28:39.018 5: statistics Statistik: storeSingularReadings.1089 Set LTstatZaehler-Bezug-TotalMonth = 207.8907
2018.03.28 16:28:39.018 5: statistics Statistik: storeSingularReadings.1089 Set LTstatZaehler-Bezug-TotalYear = 378.8645
2018.03.28 16:28:39.020 5: Starting notify loop for Statistik, 1 event(s), first is Updated stats for: Stromverbrauch
2018.03.28 16:28:39.021 4: DbLog DBLog -> ################################################################
2018.03.28 16:28:39.021 4: DbLog DBLog -> ###              start of new Logcycle                       ###
2018.03.28 16:28:39.021 4: DbLog DBLog -> ################################################################
2018.03.28 16:28:39.021 4: DbLog DBLog -> number of events received: 1 for device: Statistik
2018.03.28 16:28:39.021 4: DbLog DBLog -> check Device: Statistik , Event: state: Updated stats for: Stromverbrauch
2018.03.28 16:28:39.022 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:28:39.022 4: DbLog DBLogTemp -> ###              start of new Logcycle                       ###
2018.03.28 16:28:39.022 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:28:39.022 4: DbLog DBLogTemp -> number of events received: 1 for device: Statistik
2018.03.28 16:28:39.022 4: DbLog DBLogTemp -> check Device: Statistik , Event: state: Updated stats for: Stromverbrauch
2018.03.28 16:28:39.023 5: SystemActivity: not on any display, ignoring notify
2018.03.28 16:28:39.023 5: SystemBatterie: not on any display, ignoring notify
2018.03.28 16:28:39.025 5: End notify loop for Statistik
2018.03.28 16:28:39.025 5: statistics Statistik: Notify.296 Notification of 'Stromverbrauch' received. Update statistics.
2018.03.28 16:28:39.029 4: DbLog DBLog -> ################################################################
2018.03.28 16:28:39.030 4: DbLog DBLog -> ###              start of new Logcycle                       ###
2018.03.28 16:28:39.030 4: DbLog DBLog -> ################################################################
2018.03.28 16:28:39.030 4: DbLog DBLog -> number of events received: 3 for device: Stromverbrauch
2018.03.28 16:28:39.030 4: DbLog DBLog -> check Device: Stromverbrauch , Event: Momentanleistung: 156
2018.03.28 16:28:39.030 4: DbLog DBLog -> check Device: Stromverbrauch , Event: Zaehler-Bezug-Total: 11412.8212
2018.03.28 16:28:39.030 4: DbLog DBLog -> check Device: Stromverbrauch , Event: LTstatZaehler-Bezug-TotalDay: 3.5775
2018.03.28 16:28:39.031 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:28:39.031 4: DbLog DBLogTemp -> ###              start of new Logcycle                       ###
2018.03.28 16:28:39.031 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:28:39.031 4: DbLog DBLogTemp -> number of events received: 3 for device: Stromverbrauch
2018.03.28 16:28:39.032 4: DbLog DBLogTemp -> check Device: Stromverbrauch , Event: Momentanleistung: 156
2018.03.28 16:28:39.032 5: DbLog DBLogTemp -> parsed Event: Stromverbrauch , Event: Momentanleistung: 156
2018.03.28 16:28:39.032 4: DbLog DBLogTemp -> added event - Timestamp: 2018-03-28 16:28:39, Device: Stromverbrauch, Type: OBIS, Event: Momentanleistung: 156, Reading: Momentanleistung, Value: 156, Unit:
2018.03.28 16:28:39.033 4: DbLog DBLogTemp -> check Device: Stromverbrauch , Event: Zaehler-Bezug-Total: 11412.8212
2018.03.28 16:28:39.033 4: DbLog DBLogTemp -> check Device: Stromverbrauch , Event: LTstatZaehler-Bezug-TotalDay: 3.5775
2018.03.28 16:28:39.033 5: DbLog DBLogTemp -> parsed Event: Stromverbrauch , Event: LTstatZaehler-Bezug-TotalDay: 3.5775
2018.03.28 16:28:39.033 4: DbLog DBLogTemp -> added event - Timestamp: 2018-03-28 16:28:39, Device: Stromverbrauch, Type: OBIS, Event: LTstatZaehler-Bezug-TotalDay: 3.5775, Reading: LTstatZaehler-Bezug-TotalDay, Value: 3.5775, Unit:
2018.03.28 16:28:39.035 5: End notify loop for Stromverbrauch
2018.03.28 16:28:45.378 4: ESPEasy ESPEasy_wemos_garage_1_Temp_DS_1: set statusRequest
2018.03.28 16:28:45.379 4: ESPEasy ESPEasy_wemos_garage_1_Temp_DS_1: presence: present
2018.03.28 16:28:45.380 5: ESPEasy ESPEasy_wemos_garage_1_Temp_DS_1: Start internalTimer +300 => 2018-03-28 16:33:45
2018.03.28 16:28:47.848 4: ESPEasy ESPEasy_wemos_garage_1_Temp_DS_2: set statusRequest
2018.03.28 16:28:47.849 4: ESPEasy ESPEasy_wemos_garage_1_Temp_DS_2: presence: present
2018.03.28 16:28:47.850 5: ESPEasy ESPEasy_wemos_garage_1_Temp_DS_2: Start internalTimer +302 => 2018-03-28 16:33:50
2018.03.28 16:28:50.107 4: <hidden>: HTTP response code 200
2018.03.28 16:28:50.107 5: HttpUtils <hidden>: Got data, length: 23
2018.03.28 16:28:50.107 5: HttpUtils response header:
HTTP/1.1 200 OK
Server: nginx/1.12.2
Date: Wed, 28 Mar 2018 14:28:50 GMT
Content-Type: application/json
Content-Length: 23
Connection: close
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, POST, OPTIONS
Access-Control-Expose-Headers: Content-Length,Content-Type,Date,Server,Connection
Strict-Transport-Security: max-age=31536000; includeSubdomains
2018.03.28 16:28:50.108 5: TelegramBot_Callback TelegramRobot: called from Polling
2018.03.28 16:28:50.108 5: TelegramBot_Callback TelegramRobot: data returned :{"ok":true,"result":[]}:
2018.03.28 16:28:50.108 5: TelegramBot_Deepencode TelegramRobot: found an ARRAY
2018.03.28 16:28:50.108 5: TelegramBot_Deepencode TelegramRobot: encoded a String from :1: to :1:
2018.03.28 16:28:50.108 5: TelegramBot_Deepencode TelegramRobot: found a HASH
2018.03.28 16:28:50.108 5: TelegramBot_Callback TelegramRobot: after encoding
2018.03.28 16:28:50.109 5: TelegramBot_Callback TelegramRobot: polling returned result? 0
2018.03.28 16:28:50.109 5: UpdatePoll TelegramRobot: number of results 0
2018.03.28 16:28:50.109 5: TelegramBot_UpdatePoll TelegramRobot: called
2018.03.28 16:28:50.109 5: TelegramBot_UpdatePoll TelegramRobot: - Initiate non blocking polling - With callback set
2018.03.28 16:28:50.110 5: TelegramBot_readToken: Read Telegram API token from file
2018.03.28 16:28:50.111 4: TelegramBot_UpdatePoll TelegramRobot: initiate polling with nonblockingGet with 120s
2018.03.28 16:28:50.112 5: HttpUtils url=<hidden>
2018.03.28 16:28:50.113 5: IP: api.telegram.org -> 149.154.167.220
2018.03.28 16:28:50.115 5: TelegramBot_UpdatePoll TelegramRobot: - Ende > next polling started
2018.03.28 16:28:50.115 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:28:50.115 5: TelegramBot_Callback TelegramRobot: - Ende > Control back to FHEM
2018.03.28 16:28:51.224 5: HttpUtils request header:
GET /botxxxxxxx55:Axxxxxxxxxxxxxx-Gxxxxxxxxxxxxxxxxxxw/getUpdates?offset=0&limit=5&timeout=120 HTTP/1.0
Host: api.telegram.org
Accept-Encoding: gzip,deflate
agent: TelegramBot/1.0
User-Agent: TelegramBot/1.0
Accept: application/json
Accept-Charset: utf-8

2018.03.28 16:29:12.702 5: HMLAN_Send:  HMLAN1 I:K
2018.03.28 16:29:12.705 5: HMLAN/RAW: /HHM-LAN-IF,03C5,LEQ0384469,29A0FA,29A0FA,1465C08F,000F,01

2018.03.28 16:29:12.706 5: HMLAN_Parse: HMLAN1 V:03C5 sNo:LEQ0384469 d:29A0FA O:29A0FA t:1465C08F IDcnt:000F L:1 %
2018.03.28 16:29:12.707 5: Starting notify loop for HMLAN1, 1 event(s), first is loadLvl: low
2018.03.28 16:29:12.708 4: DbLog DBLog -> ################################################################
2018.03.28 16:29:12.708 4: DbLog DBLog -> ###              start of new Logcycle                       ###
2018.03.28 16:29:12.708 4: DbLog DBLog -> ################################################################
2018.03.28 16:29:12.708 4: DbLog DBLog -> number of events received: 1 for device: HMLAN1
2018.03.28 16:29:12.709 4: DbLog DBLog -> check Device: HMLAN1 , Event: loadLvl: low
2018.03.28 16:29:12.711 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:29:12.711 4: DbLog DBLogTemp -> ###              start of new Logcycle                       ###
2018.03.28 16:29:12.711 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:29:12.711 4: DbLog DBLogTemp -> number of events received: 1 for device: HMLAN1
2018.03.28 16:29:12.711 4: DbLog DBLogTemp -> check Device: HMLAN1 , Event: loadLvl: low
2018.03.28 16:29:12.713 5: SystemActivity: not on any display, ignoring notify
2018.03.28 16:29:12.713 5: SystemBatterie: not on any display, ignoring notify
2018.03.28 16:29:12.714 5: End notify loop for HMLAN1
2018.03.28 16:29:16.482 5: HMLAN/RAW: /E2C9244,0000,1465CF46,FF,FFC9,9F86102C92440000000A88E00E0000

2018.03.28 16:29:16.483 5: HMLAN_Parse: HMLAN1 R:E2C9244   stat:0000 t:1465CF46 d:FF r:FFC9     m:9F 8610 2C9244 000000 0A88E00E0000
2018.03.28 16:29:16.483 5: HMLAN1: dispatch A0F9F86102C92440000000A88E00E0000::-55:HMLAN1
2018.03.28 16:29:16.489 5: Starting notify loop for Heizung.Bad.Weather, 2 event(s), first is measured-temp: 22.4
2018.03.28 16:29:16.491 4: DbLog DBLog -> ################################################################
2018.03.28 16:29:16.491 4: DbLog DBLog -> ###              start of new Logcycle                       ###
2018.03.28 16:29:16.491 4: DbLog DBLog -> ################################################################
2018.03.28 16:29:16.491 4: DbLog DBLog -> number of events received: 2 for device: Heizung.Bad.Weather
2018.03.28 16:29:16.491 4: DbLog DBLog -> check Device: Heizung.Bad.Weather , Event: measured-temp: 22.4
2018.03.28 16:29:16.492 4: DbLog DBLog -> check Device: Heizung.Bad.Weather , Event: state: 22.4
2018.03.28 16:29:16.493 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:29:16.494 4: DbLog DBLogTemp -> ###              start of new Logcycle                       ###
2018.03.28 16:29:16.494 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:29:16.494 4: DbLog DBLogTemp -> number of events received: 2 for device: Heizung.Bad.Weather
2018.03.28 16:29:16.494 4: DbLog DBLogTemp -> check Device: Heizung.Bad.Weather , Event: measured-temp: 22.4
2018.03.28 16:29:16.494 4: DbLog DBLogTemp -> check Device: Heizung.Bad.Weather , Event: state: 22.4
2018.03.28 16:29:16.495 5: SystemActivity: not on any display, ignoring notify
2018.03.28 16:29:16.495 5: SystemBatterie: not on any display, ignoring notify
2018.03.28 16:29:16.496 5: End notify loop for Heizung.Bad.Weather
2018.03.28 16:29:20.504 5: HMLAN/RAW: /E51E856,0000,1465DEFD,FF,FFC1,5D841051E85629A0FA0601C200

2018.03.28 16:29:20.505 5: HMLAN_Parse: HMLAN1 R:E51E856   stat:0000 t:1465DEFD d:FF r:FFC1     m:5D 8410 51E856 29A0FA 0601C200
2018.03.28 16:29:20.506 5: HMLAN1: dispatch A0D5D841051E85629A0FA0601C200::-63:HMLAN1
2018.03.28 16:29:37.730 4: DbLog DBLog -> ################################################################
2018.03.28 16:29:37.731 4: DbLog DBLog -> ###              start of new Logcycle                       ###
2018.03.28 16:29:37.731 4: DbLog DBLog -> ################################################################
2018.03.28 16:29:37.731 4: DbLog DBLog -> number of events received: 3 for device: Stromverbrauch
2018.03.28 16:29:37.731 4: DbLog DBLog -> check Device: Stromverbrauch , Event: Momentanleistung: 181
2018.03.28 16:29:37.731 4: DbLog DBLog -> check Device: Stromverbrauch , Event: Zaehler-Bezug-Total: 11412.8241
2018.03.28 16:29:37.731 4: DbLog DBLog -> check Device: Stromverbrauch , Event: LTstatZaehler-Bezug-TotalDay: 3.5804
2018.03.28 16:29:37.732 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:29:37.732 4: DbLog DBLogTemp -> ###              start of new Logcycle                       ###
2018.03.28 16:29:37.732 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:29:37.732 4: DbLog DBLogTemp -> number of events received: 3 for device: Stromverbrauch
2018.03.28 16:29:37.733 4: DbLog DBLogTemp -> check Device: Stromverbrauch , Event: Momentanleistung: 181
2018.03.28 16:29:37.733 5: DbLog DBLogTemp -> parsed Event: Stromverbrauch , Event: Momentanleistung: 181
2018.03.28 16:29:37.733 4: DbLog DBLogTemp -> added event - Timestamp: 2018-03-28 16:29:37, Device: Stromverbrauch, Type: OBIS, Event: Momentanleistung: 181, Reading: Momentanleistung, Value: 181, Unit:
2018.03.28 16:29:37.734 4: DbLog DBLogTemp -> check Device: Stromverbrauch , Event: Zaehler-Bezug-Total: 11412.8241
2018.03.28 16:29:37.734 4: DbLog DBLogTemp -> check Device: Stromverbrauch , Event: LTstatZaehler-Bezug-TotalDay: 3.5804
2018.03.28 16:29:37.734 5: DbLog DBLogTemp -> parsed Event: Stromverbrauch , Event: LTstatZaehler-Bezug-TotalDay: 3.5804
2018.03.28 16:29:37.734 4: DbLog DBLogTemp -> added event - Timestamp: 2018-03-28 16:29:37, Device: Stromverbrauch, Type: OBIS, Event: LTstatZaehler-Bezug-TotalDay: 3.5804, Reading: LTstatZaehler-Bezug-TotalDay, Value: 3.5804, Unit:
2018.03.28 16:29:37.735 5: SystemActivity: not on any display, ignoring notify
2018.03.28 16:29:37.735 5: SystemBatterie: not on any display, ignoring notify
2018.03.28 16:29:37.736 5: End notify loop for Stromverbrauch
2018.03.28 16:29:37.737 5: HMLAN_Send:  HMLAN1 I:K
2018.03.28 16:29:37.740 5: HMLAN/RAW: /HHM-LAN-IF,03C5,LEQ0384469,29A0FA,29A0FA,1466225D,000F,01

2018.03.28 16:29:37.741 5: HMLAN_Parse: HMLAN1 V:03C5 sNo:LEQ0384469 d:29A0FA O:29A0FA t:1466225D IDcnt:000F L:1 %
2018.03.28 16:29:37.741 5: Starting notify loop for HMLAN1, 1 event(s), first is loadLvl: low
2018.03.28 16:29:37.743 4: DbLog DBLog -> ################################################################
2018.03.28 16:29:37.743 4: DbLog DBLog -> ###              start of new Logcycle                       ###
2018.03.28 16:29:37.743 4: DbLog DBLog -> ################################################################
2018.03.28 16:29:37.743 4: DbLog DBLog -> number of events received: 1 for device: HMLAN1
2018.03.28 16:29:37.743 4: DbLog DBLog -> check Device: HMLAN1 , Event: loadLvl: low
2018.03.28 16:29:37.745 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:29:37.746 4: DbLog DBLogTemp -> ###              start of new Logcycle                       ###
2018.03.28 16:29:37.746 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:29:37.746 4: DbLog DBLogTemp -> number of events received: 1 for device: HMLAN1
2018.03.28 16:29:37.746 4: DbLog DBLogTemp -> check Device: HMLAN1 , Event: loadLvl: low
2018.03.28 16:29:37.747 5: SystemActivity: not on any display, ignoring notify
2018.03.28 16:29:37.748 5: SystemBatterie: not on any display, ignoring notify
2018.03.28 16:29:37.750 5: End notify loop for HMLAN1
2018.03.28 16:29:41.240 4: <hidden>: HTTP response code 200
2018.03.28 16:29:41.240 5: HttpUtils <hidden>: Got data, length: 23
2018.03.28 16:29:41.240 5: HttpUtils response header:
HTTP/1.1 200 OK
Server: nginx/1.12.2
Date: Wed, 28 Mar 2018 14:29:37 GMT
Content-Type: application/json
Content-Length: 23
Connection: close
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, POST, OPTIONS
Access-Control-Expose-Headers: Content-Length,Content-Type,Date,Server,Connection
Strict-Transport-Security: max-age=31536000; includeSubdomains
2018.03.28 16:29:41.240 5: TelegramBot_Callback TelegramRobot: called from Polling
2018.03.28 16:29:41.241 5: TelegramBot_Callback TelegramRobot: data returned :{"ok":true,"result":[]}:
2018.03.28 16:29:41.241 5: TelegramBot_Deepencode TelegramRobot: encoded a String from :1: to :1:
2018.03.28 16:29:41.241 5: TelegramBot_Deepencode TelegramRobot: found an ARRAY
2018.03.28 16:29:41.241 5: TelegramBot_Deepencode TelegramRobot: found a HASH
2018.03.28 16:29:41.241 5: TelegramBot_Callback TelegramRobot: after encoding
2018.03.28 16:29:41.242 5: TelegramBot_Callback TelegramRobot: polling returned result? 0
2018.03.28 16:29:41.242 5: UpdatePoll TelegramRobot: number of results 0
2018.03.28 16:29:41.242 5: TelegramBot_UpdatePoll TelegramRobot: called
2018.03.28 16:29:41.242 5: TelegramBot_UpdatePoll TelegramRobot: - Initiate non blocking polling - With callback set
2018.03.28 16:29:41.243 5: TelegramBot_readToken: Read Telegram API token from file
2018.03.28 16:29:41.244 4: TelegramBot_UpdatePoll TelegramRobot: initiate polling with nonblockingGet with 120s
2018.03.28 16:29:41.244 5: HttpUtils url=<hidden>
2018.03.28 16:30:01.269 5: TelegramBot_Callback TelegramRobot: called from Polling
2018.03.28 16:30:01.270 5: TelegramBot_Callback TelegramRobot: polling returned result? <undef>
2018.03.28 16:30:01.270 5: Starting notify loop for TelegramRobot, 1 event(s), first is PollingLastError: NonBlockingGet: returned gethostbyname api.telegram.org failed
2018.03.28 16:30:01.272 4: DbLog DBLog -> ################################################################
2018.03.28 16:30:01.272 4: DbLog DBLog -> ###              start of new Logcycle                       ###
2018.03.28 16:30:01.272 4: DbLog DBLog -> ################################################################
2018.03.28 16:30:01.272 4: DbLog DBLog -> number of events received: 1 for device: TelegramRobot
2018.03.28 16:30:01.272 4: DbLog DBLog -> check Device: TelegramRobot , Event: PollingLastError: NonBlockingGet: returned gethostbyname api.telegram.org failed
2018.03.28 16:30:01.274 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:30:01.275 4: DbLog DBLogTemp -> ###              start of new Logcycle                       ###
2018.03.28 16:30:01.275 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:30:01.275 4: DbLog DBLogTemp -> number of events received: 1 for device: TelegramRobot
2018.03.28 16:30:01.275 4: DbLog DBLogTemp -> check Device: TelegramRobot , Event: PollingLastError: NonBlockingGet: returned gethostbyname api.telegram.org failed
2018.03.28 16:30:01.277 5: SystemActivity: not on any display, ignoring notify
2018.03.28 16:30:01.277 5: SystemBatterie: not on any display, ignoring notify
2018.03.28 16:30:01.279 5: End notify loop for TelegramRobot
2018.03.28 16:30:01.280 5: Starting notify loop for TelegramRobot, 1 event(s), first is PollingErrCount: 1
2018.03.28 16:30:01.281 4: DbLog DBLog -> ################################################################
2018.03.28 16:30:01.281 4: DbLog DBLog -> ###              start of new Logcycle                       ###
2018.03.28 16:30:01.281 4: DbLog DBLog -> ################################################################
2018.03.28 16:30:01.281 4: DbLog DBLog -> number of events received: 1 for device: TelegramRobot
2018.03.28 16:30:01.282 4: DbLog DBLog -> check Device: TelegramRobot , Event: PollingErrCount: 1
2018.03.28 16:30:01.283 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:30:01.283 4: DbLog DBLogTemp -> ###              start of new Logcycle                       ###
2018.03.28 16:30:01.283 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:30:01.283 4: DbLog DBLogTemp -> number of events received: 1 for device: TelegramRobot
2018.03.28 16:30:01.283 4: DbLog DBLogTemp -> check Device: TelegramRobot , Event: PollingErrCount: 1
2018.03.28 16:30:01.284 5: SystemActivity: not on any display, ignoring notify
2018.03.28 16:30:01.284 5: SystemBatterie: not on any display, ignoring notify
2018.03.28 16:30:01.286 5: End notify loop for TelegramRobot
2018.03.28 16:30:01.286 5: TelegramBot_UpdatePoll TelegramRobot: called
2018.03.28 16:30:01.286 5: TelegramBot_UpdatePoll TelegramRobot: - Initiate non blocking polling - With callback set
2018.03.28 16:30:01.286 5: TelegramBot_readToken: Read Telegram API token from file
2018.03.28 16:30:01.287 4: TelegramBot_UpdatePoll TelegramRobot: initiate polling with nonblockingGet with 120s
2018.03.28 16:30:01.287 5: HttpUtils url=<hidden>
2018.03.28 16:30:01.289 5: IP: api.telegram.org -> 149.154.167.220
2018.03.28 16:30:01.289 5: TelegramBot_UpdatePoll TelegramRobot: - Ende > next polling started
2018.03.28 16:30:01.290 2: TelegramBot_Callback TelegramRobot: resulted in NonBlockingGet: returned gethostbyname api.telegram.org failed from Polling
2018.03.28 16:30:01.290 5: TelegramBot_Callback TelegramRobot: - Ende > Control back to FHEM
2018.03.28 16:30:01.290 5: TelegramBot_UpdatePoll TelegramRobot: - Ende > next polling started
2018.03.28 16:30:01.290 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:30:01.290 5: TelegramBot_Callback TelegramRobot: - Ende > Control back to FHEM
2018.03.28 16:30:01.291 1: Perfmon: possible freeze starting at 16:29:42, delay is 19.291
2018.03.28 16:30:02.350 5: HttpUtils request header:
GET /botxxxxxxx55:Axxxxxxxxxxxxxx-Gxxxxxxxxxxxxxxxxxxw/getUpdates?offset=0&limit=5&timeout=120 HTTP/1.0
Host: api.telegram.org
Accept-Encoding: gzip,deflate
agent: TelegramBot/1.0
User-Agent: TelegramBot/1.0
Accept: application/json
Accept-Charset: utf-8

2018.03.28 16:30:02.575 5: HttpUtils url=http://fritz.box/webservices/homeautoswitch.lua?sid=xxxxxxxxxxxxxxxxxswitchcmd=getdevicelistinfos
2018.03.28 16:30:02.577 5: IP: fritz.box -> 192.168.1.1
2018.03.28 16:30:02.580 5: HttpUtils request header:
GET /webservices/homeautoswitch.lua?sid=xxxxxxxxxxxxxxxxxswitchcmd=getdevicelistinfos HTTP/1.0
Host: fritz.box
User-Agent: fhem
Accept-Encoding: gzip,deflate

2018.03.28 16:30:02.739 5: HMLAN_Send:  HMLAN1 I:K
2018.03.28 16:30:02.743 5: HMLAN/RAW: /HHM-LAN-IF,03C5,LEQ0384469,29A0FA,29A0FA,1466840C,000F,01

2018.03.28 16:30:02.743 5: HMLAN_Parse: HMLAN1 V:03C5 sNo:LEQ0384469 d:29A0FA O:29A0FA t:1466840C IDcnt:000F L:1 %
2018.03.28 16:30:02.744 5: Starting notify loop for HMLAN1, 1 event(s), first is loadLvl: low
2018.03.28 16:30:02.745 4: DbLog DBLog -> ################################################################
2018.03.28 16:30:02.745 4: DbLog DBLog -> ###              start of new Logcycle                       ###
2018.03.28 16:30:02.745 4: DbLog DBLog -> ################################################################
2018.03.28 16:30:02.746 4: DbLog DBLog -> number of events received: 1 for device: HMLAN1
2018.03.28 16:30:02.746 4: DbLog DBLog -> check Device: HMLAN1 , Event: loadLvl: low
2018.03.28 16:30:02.748 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:30:02.748 4: DbLog DBLogTemp -> ###              start of new Logcycle                       ###
2018.03.28 16:30:02.748 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:30:02.748 4: DbLog DBLogTemp -> number of events received: 1 for device: HMLAN1
2018.03.28 16:30:02.748 4: DbLog DBLogTemp -> check Device: HMLAN1 , Event: loadLvl: low
2018.03.28 16:30:02.750 5: SystemActivity: not on any display, ignoring notify
2018.03.28 16:30:02.750 5: SystemBatterie: not on any display, ignoring notify
2018.03.28 16:30:02.752 5: End notify loop for HMLAN1
2018.03.28 16:30:02.928 4: http://fritz.box/webservices/homeautoswitch.lua?sid=xxxxxxxxxxxxxxxxxswitchcmd=getdevicelistinfos: HTTP response code 200
2018.03.28 16:30:02.928 5: HttpUtils http://fritz.box/webservices/homeautoswitch.lua?sid=xxxxxxxxxxxxxxxxxswitchcmd=getdevicelistinfos: Got data, length: 450
2018.03.28 16:30:02.928 5: HttpUtils response header:
HTTP/1.0 200 OK
Connection: close
Content-Type: text/xml; charset=utf-8
2018.03.28 16:30:05.546 4: DbLog DBLog -> ################################################################
2018.03.28 16:30:05.546 4: DbLog DBLog -> ###      New database processing cycle - asynchronous        ###
2018.03.28 16:30:05.546 4: DbLog DBLog -> ################################################################
2018.03.28 16:30:05.546 4: DbLog DBLog -> MemCache contains 2 entries to process
2018.03.28 16:30:05.546 4: DbLog DBLog -> DbLogType is: Current/History
2018.03.28 16:30:05.546 5: DbLog DBLog -> MemCache contains: 2018-03-28 16:21:18|Heizung.Bad.Clima|CUL_HM|measured-temp: 22.3|measured-temp|22.3|
2018.03.28 16:30:05.546 5: DbLog DBLog -> MemCache contains: 2018-03-28 16:24:12|Heizung.Bad.Clima|CUL_HM|measured-temp: 22.4|measured-temp|22.4|
2018.03.28 16:30:05.554 4: BlockingCall (DbLog_PushAsync): created child (32222), uses tPort to connect back
2018.03.28 16:30:05.556 5: DbLog DBLog -> DbLog_PushAsync called with timeout: 86400
2018.03.28 16:30:05.568 4: Connection accepted from tPort_127.0.0.1_48488
2018.03.28 16:30:05.570 5: Cmd: >{BlockingRegisterTelnet($cl,751)}<
2018.03.28 16:30:05.571 5: DbLog DBLog -> Start DbLog_PushAsync
2018.03.28 16:30:05.571 5: DbLog DBLog -> DbLogType is: Current/History
2018.03.28 16:30:05.574 4: DbLog DBLog -> AutoCommit mode: ON, Transaction mode: ON
2018.03.28 16:30:05.585 5: DbLog DBLog -> Primary Key used in /share/matthias/fhemLogs/fhemsql3logs.db.history: none
2018.03.28 16:30:05.585 5: DbLog DBLog -> Primary Key used in /share/matthias/fhemLogs/fhemsql3logs.db.current: none
2018.03.28 16:30:05.586 5: DbLog DBLog -> processing event Timestamp: 2018-03-28 16:21:18, Device: Heizung.Bad.Clima, Type: CUL_HM, Event: measured-temp: 22.3, Reading: measured-temp, Value: 22.3, Unit:
2018.03.28 16:30:05.586 5: DbLog DBLog -> processing event Timestamp: 2018-03-28 16:24:12, Device: Heizung.Bad.Clima, Type: CUL_HM, Event: measured-temp: 22.4, Reading: measured-temp, Value: 22.4, Unit:
2018.03.28 16:30:05.587 4: DbLog DBLog -> 2 of 2 events inserted into table history
2018.03.28 16:30:05.651 4: DbLog DBLog -> insert table history committed by autocommit
2018.03.28 16:30:05.652 4: DbLog DBLog -> 2 of 2 events updated in table current
2018.03.28 16:30:05.707 4: DbLog DBLog -> insert / update table current committed by autocommit
2018.03.28 16:30:05.707 5: DbLog DBLog -> DbLog_PushAsync finished
2018.03.28 16:30:05.709 5: Cmd: >{BlockingStart('751')}<
2018.03.28 16:30:05.712 5: Cmd: >{DbLog_PushAsyncDone('DBLog|0|0.120904,0.136097|0')}<
2018.03.28 16:30:05.713 5: DbLog DBLog -> Start DbLog_PushAsyncDone
2018.03.28 16:30:05.714 5: DbLog DBLog -> DbLog_PushAsyncDone finished
2018.03.28 16:30:05.947 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:30:05.947 4: DbLog DBLogTemp -> ###      New database processing cycle - asynchronous        ###
2018.03.28 16:30:05.947 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:30:05.947 4: DbLog DBLogTemp -> MemCache contains 32 entries to process
2018.03.28 16:30:05.947 4: DbLog DBLogTemp -> DbLogType is: Current/History
2018.03.28 16:30:05.948 5: DbLog DBLogTemp -> MemCache contains: 2018-03-28 16:15:38|Stromverbrauch ...
...
2018.03.28 16:30:05.952 5: DbLog DBLogTemp -> MemCache contains: 2018-03-28 16:29:37|Stromverbrauch ...
2018.03.28 16:30:05.960 4: BlockingCall (DbLog_PushAsync): created child (32223), uses tPort to connect back
2018.03.28 16:30:05.962 5: DbLog DBLogTemp -> DbLog_PushAsync called with timeout: 3600
2018.03.28 16:30:05.974 4: Connection accepted from tPort_127.0.0.1_48490
2018.03.28 16:30:05.975 5: Cmd: >{BlockingRegisterTelnet($cl,752)}<
2018.03.28 16:30:05.977 5: DbLog DBLogTemp -> Start DbLog_PushAsync
2018.03.28 16:30:05.977 5: DbLog DBLogTemp -> DbLogType is: Current/History
2018.03.28 16:30:05.979 4: DbLog DBLogTemp -> AutoCommit mode: ON, Transaction mode: ON
2018.03.28 16:30:05.992 5: DbLog DBLogTemp -> Primary Key used in /xxxxxxxxxxxxxxxxxxxxxxx/fhemsql3temp.db.history: none
2018.03.28 16:30:05.992 5: DbLog DBLogTemp -> Primary Key used in /xxxxxxxxxxxxxxxxxxxxxxx/fhemsql3temp.db.current: none
2018.03.28 16:30:05.993 5: DbLog DBLogTemp -> processing event Timestamp: 2018-03-28 16:15:38, Device: Stromverbrauch, ...
...
2018.03.28 16:30:05.996 5: DbLog DBLogTemp -> processing event Timestamp: 2018-03-28 16:29:37, Device: Stromverbrauch, ...
2018.03.28 16:30:06.000 4: DbLog DBLogTemp -> 32 of 32 events inserted into table history
2018.03.28 16:30:06.050 4: DbLog DBLogTemp -> insert table history committed by autocommit
2018.03.28 16:30:06.055 4: DbLog DBLogTemp -> 32 of 32 events updated in table current
2018.03.28 16:30:06.076 4: DbLog DBLogTemp -> insert / update table current committed by autocommit
2018.03.28 16:30:06.077 5: DbLog DBLogTemp -> DbLog_PushAsync finished
2018.03.28 16:30:06.078 5: Cmd: >{BlockingStart('752')}<
2018.03.28 16:30:06.082 5: Cmd: >{DbLog_PushAsyncDone('DBLogTemp|0|0.078766,0.099549|0')}<
2018.03.28 16:30:06.083 5: DbLog DBLogTemp -> Start DbLog_PushAsyncDone
2018.03.28 16:30:06.083 5: DbLog DBLogTemp -> DbLog_PushAsyncDone finished
2018.03.28 16:30:27.741 5: HMLAN_Send:  HMLAN1 I:K
2018.03.28 16:30:27.744 5: HMLAN/RAW: /HHM-LAN-IF,03C5,LEQ0384469,29A0FA,29A0FA,1466E5B9,000F,01

2018.03.28 16:30:27.745 5: HMLAN_Parse: HMLAN1 V:03C5 sNo:LEQ0384469 d:29A0FA O:29A0FA t:1466E5B9 IDcnt:000F L:1 %
2018.03.28 16:30:27.746 5: Starting notify loop for HMLAN1, 1 event(s), first is loadLvl: low
2018.03.28 16:30:27.747 4: DbLog DBLog -> ################################################################
2018.03.28 16:30:27.747 4: DbLog DBLog -> ###              start of new Logcycle                       ###
2018.03.28 16:30:27.748 4: DbLog DBLog -> ################################################################
2018.03.28 16:30:27.748 4: DbLog DBLog -> number of events received: 1 for device: HMLAN1
2018.03.28 16:30:27.748 4: DbLog DBLog -> check Device: HMLAN1 , Event: loadLvl: low
2018.03.28 16:30:27.750 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:30:27.750 4: DbLog DBLogTemp -> ###              start of new Logcycle                       ###
2018.03.28 16:30:27.751 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:30:27.751 4: DbLog DBLogTemp -> number of events received: 1 for device: HMLAN1
2018.03.28 16:30:27.751 4: DbLog DBLogTemp -> check Device: HMLAN1 , Event: loadLvl: low
2018.03.28 16:30:27.754 5: End notify loop for HMLAN1
2018.03.28 16:30:35.793 5: SW:
2018.03.28 16:30:35.795 4: Wrote
2018.03.28 16:30:35.796 5: OBIS (Stromverbrauch) - Internal timer set to 2018-03-28 16:31:35
2018.03.28 16:30:38.002 5: SML-Parse ...
2018.03.28 16:30:38.004 5: OBIS: Full message-> ...
2018.03.28 16:30:38.017 5: Starting notify loop for Stromverbrauch, 2 event(s), first is Momentanleistung: 179
2018.03.28 16:30:38.017 5: statistics Statistik: DoStatistics.446 Assigned reading 'Zaehler-Bezug-Total' from attribute 'deltaReadings' to statistic type 2.
2018.03.28 16:30:38.018 4: statistics Statistik: doStatisticDelta.703 Calculating delta statistics for 'Stromverbrauch:Zaehler-Bezug-Total = 11412.8271'
2018.03.28 16:30:38.018 5: statistics Statistik: doStatisticDelta.794 Set '.Stromverbrauch:Zaehler-Bezug-Total'='LastValue: 11412.8271 ShowDate: 3 DecPlaces: 4'
2018.03.28 16:30:38.018 5: statistics Statistik: doStatisticDelta.800 Set 'LTstatZaehler-Bezug-Total'='Hour: 0.1217 Day: 3.5834 Month: 207.8966 Year: 378.8704 (since: 2018-02-05 )'
2018.03.28 16:30:38.019 5: statistics Statistik: storeSingularReadings.1089 Set LTstatZaehler-Bezug-TotalDay = 3.5834
2018.03.28 16:30:38.019 5: statistics Statistik: storeSingularReadings.1089 Set LTstatZaehler-Bezug-TotalMonth = 207.8966
2018.03.28 16:30:38.019 5: statistics Statistik: storeSingularReadings.1089 Set LTstatZaehler-Bezug-TotalYear = 378.8704
2018.03.28 16:30:38.020 5: Starting notify loop for Statistik, 1 event(s), first is Updated stats for: Stromverbrauch
2018.03.28 16:30:38.021 4: DbLog DBLog -> ################################################################
2018.03.28 16:30:38.021 4: DbLog DBLog -> ###              start of new Logcycle                       ###
2018.03.28 16:30:38.022 4: DbLog DBLog -> ################################################################
2018.03.28 16:30:38.022 4: DbLog DBLog -> number of events received: 1 for device: Statistik
2018.03.28 16:30:38.022 4: DbLog DBLog -> check Device: Statistik , Event: state: Updated stats for: Stromverbrauch
2018.03.28 16:30:38.023 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:30:38.023 4: DbLog DBLogTemp -> ###              start of new Logcycle                       ###
2018.03.28 16:30:38.023 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:30:38.023 4: DbLog DBLogTemp -> number of events received: 1 for device: Statistik
2018.03.28 16:30:38.023 4: DbLog DBLogTemp -> check Device: Statistik , Event: state: Updated stats for: Stromverbrauch
2018.03.28 16:30:38.024 5: SystemActivity: not on any display, ignoring notify
2018.03.28 16:30:38.024 5: SystemBatterie: not on any display, ignoring notify
2018.03.28 16:30:38.025 5: End notify loop for Statistik
2018.03.28 16:30:38.026 5: statistics Statistik: Notify.296 Notification of 'Stromverbrauch' received. Update statistics.
2018.03.28 16:30:38.030 4: DbLog DBLog -> ################################################################
2018.03.28 16:30:38.030 4: DbLog DBLog -> ###              start of new Logcycle                       ###
2018.03.28 16:30:38.031 4: DbLog DBLog -> ################################################################
2018.03.28 16:30:38.031 4: DbLog DBLog -> number of events received: 3 for device: Stromverbrauch
2018.03.28 16:30:38.031 4: DbLog DBLog -> check Device: Stromverbrauch , Event: Momentanleistung: 179
2018.03.28 16:30:38.031 4: DbLog DBLog -> check Device: Stromverbrauch , Event: Zaehler-Bezug-Total: 11412.8271
2018.03.28 16:30:38.031 4: DbLog DBLog -> check Device: Stromverbrauch , Event: LTstatZaehler-Bezug-TotalDay: 3.5834
2018.03.28 16:30:38.032 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:30:38.032 4: DbLog DBLogTemp -> ###              start of new Logcycle                       ###
2018.03.28 16:30:38.032 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:30:38.032 4: DbLog DBLogTemp -> number of events received: 3 for device: Stromverbrauch
2018.03.28 16:30:38.033 4: DbLog DBLogTemp -> check Device: Stromverbrauch , Event: Momentanleistung: 179
2018.03.28 16:30:38.033 5: DbLog DBLogTemp -> parsed Event: Stromverbrauch , Event: Momentanleistung: 179
2018.03.28 16:30:38.033 4: DbLog DBLogTemp -> added event - Timestamp: 2018-03-28 16:30:38, Device: Stromverbrauch, Type: OBIS, Event: Momentanleistung: 179, Reading: Momentanleistung, Value: 179, Unit:
2018.03.28 16:30:38.034 4: DbLog DBLogTemp -> check Device: Stromverbrauch , Event: Zaehler-Bezug-Total: 11412.8271
2018.03.28 16:30:38.034 4: DbLog DBLogTemp -> check Device: Stromverbrauch , Event: LTstatZaehler-Bezug-TotalDay: 3.5834
2018.03.28 16:30:38.034 5: DbLog DBLogTemp -> parsed Event: Stromverbrauch , Event: LTstatZaehler-Bezug-TotalDay: 3.5834
2018.03.28 16:30:38.034 4: DbLog DBLogTemp -> added event - Timestamp: 2018-03-28 16:30:38, Device: Stromverbrauch, Type: OBIS, Event: LTstatZaehler-Bezug-TotalDay: 3.5834, Reading: LTstatZaehler-Bezug-TotalDay, Value: 3.5834, Unit:
2018.03.28 16:30:38.035 5: SystemActivity: not on any display, ignoring notify
2018.03.28 16:30:38.035 5: SystemBatterie: not on any display, ignoring notify
2018.03.28 16:30:38.037 5: End notify loop for Stromverbrauch
2018.03.28 16:30:52.743 5: HMLAN_Send:  HMLAN1 I:K
2018.03.28 16:30:52.747 5: HMLAN/RAW: /HHM-LAN-IF,03C5,LEQ0384469,29A0FA,29A0FA,14674767,000F,01

2018.03.28 16:30:52.747 5: HMLAN_Parse: HMLAN1 V:03C5 sNo:LEQ0384469 d:29A0FA O:29A0FA t:14674767 IDcnt:000F L:1 %
2018.03.28 16:30:52.748 5: Starting notify loop for HMLAN1, 1 event(s), first is loadLvl: low
2018.03.28 16:30:52.749 4: DbLog DBLog -> ################################################################
2018.03.28 16:30:52.749 4: DbLog DBLog -> ###              start of new Logcycle                       ###
2018.03.28 16:30:52.749 4: DbLog DBLog -> ################################################################
2018.03.28 16:30:52.750 4: DbLog DBLog -> number of events received: 1 for device: HMLAN1
2018.03.28 16:30:52.750 4: DbLog DBLog -> check Device: HMLAN1 , Event: loadLvl: low
2018.03.28 16:30:52.752 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:30:52.752 4: DbLog DBLogTemp -> ###              start of new Logcycle                       ###
2018.03.28 16:30:52.752 4: DbLog DBLogTemp -> ################################################################
2018.03.28 16:30:52.752 4: DbLog DBLogTemp -> number of events received: 1 for device: HMLAN1
2018.03.28 16:30:52.752 4: DbLog DBLogTemp -> check Device: HMLAN1 , Event: loadLvl: low
2018.03.28 16:30:52.754 5: SystemActivity: not on any display, ignoring notify
2018.03.28 16:30:52.754 5: SystemBatterie: not on any display, ignoring notify
2018.03.28 16:30:52.756 5: End notify loop for HMLAN1
2018.03.28 16:30:59.589 4: <hidden>: HTTP response code 200
2018.03.28 16:30:59.590 5: HttpUtils <hidden>: Got data, length: 23
2018.03.28 16:30:59.590 5: HttpUtils response header:
HTTP/1.1 200 OK
Server: nginx/1.12.2
Date: Wed, 28 Mar 2018 14:31:02 GMT
Content-Type: application/json
Content-Length: 23
Connection: close
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, POST, OPTIONS
Access-Control-Expose-Headers: Content-Length,Content-Type,Date,Server,Connection
Strict-Transport-Security: max-age=31536000; includeSubdomains
2018.03.28 16:30:59.590 5: TelegramBot_Callback TelegramRobot: called from Polling
2018.03.28 16:30:59.590 5: TelegramBot_Callback TelegramRobot: data returned :{"ok":true,"result":[]}:
2018.03.28 16:30:59.590 5: TelegramBot_Deepencode TelegramRobot: encoded a String from :1: to :1:
2018.03.28 16:30:59.591 5: TelegramBot_Deepencode TelegramRobot: found an ARRAY
2018.03.28 16:30:59.591 5: TelegramBot_Deepencode TelegramRobot: found a HASH
2018.03.28 16:30:59.591 5: TelegramBot_Callback TelegramRobot: after encoding
2018.03.28 16:30:59.591 5: TelegramBot_Callback TelegramRobot: polling returned result? 0
2018.03.28 16:30:59.591 5: UpdatePoll TelegramRobot: number of results 0
2018.03.28 16:30:59.591 5: TelegramBot_UpdatePoll TelegramRobot: called
2018.03.28 16:30:59.592 5: TelegramBot_UpdatePoll TelegramRobot: - Initiate non blocking polling - With callback set
2018.03.28 16:30:59.593 5: TelegramBot_readToken: Read Telegram API token from file
2018.03.28 16:30:59.594 4: TelegramBot_UpdatePoll TelegramRobot: initiate polling with nonblockingGet with 120s
2018.03.28 16:30:59.594 5: HttpUtils url=<hidden>
2018.03.28 16:30:59.596 5: IP: api.telegram.org -> 149.154.167.220
2018.03.28 16:30:59.597 5: TelegramBot_UpdatePoll TelegramRobot: - Ende > next polling started
2018.03.28 16:30:59.598 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:30:59.598 5: TelegramBot_Callback TelegramRobot: - Ende > Control back to FHEM
2018.03.28 16:31:00.661 5: HttpUtils request header:
GET /botxxxxxxx55:Axxxxxxxxxxxxxx-Gxxxxxxxxxxxxxxxxxxw/getUpdates?offset=0&limit=5&timeout=120 HTTP/1.0
Host: api.telegram.org
Accept-Encoding: gzip,deflate
agent: TelegramBot/1.0
User-Agent: TelegramBot/1.0
Accept: application/json
Accept-Charset: utf-8

...


2018.03.28 16:33:33.907 5: TelegramBot_Attr TelegramRobot: set  on verbose to 3
2018.03.28 16:34:23.048 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:35:13.107 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:36:04.421 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:37:00.550 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:37:00.553 1: Perfmon: possible freeze starting at 16:36:56, delay is 4.553
2018.03.28 16:37:51.874 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:38:43.233 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:39:48.320 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:39:48.322 1: Perfmon: possible freeze starting at 16:39:34, delay is 14.322
2018.03.28 16:40:24.014 1: RMDIR: ./restoreDir/save/2018-03-25
2018.03.28 16:40:44.657 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:40:44.659 1: Perfmon: possible freeze starting at 16:40:40, delay is 4.659
2018.03.28 16:41:43.997 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:41:43.999 1: Perfmon: possible freeze starting at 16:41:39, delay is 4.998
2018.03.28 16:42:34.061 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:43:25.217 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:44:16.563 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:45:09.333 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:46:00.880 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:47:12.257 2: TelegramBot_Callback TelegramRobot: resulted in NonBlockingGet: returned gethostbyname api.telegram.org failed from Polling
2018.03.28 16:47:12.258 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:47:12.259 1: Perfmon: possible freeze starting at 16:46:53, delay is 19.259
2018.03.28 16:48:08.019 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:48:59.349 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:49:50.664 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:50:41.786 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:51:41.792 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:51:41.794 1: Perfmon: possible freeze starting at 16:51:37, delay is 4.794
2018.03.28 16:52:31.865 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:53:21.925 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:54:11.988 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:55:02.052 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:56:13.179 2: TelegramBot_Callback TelegramRobot: resulted in NonBlockingGet: returned gethostbyname api.telegram.org failed from Polling
2018.03.28 16:56:13.180 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:56:13.181 1: Perfmon: possible freeze starting at 16:55:54, delay is 19.181
2018.03.28 16:56:13.202 1: 192.168.2.40:1000 disconnected, waiting to reappear (HMLAN1)
2018.03.28 16:56:13.205 1: HMLAN_Parse: HMLAN1 new condition disconnected
2018.03.28 16:56:13.229 1: HMLAN_Parse: HMLAN1 new condition init
2018.03.28 16:56:13.236 1: 192.168.2.40:1000 reappeared (HMLAN1)
2018.03.28 16:56:13.480 1: HMLAN_Parse: HMLAN1 new condition ok
2018.03.28 16:57:27.179 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:57:27.182 1: Perfmon: possible freeze starting at 16:57:13, delay is 14.182
2018.03.28 16:58:18.738 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:59:08.798 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 16:59:59.090 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 17:00:50.648 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 17:01:45.732 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 17:01:45.734 1: Perfmon: possible freeze starting at 17:01:41, delay is 4.734
2018.03.28 17:02:39.362 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 17:03:30.860 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 17:04:20.917 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 17:05:10.977 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 17:06:02.320 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling
2018.03.28 17:06:58.662 2: TelegramBot_Callback TelegramRobot: resulted in SUCCESS from Polling


Danke und viele Grüße
Matthias
HP t610 Flexible Thin Client, HMLAN Gateway

Andre0909


Moin zusammen,

habe mal wieder ein Problem :)
Gerne hätte ich das Telegram mir photos beim Türklingeln schickt. Das geht auch automatisch mit dem letzten Bild.

Jetzt mächte ich die Bilder aber auch durch Telegram anfordern.

Da sich bei älteren Bildern die URLs stets ändern schreibt mir eine SUB den Zweig in ein Reading also z.b:
Telegram_4p

/opt/fhem/www/tablet/images/Kamera/Cam1_20180327_132936.jpg



Wenn ich jetzt ein

[code]set TeleBot sendPhoto /opt/fhem/www/tablet/images/Kamera/Cam1_20180327_132936.jpg
eingebe dann kommt das Photo auch. Ich brauche aber die Relative Verzweigung.

Also habe ich versucht:

set TeleBot sendPhoto [Kamerabildummy:Telegram_4p] das ist gescheitert. Kein bild kommt.
Gebe ich den Befehl über die Kommandozeile ein erscheint:

FAILED file :/opt/fhem/www/tablet/images/Kamera/Cam1_20180327_132936.jpg
: not found or empty


mache ich

set TeleBot sendPhoto /opt/fhem/www/tablet/images/Kamera/Cam1_20180327_132936.jpg kommt das Bild. ?!
Es ist aber der gleiche Zweig

----

Wenn ich versuche in der Telegram Subroutine den Link als Variable zu setzen:


my $Klingel3Bild = ReadingsVal("dummyKamerabild","Telegram_4p",0);
fhem("set teleBot sendImage $Klingel3Bild");


kommt ebenfalls kein Bild beim auslösen. Was mache ich falsch?
[/quote]

viegener

Zitat von: smartias am 28 März 2018, 20:47:16
Hallo zusammen,
danke für das tolle Modul, mit dem ich auch meine Frau zur Nutzung der Heimautomatisierung bekommen habe.
Aber leider läuft es bei mir in die gleiche Richtung wie bei misux.

Ist Telegram disabled habe ich keine perfmon-Meldungen, ist es aktiviert meldet perfmon so grob alle 5 Minuten einen möglichen "freeze".


Das Log vom Device
2018-03-28_16:23:37 TelegramRobot PollingErrCount: 0
2018-03-28_16:30:01 TelegramRobot PollingLastError: NonBlockingGet: returned gethostbyname api.telegram.org failed
2018-03-28_16:30:01 TelegramRobot PollingErrCount: 1
2018-03-28_16:47:12 TelegramRobot PollingLastError: NonBlockingGet: returned gethostbyname api.telegram.org failed
2018-03-28_16:47:12 TelegramRobot PollingErrCount: 2
2018-03-28_16:56:13 TelegramRobot PollingLastError: NonBlockingGet: returned gethostbyname api.telegram.org failed
2018-03-28_16:56:13 TelegramRobot PollingErrCount: 3
2018-03-28_17:12:32 TelegramRobot PollingLastError: NonBlockingGet: returned gethostbyname api.telegram.org failed
2018-03-28_17:12:32 TelegramRobot PollingErrCount: 4
2018-03-28_17:17:11 TelegramRobot PollingLastError: NonBlockingGet: returned gethostbyname api.telegram.org failed
2018-03-28_17:17:11 TelegramRobot PollingErrCount: 5
2018-03-28_17:21:56 TelegramRobot PollingLastError: NonBlockingGet: returned gethostbyname api.telegram.org failed
2018-03-28_17:21:56 TelegramRobot PollingErrCount: 6
2018-03-28_17:27:36 TelegramRobot PollingLastError: NonBlockingGet: returned gethostbyname api.telegram.org failed
2018-03-28_17:27:36 TelegramRobot PollingErrCount: 7
2018-03-28_17:38:06 TelegramRobot PollingLastError: NonBlockingGet: returned gethostbyname api.telegram.org failed
2018-03-28_17:38:06 TelegramRobot PollingErrCount: 8
2018-03-28_17:42:01 TelegramRobot PollingLastError: NonBlockingGet: returned gethostbyname api.telegram.org failed
2018-03-28_17:42:01 TelegramRobot PollingErrCount: 9




Du hast ein Problem mit der Namensauflösung für hostnamen, das sorgt dann wohl auch für die freezes.
Vielleicht schaust Du mal nach dem Attribute dnsServer (am global device) - da findet sich die Erklärung für die freezes

bei mir ist heute vormittag allerdings Telegram grundsätzlich gestört (auch von Telefon aus)
Kein Support über PM - Anfragen gerne im Forum - Damit auch andere profitieren und helfen können

smartias

Volltreffer.
Der dnsServer war nicht gesetzt.
Die IP-Adresse eingetragen und schon bekomme ich die Meldung
resulted in NonBlockingGet: returned api.telegram.org: Das Netzwerk ist nicht erreichbar from Polling,
genau wie erwartet, wenn der Server gestört und somit nicht erreichbar ist.

Vielen Dank für die schnelle Hilfe!
Die Stelle hätte ich wohl nie gefunden, aber nun weiß ich, dass mit gesetztem dnsServer die FHEM-interne non-blocking-Variante verwendet wird, während bei mir vorher die blocking-Variante des Betriebssystems genutzt wurde.
HP t610 Flexible Thin Client, HMLAN Gateway

viegener

Zitat von: smartias am 29 März 2018, 12:40:01
Volltreffer.
Der dnsServer war nicht gesetzt.
Die IP-Adresse eingetragen und schon bekomme ich die Meldung
resulted in NonBlockingGet: returned api.telegram.org: Das Netzwerk ist nicht erreichbar from Polling,
genau wie erwartet, wenn der Server gestört und somit nicht erreichbar ist.

Vielen Dank für die schnelle Hilfe!
Die Stelle hätte ich wohl nie gefunden, aber nun weiß ich, dass mit gesetztem dnsServer die FHEM-interne non-blocking-Variante verwendet wird, während bei mir vorher die blocking-Variante des Betriebssystems genutzt wurde.

@smartias: Schön, dass das hilft und Danke für die Rückmeldung

Störung bei Telegram hält wohl weiter an
Kein Support über PM - Anfragen gerne im Forum - Damit auch andere profitieren und helfen können