1
0
moha/config/properties2log.php
2022-01-17 00:18:50 +01:00

42 lines
916 B
PHP

<?php
// list of properties to log in database
// key is property name => value is % of difference with stocked value. if new value is stored if
// superior or inferior at value +/- x%
$properties2log = array(
"action" => null,
"state" =>null,
"contact" => null,
"temperature" =>2,
"state_l1" => null,
"state_l2" => null,
"humidity" => null,
"current_heating_setpoint" => null,
"position" => null,
"pressure" => 0.5,
"occupancy" => null,
"tamper" => null,
"illuminance_lux" => 8,
// "illuminance" => 8,
"requested_brightness_level" => 8,
"tempf" => 5,
"humidity" => null,
"dewptf" => 5,
"windchillf" => 5,
"winddir" => 8,
"windspeedmph" => 20,
"windgustmph" => 20,
"rainin" => null,
"dailyrainin" => null,
"weeklyrainin" => null,
"monthlyrainin" => null,
"yearlyrainin" => null,
"solarradiation" => 10,
"UV" => null,
"indoortempf" => 5,
"indoorhumidity" => null,
"baromin" => 5
);