1
0

debugging

This commit is contained in:
2022-01-17 00:18:50 +01:00
parent cd20e973cd
commit 4fb5504cdc
18 changed files with 379 additions and 269 deletions

View File

@ -1,19 +1,19 @@
<?php
logger(DEBUG,"Including utils.php");
function now()
{
return new DateTime("now");
}
function notify($message)
function farenheit2celsius($value)
{
global $notificationMethods;
$result = false;
foreach($notificationMethods as $value)
{
$result = $result | $value->send($message);
}
return $result;
return ($value - 32 / 1.8);
}
function millibars($value)
{
return ($value * 0.029530);
}
function mktopic($device)