mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
50_SSChatBot: contrib 1.0.0
git-svn-id: https://svn.fhem.de/fhem/trunk@20645 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e1ba301b23
commit
2736672377
@ -801,8 +801,11 @@ sub SSChatBot_getapisites_parse ($) {
|
||||
} elsif ($myjson ne "") {
|
||||
# Evaluiere ob Daten im JSON-Format empfangen wurden
|
||||
($hash, my $success) = SSChatBot_evaljson($hash,$myjson);
|
||||
|
||||
unless ($success) {return;}
|
||||
unless ($success) {
|
||||
Log3($name, 4, "$name - Data returned: ".$myjson);
|
||||
SSChatBot_checkretry($name,1);
|
||||
return;
|
||||
}
|
||||
|
||||
my $data = decode_json($myjson);
|
||||
|
||||
@ -992,6 +995,7 @@ sub SSChatBot_chatop_parse ($) {
|
||||
($hash,$success,$myjson) = SSChatBot_evaljson($hash,$myjson);
|
||||
unless ($success) {
|
||||
Log3($name, 4, "$name - Data returned: ".$myjson);
|
||||
SSChatBot_checkretry($name,1);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user