mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-21 07:56:03 +00:00
98_fheminfo.pm: small bugfix
git-svn-id: https://svn.fhem.de/fhem/trunk@14396 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
89ad528c15
commit
6228b04034
@ -94,13 +94,12 @@ sub _fi2_Count() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sub _fi2_Send() {
|
sub _fi2_Send() {
|
||||||
# my $json = _fi2_to_json(\%fhemInfo);
|
|
||||||
my $json = toJSON(\%fhemInfo);
|
my $json = toJSON(\%fhemInfo);
|
||||||
|
|
||||||
Log3("fheminfo",4,"fheminfo: $json");
|
Log3("fheminfo",4,"fheminfo: $json");
|
||||||
|
|
||||||
my %hu_hash = ();
|
my %hu_hash = ();
|
||||||
$hu_hash{url} = $cmds{fheminfo2}{uri};
|
$hu_hash{url} = $cmds{fheminfo}{uri};
|
||||||
$hu_hash{data} = "uniqueID=".$fhemInfo{'system'}{'uniqueID'}."&json=$json";
|
$hu_hash{data} = "uniqueID=".$fhemInfo{'system'}{'uniqueID'}."&json=$json";
|
||||||
$hu_hash{header} = "User-Agent: FHEM/".$fhemInfo{'system'}{'release'};
|
$hu_hash{header} = "User-Agent: FHEM/".$fhemInfo{'system'}{'release'};
|
||||||
$hu_hash{callback} = sub($$$) {
|
$hu_hash{callback} = sub($$$) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user