mirror of
https://github.com/mtan93/homebridge.git
synced 2026-04-03 06:13:11 +01:00
uuid_base in constructor
This commit is contained in:
@@ -17,6 +17,8 @@ New 2015-09-19:
|
|||||||
New 2015-10-02:
|
New 2015-10-02:
|
||||||
- Check for valid group addresses
|
- Check for valid group addresses
|
||||||
- new "R" flag allowed for Boolean addresses: 1/2/3R is the boolean not(1/2/3), i.e. 0 and 1 switched on read and write
|
- new "R" flag allowed for Boolean addresses: 1/2/3R is the boolean not(1/2/3), i.e. 0 and 1 switched on read and write
|
||||||
|
New 2015-10-07:
|
||||||
|
- Accept uuid_base parameter from config.json to use as unique identifier in UUIDs instead of name (optional)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
var Service = require("HAP-NodeJS").Service;
|
var Service = require("HAP-NodeJS").Service;
|
||||||
@@ -38,6 +40,9 @@ function KNXDevice(log, config) {
|
|||||||
if (config.name) {
|
if (config.name) {
|
||||||
this.name = config.name;
|
this.name = config.name;
|
||||||
}
|
}
|
||||||
|
if (config.uuid_base) {
|
||||||
|
this.uuid_base = config.uuid_base;
|
||||||
|
}
|
||||||
if (config.knxd_ip){
|
if (config.knxd_ip){
|
||||||
this.knxd_ip = config.knxd_ip;
|
this.knxd_ip = config.knxd_ip;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user