Ich habe am Freitag ein telegram Device eingerichtet um Snapshots meiner Kamera zu versenden. Mein Problem ist allerdings, daß FHEM nach dem Versand nicht mehr funktioniert. Hier mal ein Log Auszug von gestern Abend:
2019.11.16 23:56:34 3: D200 - Snapshot of Camera Eingang created. ID: 16
2019.11.16 23:56:35 3: D200 - Telegram message transaction "2202" successfully sent to "xxxxxxxxx" by "Telegram"
2019.11.16 23:56:35 1: PERL WARNING: Use of uninitialized value $ret in numeric le (<=) at FHEM/HttpUtils.pm line 646.
2019.11.16 23:56:35 3: D200 - Snapshot of Camera Eingang created. ID: 17
2019.11.16 23:56:35 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/50_TelegramBot.pm line 2218.
2019.11.16 23:56:35 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/50_TelegramBot.pm line 2227.
2019.11.16 23:56:35 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/50_TelegramBot.pm line 2183.
2019.11.16 23:56:35 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/50_TelegramBot.pm line 2175.
2019.11.16 23:56:35 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/50_TelegramBot.pm line 2169.
2019.11.16 23:56:35 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/50_TelegramBot.pm line 2242.
2019.11.16 23:56:35 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/50_TelegramBot.pm line 2359.
2019.11.16 23:56:35 1: ERROR: empty name in readingsBeginUpdate
2019.11.16 23:56:35 1: stacktrace:
2019.11.16 23:56:35 1: main::readingsBeginUpdate called by ./FHEM/50_TelegramBot.pm (2397)
2019.11.16 23:56:35 1: main::TelegramBot_Callback called by FHEM/HttpUtils.pm (634)
2019.11.16 23:56:35 1: main::__ANON__ called by fhem.pl (751)
2019.11.16 23:56:35 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at fhem.pl line 4772.
2019.11.16 23:56:35 1: readingsUpdate(,sentMsgResult,SUCCESS) missed to call readingsBeginUpdate first.
2019.11.16 23:56:35 1: stacktrace:
2019.11.16 23:56:35 1: main::readingsBulkUpdate called by ./FHEM/50_TelegramBot.pm (2398)
2019.11.16 23:56:35 1: main::TelegramBot_Callback called by FHEM/HttpUtils.pm (634)
2019.11.16 23:56:35 1: main::__ANON__ called by fhem.pl (751)
2019.11.16 23:56:35 1: readingsUpdate(,sentMsgId,17) missed to call readingsBeginUpdate first.
2019.11.16 23:56:35 1: stacktrace:
2019.11.16 23:56:35 1: main::readingsBulkUpdate called by ./FHEM/50_TelegramBot.pm (2399)
2019.11.16 23:56:35 1: main::TelegramBot_Callback called by FHEM/HttpUtils.pm (634)
2019.11.16 23:56:35 1: main::__ANON__ called by fhem.pl (751)
2019.11.16 23:56:35 1: readingsUpdate(,sentMsgPeerId,) missed to call readingsBeginUpdate first.
2019.11.16 23:56:35 1: stacktrace:
2019.11.16 23:56:35 1: main::readingsBulkUpdate called by ./FHEM/50_TelegramBot.pm (2400)
2019.11.16 23:56:35 1: main::TelegramBot_Callback called by FHEM/HttpUtils.pm (634)
2019.11.16 23:56:35 1: main::__ANON__ called by fhem.pl (751)
2019.11.16 23:56:35 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4525.
2019.11.16 23:56:35 1: PERL WARNING: Use of uninitialized value $dev in hash element at fhem.pl line 3626.
Can't use an undefined value as an ARRAY reference at ./FHEM/50_TelegramBot.pm line 2403.
2019.11.16 23:56:35 1: SONOS0: Last Listener seems to be died and process started by fhem... stopping Threads and process...
2019.11.16 23:56:35 3: SONOS0: Disconnecting client and shutdown server...
2019.11.16 23:56:35 3: SONOS0: Trying to kill Sonos_Thread...
2019.11.16 23:56:35 3: SONOS0: Trying to kill LongJobs_Thread...
2019.11.16 23:56:35 3: SONOS0: Trying to kill IsAlive_Thread...
2019.11.16 23:56:35 3: SONOS0: Trying to kill PlayerRestore_Thread...
2019.11.16 23:56:35 0: SONOS0: Das Lauschen auf der Schnittstelle wurde beendet. Prozess endet nun auch...
Danach ging nichts mehr bis zum Neustart
Hier noch ein List des Devices
Internals:
FAILS 0
FUUID xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxxx
NAME Telegram
NR 395
POLLING 0
SNAME Telegram
STATE Static
TYPE TelegramBot
UPDATER 0
WAIT 0
me xxxxxxxxxx:FHEM:@xxxxxxxxbot
Contacts:
xxxxxxxxx xxxxxxxxx:xxxxxx_xxxxx:
HU_DO_PARAMS:
header agent: TelegramBot/1.0
User-Agent: TelegramBot/1.0
Accept: application/json
Accept-Charset: utf-8
hideurl 1
method GET
timeout 30
url
HU_UPD_PARAMS:
header agent: TelegramBot/1.0
User-Agent: TelegramBot/1.0
Accept: application/json
Accept-Charset: utf-8
hideurl 1
isPolling update
method GET
timeout 5
url
READINGS:
2019-11-15 11:48:11 Contacts xxxxxxxxx:xxxxxx_xxxxx:
2019-11-15 11:48:12 PollingErrCount 0
2019-11-15 11:48:12 msgChat xxxxxx_xxxxx
2019-11-15 11:48:12 msgChatId xxxxxxxxx
2019-11-15 11:48:12 msgFileId
2019-11-15 11:48:12 msgId 2
2019-11-15 11:48:12 msgPeer xxxxxx_xxxxx
2019-11-15 11:48:12 msgPeerId xxxxxxxxxx
2019-11-15 11:48:12 msgReplyMsgId
2019-11-15 11:48:12 msgText /start
2019-11-15 11:48:12 prevMsgChat xxxxxx_xxxxx
2019-11-15 11:48:12 prevMsgFileId
2019-11-15 11:48:12 prevMsgId 1
2019-11-15 11:48:12 prevMsgPeer xxxxxx_xxxxx
2019-11-15 11:48:12 prevMsgPeerId xxxxxxxxx
2019-11-15 11:48:12 prevMsgReplyMsgId
2019-11-15 11:48:12 prevMsgText /start
2019-11-16 10:10:31 sentMsgId 14
2019-11-16 10:10:31 sentMsgPeerId xxxxxxxxx
2019-11-16 10:10:31 sentMsgResult SUCCESS
inlinechats:
Attributes:
defaultPeer xxxxxxxxx
room System