Property | Type | Description | |
---|---|---|---|
$config | array | Sensor config | |
$sensorId | string | Sensor Id |
Method | Description | |
---|---|---|
__construct ( mixed $sensor ) | Constructs a command | |
configAttribute ( string $key, mixed $value ) : self | Config attribute | |
send ( |
Send command |
public __construct ( mixed $sensor ) | ||
$sensor | mixed | Sensor Id or Sensor object |
public configAttribute ( string $key, mixed $value ) : self | ||
$key | string | Key |
$value | mixed | Value |
return | self | This object |