mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
98_fheminfo.pm: improve logging
git-svn-id: https://svn.fhem.de/fhem/trunk@14765 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b4f6a5ffac
commit
0b1de8a8c0
@ -148,10 +148,11 @@ sub _fi2_Count() {
|
||||
sub _fi2_Send($) {
|
||||
my ($cl) = shift;
|
||||
$cl //= undef;
|
||||
my $sendType = defined($cl) ? 'nonblocking' : 'blocking';
|
||||
|
||||
my $json = toJSON(\%fhemInfo);
|
||||
|
||||
Log3("fheminfo",4,"fheminfo: $json");
|
||||
Log3("fheminfo",4,"fheminfo send ($sendType): $json");
|
||||
|
||||
my %hu_hash = ();
|
||||
$hu_hash{url} = $cmds{fheminfo}{uri};
|
||||
|
Loading…
Reference in New Issue
Block a user