|
|
|
@ -17,14 +17,14 @@ |
|
|
|
|
|
|
|
|
|
# 0 = temperature outside |
|
|
|
|
# 1 = humidity outside |
|
|
|
|
# 2 = temperature small greenhouse |
|
|
|
|
# 3 = humidity small greenhouse |
|
|
|
|
# 4 = soil moisture small greenhouse |
|
|
|
|
# 5 = soil moisture small greenhouse |
|
|
|
|
# 6 = temperature large greenhouse |
|
|
|
|
# 7 = humidity large greenhouse |
|
|
|
|
# 8 = soil moisture large greenhouse |
|
|
|
|
# 9 = soil moisture large greenhouse |
|
|
|
|
# 2 = temperature large greenhouse |
|
|
|
|
# 3 = humidity large greenhouse |
|
|
|
|
# 4 = soil moisture large greenhouse |
|
|
|
|
# 5 = soil moisture large greenhouse |
|
|
|
|
# 6 = temperature small greenhouse |
|
|
|
|
# 7 = humidity small greenhouse |
|
|
|
|
# 8 = soil moisture small greenhouse |
|
|
|
|
# 9 = soil moisture small greenhouse |
|
|
|
|
$telemetry_data = array_map('str_getcsv', file("/home/marcel/ham/aprs_utils/aprs_log/latest_telemetry_PE1RXF-7.dat")); |
|
|
|
|
?> |
|
|
|
|
<div class="header"> |
|
|
|
@ -37,8 +37,8 @@ |
|
|
|
|
<div class="col-3 col-s-3 menu"> |
|
|
|
|
<ul> |
|
|
|
|
<li><h3>Temperature buiten: <?php echo $telemetry_data[0][0] ?>° C</h3></li>
|
|
|
|
|
<li><h3>Temperature kleine kas: <?php echo $telemetry_data[0][2] ?>° C</h3></li>
|
|
|
|
|
<li><h3>Temperature grote kas: <?php echo $telemetry_data[0][6] ?>° C</h3></li>
|
|
|
|
|
<li><h3>Temperature kleine kas: <?php echo $telemetry_data[0][6] ?>° C</h3></li>
|
|
|
|
|
<li><h3>Temperature grote kas: <?php echo $telemetry_data[0][2] ?>° C</h3></li>
|
|
|
|
|
</ul> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
@ -60,8 +60,8 @@ |
|
|
|
|
<div class="col-3 col-s-12 menu"> |
|
|
|
|
<ul> |
|
|
|
|
<li><h3>Luchtvochtigheid buiten: <?php echo $telemetry_data[0][1] ?> %</h3></li>
|
|
|
|
|
<li><h3>Luchtvochtigheid kleine kas: <?php echo $telemetry_data[0][3] ?> %</h3></li>
|
|
|
|
|
<li><h3>Luchtvochtigheid grote kas: <?php echo $telemetry_data[0][7] ?> %</h3></li>
|
|
|
|
|
<li><h3>Luchtvochtigheid kleine kas: <?php echo $telemetry_data[0][7] ?> %</h3></li>
|
|
|
|
|
<li><h3>Luchtvochtigheid grote kas: <?php echo $telemetry_data[0][3] ?> %</h3></li>
|
|
|
|
|
</ul> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|