Hallo zusammen,
mein FHEM fiert mir noch nicht nachvollziehbar ab und an ein, weder im Webinterface noch auf anderem Wege (über iobroker) reagiert das ganze, im Log sieht zum Beispiel so aus:
Zitat
2018.12.02 22:06:34 4: DbLog DBLogging -> ################################################################
2018.12.02 22:06:34 4: DbLog DBLogging -> ### start of new Logcycle ###
2018.12.02 22:06:34 4: DbLog DBLogging -> ################################################################
2018.12.02 22:06:34 4: DbLog DBLogging -> number of events received: 5 for device: ESPEasy_Strom_gesamt
2018.12.02 22:06:34 4: DbLog DBLogging -> check Device: ESPEasy_Strom_gesamt , Event: Energie_Jahr_bisher: 0.00
2018.12.02 22:06:34 4: DbLog DBLogging -> check Device: ESPEasy_Strom_gesamt , Event: Energie_gestern: 11.41
2018.12.02 22:06:34 4: DbLog DBLogging -> added event - Timestamp: 2018-12-02 22:06:34, Device: ESPEasy_Strom_gesamt, Type: ESPEASY, Event: Energie_gestern: 11.41, Reading: Energie_gestern, Value: 11.41, Unit:
2018.12.02 22:06:34 4: DbLog DBLogging -> check Device: ESPEasy_Strom_gesamt , Event: Energie_heute: 13.51
2018.12.02 22:06:34 4: DbLog DBLogging -> check Device: ESPEasy_Strom_gesamt , Event: Leistung: 231.94
2018.12.02 22:06:34 4: DbLog DBLogging -> added event - Timestamp: 2018-12-02 22:06:34, Device: ESPEasy_Strom_gesamt, Type: ESPEASY, Event: Leistung: 231.94, Reading: Leistung, Value: 231.94, Unit:
2018.12.02 22:06:34 4: DbLog DBLogging -> check Device: ESPEasy_Strom_gesamt , Event: state: Cou: 3 Ene: 0.00 Ene: 11.41 Ene: 13.51 Lei: 231.94 Tim: 15521 Tot: 13508 upt: 23.10
2018.12.02 22:06:34 4: ESPEasy ESPBridge_192.168.1.62_14125: Closing tcp session.
2018.12.02 22:06:35 4: MQTT_Server_192.168.1.189_42375 3VrUzgdjKB64WkPtI7p3ZG PUBLISH octoprint/tool0:{"_timestamp": 1543784795, "actual": 177.09, "target": 177.0}
2018.12.02 22:06:35 4: <hidden>: HTTP response code 200
2018.12.02 22:06:35 4: TelegramBot_UpdatePoll telebot: initiate polling with nonblockingGet with 121s
2018.12.02 22:06:35 4: IP: api.telegram.org -> 149.154.167.220
2018.12.02 22:06:35 4: TelegramBot_Callback telebot: resulted in SUCCESS from Polling
2018.12.02 22:06:35 4: MQTT_Server_192.168.1.189_42375 3VrUzgdjKB64WkPtI7p3ZG PUBLISH octoprint/ZChange:{"new": 116.35, "_event": "ZChange", "old": 115.35, "_timestamp": 1543784795}
2018.12.02 22:06:36 4: MQTT_Server_192.168.1.189_42375 3VrUzgdjKB64WkPtI7p3ZG PUBLISH octoprint/ZChange:{"new": 115.35, "_event": "ZChange", "old": 116.35, "_timestamp": 1543784796}
2018.12.02 22:10:43 4: HttpUtils: <hidden>: Can't connect(2) to https://api.telegram.org:443: SSL wants a read first
2018.12.02 22:10:43 4: dewpoint_notify: cmd_type=dewpoint devname=telebot dewname=Taupunkt, dev=telebot, dev_regex=.* temp_name=temperature hum_name=humidity
2018.12.02 22:10:43 4: dewpoint_notify: cmd_type=dewpoint devname=telebot dewname=Taupunkt_2, dev=telebot, dev_regex=.* temp_name=Temperature hum_name=Humidity
2018.12.02 22:10:43 4: DbLog DBLogging -> ################################################################
2018.12.02 22:10:43 4: DbLog DBLogging -> ### start of new Logcycle ###
2018.12.02 22:10:43 4: DbLog DBLogging -> ################################################################
2018.12.02 22:10:43 4: DbLog DBLogging -> number of events received: 1 for device: telebot
2018.12.02 22:10:43 4: DbLog DBLogging -> check Device: telebot , Event: PollingLastError: NonBlockingGet: returned <hidden>: Can't connect(2) to https://api.telegram.org:443: SSL wants a read first
2018.12.02 22:10:43 4: dewpoint_notify: cmd_type=dewpoint devname=telebot dewname=Taupunkt, dev=telebot, dev_regex=.* temp_name=temperature hum_name=humidity
2018.12.02 22:10:43 4: dewpoint_notify: cmd_type=dewpoint devname=telebot dewname=Taupunkt_2, dev=telebot, dev_regex=.* temp_name=Temperature hum_name=Humidity
2018.12.02 22:10:43 4: DbLog DBLogging -> ################################################################
2018.12.02 22:10:43 4: DbLog DBLogging -> ### start of new Logcycle ###
FHEM war von 22:06 bis 22:10 nicht erreichbar, log steht auf verbose 4.
EDIT: per Shell reagiert der Rock64 weiterhin tadellos und in top gibt es auch keine Auffälligkeit...
da ich hier noch Anfänger bin, bin ich um jeden Rat dankbar!
Danke und Gruß
2018.12.02 22:10:43 4: HttpUtils: <hidden>: Can't connect(2) to https://api.telegram.org:443: SSL wants a read first
Genau das Blockiert scheinbar bei Dir FHEM.
Welche Version von FHEM hast Du im Einsatz? Sollte HTTPMOD nicht mittlerweile "nonblocking" sein ....
Hi,
stimmt, mit telegram disabled hängt nix mehr.
Version ist:
Zitat
File Rev Last Change
fhem.pl 17779 2018-11-18 17:49:14Z rudolfkoenig
HTTPMOD habe ich bei mir nicht definiert oder hängt das irgendwo als Attribut drinnen?
Stimmt ... es sind die HttpUtils und nicht HHTPMOD ... mein "Fehler"
Dann müsstest Du uns nähere Info zu telegram geben ...
ok :) hier das list meines TelegramBots:
Zitat
Internals:
DEF
FAILS 0
NAME telebot
NR 15
OLD_POLLING 70
POLLING 70
SNAME telebot
STATE Polling
TYPE TelegramBot
UPDATER 0
WAIT 0
me 575700897:JandJ_iobroker:@JandJ_iobrokerbot
offset_id 765181583
sentLastResult Callback returned error :Bad Request: message text is empty:
sentMsgId
sentMsgOptions
sentMsgPeer Jan
sentMsgPeerId 68708568
sentMsgText
AliasCmds:
Contacts:
68708568 68708568:Jan:
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:
FD 14
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 1
hu_port 443
hu_portSfx
isPolling update
loglevel 4
method GET
offset 765181583
path /xxxxxxx
protocol https
redirects 0
timeout 247
url xxxxxxx
hash:
sslargs:
READINGS:
2018-11-15 17:38:01 Contacts 68708568:Jan:
2018-12-03 11:15:13 PollingErrCount 119
2018-12-03 11:15:13 PollingLastError Callback returned error :Unauthorized:
2018-11-29 22:12:50 StoredCommands doit list telebot
doit list Heizung_alle_structure
2018-12-03 11:16:00 msgChat Jan
2018-12-03 11:16:00 msgChatId 68708568
2018-12-03 11:16:00 msgFileId
2018-12-03 11:16:00 msgId 4258
2018-12-03 11:16:00 msgPeer Jan
2018-12-03 11:16:00 msgPeerId 68708568
2018-12-03 11:16:00 msgReplyMsgId
2018-12-03 11:16:00 msgText Test
2018-12-03 11:16:00 prevMsgChat Jan
2018-12-03 11:16:00 prevMsgFileId
2018-12-03 11:16:00 prevMsgId 4255
2018-12-03 11:16:00 prevMsgPeer Jan
2018-12-03 11:16:00 prevMsgPeerId 68708568
2018-12-03 11:16:00 prevMsgReplyMsgId
2018-12-03 11:16:00 prevMsgText /short2 = set Heizung_alle_structure desired-temp 16
2018-12-03 10:47:28 sentMsgId
2018-12-03 10:47:28 sentMsgPeerId 68708568
2018-12-03 10:47:28 sentMsgResult Callback returned error :Bad Request: message text is empty:
inlinechats:
Attributes:
DbLogExclude .*
cmdFavorites /short
defaultPeer Jan
disable 0
favorites set Heizung_Buero_structure desired-temp 20;set Heizung_alle_structure desired-temp 16;set Heizung_SchlafZi_structure desired-temp 21
pollingTimeout 121
room Kommunikation
ich habe mal meine API-Key durch xxxxx ersetzt
Wichtig!
1. ich würde nachgucken, ob dort etwas relevantes steht, was andere "nichts angehen"
2. Kenne mich mit dem Modul nicht aus .. sorry, aber da kann ich Dir nicht helfen.