diff --git a/fhem/FHEM/46_TRX_LIGHT.pm b/fhem/FHEM/46_TRX_LIGHT.pm
index 8d8250843..18b80dba0 100755
--- a/fhem/FHEM/46_TRX_LIGHT.pm
+++ b/fhem/FHEM/46_TRX_LIGHT.pm
@@ -637,7 +637,7 @@ sub TRX_LIGHT_parse_X10 ($$)
$sensor = $firstdevice == 1 ? $def->{TRX_LIGHT_devicelog} : $def->{TRX_LIGHT_devicelog2};
$val .= $current;
- readingsBulkUpdate($def, $sensor, $current);
+ if ($sensor ne "none") { readingsBulkUpdate($def, $sensor, $current); }
} else {
$error = sprintf "TRX_LIGHT: error unknown sensor type=%x device_type=%s devn=%s first=%d command=%s", $type, $device_type, $device_name, $firstdevice, $command;
Log3 $name, 1, "TRX_LIGHT_parse_X10() ".$error;
@@ -772,7 +772,7 @@ sub TRX_LIGHT_parse_PT2262 ($$)
}
Log3 $name, 1,"TRX_LIGHT_parse_PT2262() readingsBulkUpdate($def, $sensor, $command)";
$val = $command;
- readingsBulkUpdate($def, $sensor, $val);
+ if ($sensor ne "none") { readingsBulkUpdate($def, $sensor, $val); }
}
readingsBulkUpdate($def, "state", $val);
@@ -887,7 +887,7 @@ KlikAanKlikUit, NEXA, CHACON, HomeEasy UK.
You need to define an RFXtrx433
<devicelog>
<deviceid2>
@@ -897,7 +897,7 @@ KlikAanKlikUit, NEXA, CHACON, HomeEasy UK. <devicelog2>
<deviceid2>.
+ is optional for the name used for the Reading of <deviceid2>.If you use "none" then no addional Reading is reported. Just the state is used to report the change.
<commandcodes>
diff --git a/fhem/FHEM/46_TRX_SECURITY.pm b/fhem/FHEM/46_TRX_SECURITY.pm
index 0f11dcadb..59dd246ab 100755
--- a/fhem/FHEM/46_TRX_SECURITY.pm
+++ b/fhem/FHEM/46_TRX_SECURITY.pm
@@ -182,7 +182,7 @@ TRX_SECURITY_Set($@)
# Now set the devicelog:
$sensor = $hash->{TRX_SECURITY_devicelog};
- readingsBulkUpdate($hash, $sensor, $command);
+ if ($sensor ne "none") { readingsBulkUpdate($hash, $sensor, $command); }
# Set battery
$sensor = "battery";
@@ -462,7 +462,7 @@ sub TRX_SECURITY_parse_X10Sec($$) {
if ($firstdevice == 1) {
$val .= $current;
}
- readingsBulkUpdate($def, $sensor, $current);
+ if ($sensor ne "none") { readingsBulkUpdate($def, $sensor, $current); }
# KD101 does not show normal, so statechange does not make sense
if (($def->{STATE} ne $val) && ($device_type ne "KD101")) {
@@ -611,7 +611,7 @@ TRX_SECURITY_Parse($$)
<devicelog>
<deviceid2>
@@ -621,7 +621,7 @@ TRX_SECURITY_Parse($$)
<devicelog2>
<deviceid2>.
+ is optional for the name used for the Reading of <deviceid2>. If you use "none" then no additional Reading is reported. Just the state is used to report the change.