1
0

- lots of debugging

- beginning to add graphical stats
- beginning to add device by type
- added a dashboard "etage"
- begining to add notification to multiple recipients in freemobile hook
This commit is contained in:
2022-03-28 00:40:34 +02:00
parent 80234fc505
commit 0d35b1ff3f
24 changed files with 491 additions and 205 deletions

View File

@ -54,9 +54,9 @@ function zigbee2mqttCallback($topic, $message)
$fnTreeEnd = end($fnTree);
switch($fnTreeEnd)
{
case "l1":
/*case "l1":
case "l2":
$fnTreeEnd = "state_" . $fnTreeEnd;
$fnTreeEnd = "state_" . $fnTreeEnd;*/
case "set":
case "mode":
case "contact":
@ -77,6 +77,7 @@ function zigbee2mqttCallback($topic, $message)
logger(ERROR, sprintf(_("device with friendlyname %s not found"), $fn), __FILE__ . ":" . __LINE__);
}else
{
logger(DEBUG, "PayloadArray = " . print_r($payloadArray,true), __FILE__ . ":" . __LINE__);
changeDevice($topicName, $fn, $indexFriendlyNames[$topicName][$fn], $payloadArray);
}