Commit Graph

19 Commits

Author SHA1 Message Date
S'pht'Kr
ce35600b34 Merge remote-tracking branch 'nfarina/master' into zway-rgb
Conflicts:
	platforms/ZWayServer.js
2015-09-29 06:58:06 +02:00
S'pht'Kr
7aa758cb04 Working towards getting the extra dimmers in one accessory
Having trouble with service subtypes…hmm…
2015-09-29 06:53:22 +02:00
Kai
67fb6e8b4d fixing thermostat.
switch the order of the characteristics
now my stellaZ thermostat is shown correct in apps like eve and insteon+
2015-09-21 00:59:26 +02:00
S'pht'Kr
656a8057ac Initial work on reading, seems to work okay. 2015-09-19 13:00:01 +02:00
S'pht'Kr
b39b33726d Make TargetHeatingCoolingState writable
Apparently, if TargetHeatingCoolingState is not writable, you can’t add
a thermostat to a scene. This fix makes it writable from HomeKit, but
it still always remains set to HEAT.
2015-09-14 05:43:11 +02:00
S'pht'Kr
2b1aa5e296 Erm...missing modifications that should have been in the last commit. 2015-09-12 14:24:31 +02:00
S'pht'Kr
17573524ce 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.
2015-09-12 14:23:17 +02:00
S'pht'Kr
3da6fcb510 FIX: Prevent light sensor values from going out of bounds 2015-09-11 05:43:33 +02:00
S'pht'Kr
3c35311c4a Added Luminiscence sensors
Though there doesn’t seem to be much app support for it yet…and my math
(% -> lux) is complete guesswork.
2015-09-10 06:55:07 +02:00
S'pht'Kr
62cabc23f3 Added Door/Window sensors and ancillary temperature sensors.
Door/Window sensors are still implemented as garage door openers,
because that seems to make the most sense at the moment.
2015-09-09 06:48:33 +02:00
S'pht'Kr
4170b8a533 Polling!
Updates from ZWay are now reflected in HomeKit!
2015-09-09 06:28:17 +02:00
S'pht'Kr
78987a775f Might be stable now for Switches, Dimmers, & Thermostats
Basically, I needed to provide a default value instead of a
`getDefaultValue` function. Keeping with this for a while before trying
battery stats and door sensors again, but I think I figured out my
compliance problems…don’t know how it ever successfully added before,
actually.

Also removed some more cruft from the earlier old-API version and
started laying some groundwork for polling/updating from ZWay.
2015-09-07 19:16:51 +02:00
S'pht'Kr
a677edb2cf Trying for a stable baseline
Switched Door sensors back to GarageDoorOpener services for now, and
disabled battery service…lets see if we can get this stabilized.
2015-09-04 06:18:23 +02:00
S'pht'Kr
30a705e79f Fixes, cleanup
Got rid of old code I clearly don’t need anymore. Switched `this.log`s
to `debug`s. Fix for picking wrong vDev for thermostat current temp.
Added configuration for `Name` characteristic…which I guess became
required.
2015-09-02 06:27:13 +02:00
S'pht'Kr
b56d9346c8 Refactored for new API.
Mostly working, but door sensors need further work, battery service still isn't right, and I'm losing the bridge periodically...merging from master to see if I need some bugfixes.
2015-08-30 14:24:43 +02:00
S'pht'Kr
f72cb43043 Numerous fixes and improvements.
Committing before merging back to master, since the upstream branches have merged into master!
2015-08-24 06:48:34 +02:00
S'pht'Kr
9d7a6768b8 Working at the moment.
Support for several device types. Gotta be careful to not throw the bridge out of compliance!
2015-08-24 06:48:34 +02:00
S'pht'Kr
c6877193cc Early, but lots done
This works (sometimes at least) but has lots of flaws, including ones
that make the whole bridge unreachable.
2015-08-24 06:48:34 +02:00
S'pht'Kr
5782ff997f Initial commit of ZWayServer platform. Not much working, having problems with authenticating. 2015-08-24 06:48:34 +02:00