1
0

- changed webserver to apiserver

- added webserver
- a lot of debugging
- install shell script
This commit is contained in:
2022-04-07 01:44:17 +02:00
parent 0d35b1ff3f
commit f8fc3f63ec
28 changed files with 463 additions and 223 deletions

View File

@@ -43,6 +43,7 @@ $deviceTable = array(
"0x00158d0004621e1f" => "ETAGE_CUISINE_FENETRE",
"0x00158d0001ddefe1" => "ETAGE_PORTE_FENETRE",
"0x086bd7fffe5aeab6" => "RDC_CHAMBRE_AMBIANCE",
"0x00124b00251ead73" => "RDC_CHAMBRE_AMBIANCE_INTER",
"0xbc33acfffe6561e4" => "RDC_CHAMBRE_ECLAIRAGE",
"0x00124b00234484ad" => "RDC_CHAMBRE_MVMT",
"0x04cf8cdf3c7b6056" => "RDC_CHAMBRE_LUMINOSITE",
@@ -55,7 +56,6 @@ $deviceTable = array(
foreach($deviceTable as $device => $name)
{
define($name, $device);
//logger(DEBUG, _("defining constant ") . $name);
}
?>

View File

@@ -26,8 +26,8 @@ $properties2log = array(
"dewptc" => 0.5,
"windchillc" => 0.5,
"winddir" => 40,
"windspeedkmh" => 5,
"windgustkmh" => 5,
"windspeedkmh" => 10,
"windgustkmh" => 10,
"rainin" => 0.5,
//"dailyrainin" => null,
//"weeklyrainin" => null,