- changed webserver to apiserver
- added webserver - a lot of debugging - install shell script
This commit is contained in:
@@ -22,7 +22,6 @@ class topic {
|
||||
|
||||
class device
|
||||
{
|
||||
public $method; //0 = auto or 1 = manual
|
||||
public $topic;
|
||||
public $ieeeAddress;
|
||||
public $groupID;
|
||||
@@ -40,9 +39,8 @@ class device
|
||||
$this->availability = array("value" => null, "functions" => array());
|
||||
}
|
||||
|
||||
public function set($method=0) //, $event = null)
|
||||
public function set() //, $event = null)
|
||||
{
|
||||
$this->method = $method;
|
||||
publish($this->topic . "/" . $this->friendlyName, $this->payload, "set"); //, $event);
|
||||
}
|
||||
|
||||
@@ -72,6 +70,7 @@ class event
|
||||
public $stopDatetime;
|
||||
public $recurrenceInterval; // interval : for recurrent event
|
||||
public $exceptionInterval; // array of object ranges
|
||||
public $method; // cf: constants.php (IDLE, AUTO, MANUAL)
|
||||
}
|
||||
|
||||
class watch
|
||||
|
Reference in New Issue
Block a user