Prep for initial release.

Cleaned up some more old cruft, added config-sample.json entry, and now
there’s a different default grouping of characteristics, which makes
for more optional characteristics on fewer services. The older behavior
(more services per accessory) can be switched on in config.json. The
new default works better in Eve, other clients not so much.
This commit is contained in:
S'pht'Kr
2015-09-12 14:23:17 +02:00
parent 3da6fcb510
commit 17573524ce
2 changed files with 8 additions and 1 deletions

View File

@@ -71,6 +71,14 @@
"platform": "YamahaAVR",
"play_volume": -35,
"setMainInputTo": "AirPlay"
},
{
"platform": "ZWayServer",
"url": "http://192.168.1.10:8083/",
"login": "zwayusername",
"password": "zwayuserpassword",
"poll_interval": 2,
"split_services": false
}
],

View File

@@ -56,7 +56,6 @@ function ZWayServerPlatform(log, config){
this.login = config["login"];
this.password = config["password"];
this.name_overrides = config["name_overrides"];
this.batteryLow = config["battery_low_level"];
this.pollInterval = config["poll_interval"] || 2;
this.lastUpdate = 0;
this.cxVDevMap = {};