debug\ncode optimization
This commit is contained in:
@@ -12,7 +12,7 @@ $deviceTable = array(
|
||||
"0x00124b001f900753" => "RDC_ENTREE_PORTE",
|
||||
"0x04cf8cdf3c78aff0" => "RDC_SALON_LUMINOSITE",
|
||||
"0x588e81fffe343e8f" => "RDC_SALON_ECLAIRAGE_PANNEAU",
|
||||
"0x00158d0003f0f3b4" => "RDC_SDB_DOUCHE",
|
||||
"0x00158d0003f0f3b4" => "RDC_SDB_DOUCHE_MVMT",
|
||||
"0x842e14fffe1c0cd1" => "RDC_SDB_PLAFOND_MVMT",
|
||||
"0x00124b0022ec05dc" => "RDC_SDB_MVMT",
|
||||
"0x00158d0005c1a998" => "RDC_SDB_WC_ECLAIRAGE",
|
||||
|
||||
+16
-14
@@ -5,37 +5,39 @@
|
||||
// superior or inferior at value +/- x%
|
||||
|
||||
$properties2log = array(
|
||||
"availability" => null,
|
||||
"action" => null,
|
||||
"state" =>null,
|
||||
"contact" => null,
|
||||
"temperature" =>2,
|
||||
"temperature" => 0.5,
|
||||
"local_temperature" => 0.5,
|
||||
"state_l1" => null,
|
||||
"state_l2" => null,
|
||||
"humidity" => null,
|
||||
"current_heating_setpoint" => null,
|
||||
"position" => null,
|
||||
"pressure" => 0.5,
|
||||
"pressure" => 10,
|
||||
"occupancy" => null,
|
||||
"tamper" => null,
|
||||
"illuminance_lux" => 8,
|
||||
"illuminance_lux" => '10%',
|
||||
// "illuminance" => 8,
|
||||
"requested_brightness_level" => 8,
|
||||
"tempf" => 5,
|
||||
"requested_brightness_level" => '10%',
|
||||
"tempf" => 0.5,
|
||||
"humidity" => null,
|
||||
"dewptf" => 5,
|
||||
"windchillf" => 5,
|
||||
"winddir" => 8,
|
||||
"dewptf" => 0.5,
|
||||
"windchillf" => 0.5,
|
||||
"winddir" => 40,
|
||||
"windspeedmph" => 20,
|
||||
"windgustmph" => 20,
|
||||
"rainin" => null,
|
||||
"dailyrainin" => null,
|
||||
"weeklyrainin" => null,
|
||||
"monthlyrainin" => null,
|
||||
"yearlyrainin" => null,
|
||||
//"dailyrainin" => null,
|
||||
//"weeklyrainin" => null,
|
||||
//"monthlyrainin" => null,
|
||||
//"yearlyrainin" => null,
|
||||
"solarradiation" => 10,
|
||||
"UV" => null,
|
||||
"indoortempf" => 5,
|
||||
"indoortempf" => 0.5,
|
||||
"indoorhumidity" => null,
|
||||
"baromin" => 5
|
||||
"baromin" => 10
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user