testing #104
@ -1059,6 +1059,14 @@ sub WriteReadings {
|
|||||||
if ( ref($v) eq 'ARRAY' );
|
if ( ref($v) eq 'ARRAY' );
|
||||||
|
|
||||||
#$v = encode_utf8($v);
|
#$v = encode_utf8($v);
|
||||||
|
$v = ' ' if (!defined $v);
|
||||||
|
Log3 $name, 4, "Gardena DEBUG DEBUG DEBUG stage 1 ".$decode_json->{abilities}[0]{properties}[$properties]{name} if ( $decode_json->{abilities}[0]{properties}[$properties]
|
||||||
|
{name} !~ /ethernet_status|wifi_status/ );
|
||||||
|
Log3 $name, 4, "Gardena DEBUG DEBUG DEBUG stage 2".$t if ( $decode_json->{abilities}[0]{properties}[$properties]
|
||||||
|
{name} !~ /ethernet_status|wifi_status/ );
|
||||||
|
Log3 $name, 4, "Gardena DEBUG DEBUG DEBUG stage 3".$v if ( $decode_json->{abilities}[0]{properties}[$properties]
|
||||||
|
{name} !~ /ethernet_status|wifi_status/ );
|
||||||
|
|
||||||
readingsBulkUpdateIfChanged(
|
readingsBulkUpdateIfChanged(
|
||||||
$hash,
|
$hash,
|
||||||
$decode_json->{abilities}[0]{properties}[$properties]
|
$decode_json->{abilities}[0]{properties}[$properties]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user