debugging

This commit is contained in:
DTux committed 2022-01-17 00:18:50 +01:00
1 parent cd20e973cd
commit 4fb5504cdc
18 files changed
+379 -269

No files matched your search

+8 -8
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)