Commit Graph

9 Commits

Author SHA1 Message Date
Kraig McConaghy
e8553c7203 Merge branch 'feature/Harmony'
Conflicts:
	package.json
2015-10-19 14:02:27 -05:00
Kraig McConaghy
6604c2b69a Changed structure to handle numerous issues plus add enhancements. No activity off properly calls "Power Off" (and thus "Power Off" has been removed). HomeKit responses are properly set back when activity finishes switching. Some amount of handling has been added for timeouts while switching activities as well as request sync (you don't seem to be able to send multiple requests to the hub simultaneously, and the activity switching sometimes times out the connection, so a reconnect system was added). 2015-10-18 19:08:46 -05:00
Kraig McConaghy
e30b504583 Added handling to keep track of activity state 2015-10-18 16:21:57 -05:00
Kraig McConaghy
6008374b9e Converted LogitechHarmony accessory to be based on new HAP api 2015-10-18 14:00:06 -05:00
Mason James
38cb94c012 Update hap-nodejs requires
Update remaining platforms and accessories
2015-10-17 18:41:57 -04:00
Mike Enriquez
2652f33a0a send command every 20s to prevent timing out 2015-10-03 22:04:51 -04:00
Mike Enriquez
98519c84dd Fix crash when trying to get/set power state
- Call getPowerState on the object instead of passing the function to
  fix undefined isActivity error
- Remove callback param from setPowerState since it is not called with a
  callback param.
- startActivity expects the activity id as a parameter. We can't
  actually toggle activities off and on. There is a "PowerOff" activity
  that will turn everything off.
2015-10-01 23:08:36 -04:00
madmod
6cb9008424 Add get and set power state for activity 2015-07-11 22:11:08 -06:00
madmod
681cd7d9eb Add Logitech Harmony platform 2015-07-11 19:18:14 -06:00