hooks are now in array
This commit is contained in:
9
moha.php
9
moha.php
@ -126,16 +126,17 @@ class notificationMethod
|
||||
//global variables
|
||||
$topics = array(); // list of topics
|
||||
$mids = array(); // list of message IDs
|
||||
$logFh = null; // filehandle of log file
|
||||
$devices = array(); // array of device objetcs
|
||||
$changed = array(); // list of changed devices
|
||||
$notificationMethods = array(); // array of notification methods objects
|
||||
$indexDevices = array(); // index devices by ieee_address
|
||||
$hooks = array(); // array of hooks
|
||||
$notificationMethods = array(); // array of notification methods objects
|
||||
$events = array(); // list of event objects
|
||||
$changed = array(); // list of changed devices
|
||||
$dbInit = false; // flag to indicate that desvices db is initialized
|
||||
$connected = false; // connected to MQTT server
|
||||
$nSubscribed = 0; // Number of topics subsribed
|
||||
$included = false; // flag indicate scripts are loaded
|
||||
$events = array(); // list of event objects
|
||||
$logFh = null; // filehandle of log file
|
||||
|
||||
// topics definition
|
||||
$topics["zigbee2mqtt"] = new topic;
|
||||
|
Reference in New Issue
Block a user