fix processing notification for ThermoHygroSensHandle 0x10

This commit is contained in:
Marko Oldenburg 2018-01-10 07:38:50 +01:00
parent 2cc1cef656
commit f80d5cd8f4

View File

@ -47,7 +47,7 @@ use JSON;
use Blocking; use Blocking;
my $version = "1.99.21"; my $version = "1.99.26";
@ -574,6 +574,13 @@ sub XiaomiBTLESens_ProcessingNotification($@) {
$readings = XiaomiBTLESens_ThermoHygroSensHandle0x18($hash,$notification); $readings = XiaomiBTLESens_ThermoHygroSensHandle0x18($hash,$notification);
} }
if( $handle eq '0x10' ) {
### Thermo/Hygro Sens - Read Sensor Data
Log3 $name, 4, "XiaomiBTLESens ($name) - ProcessingNotification: handle 0x10";
$readings = XiaomiBTLESens_ThermoHygroSensHandle0x10($hash,$notification);
}
} }
XiaomiBTLESens_WriteReadings($hash,$readings); XiaomiBTLESens_WriteReadings($hash,$readings);