- 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:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user