Commit Graph

122 Commits

Author SHA1 Message Date
Jon Maddox
030fec8cbf Merge pull request #170 from nfarina/ha-media-players
Home Assistant Media Players
2015-09-14 22:23:34 -04:00
Jon Maddox
be589d4fb5 you can do this too 2015-09-14 20:46:51 -04:00
Jon Maddox
1df32fca3d add some docs 2015-09-14 20:20:26 -04:00
Jon Maddox
e894b1a1a1 support media players to be addressable as lights 2015-09-14 20:14:27 -04:00
Luke Redpath
7f14df0434 Honor the MaxDimLevel property of accessories.
LightwaveRF lights could not be dimmed properly as they require a dim level
of betwene 0-32. The Domoticz documentation incorrectly states this should be
0-16.

Other devices may use different values which is why the MaxDimLevel property
should be used rather than hardcoded value.

Also refactored the code slightly.
2015-09-14 19:40:04 +01:00
Luke Redpath
c88d01c9a9 Updated CHANGELOG with my previous changes 2015-09-14 19:29:02 +01:00
Jon Maddox
293f56e826 Merge pull request #166 from nfarina/home-assistant
Home Assistant Shim
2015-09-14 01:45:31 -04:00
Jon Maddox
c1e3d45fa1 scan in switches 2015-09-14 01:40:09 -04:00
Jon Maddox
69d948e0fa add switch 2015-09-14 01:40:03 -04:00
Jon Maddox
488456c108 ohhhhhhh the callback signature 2015-09-14 01:30:55 -04:00
Jon Maddox
025bca7a43 factor things out of the accessory and make it a Light 2015-09-14 01:16:34 -04:00
Jon Maddox
544124fbab clean it up and get on that modern tip 2015-09-14 00:20:28 -04:00
Jon Maddox
167a983068 handle missing friendly name 2015-09-14 00:14:02 -04: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
Jon Maddox
f5cc6cf6fb add home assistant shim 2015-09-13 22:24:39 -04:00
S'pht'Kr
7e9793e20e Merge branch 'nfarina/master' into z-way-server-2
Conflicts:
	config-sample.json
2015-09-12 14:26:27 +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
David Parry
7d5a992c98 minor cleanup 2015-09-11 17:30:25 +10:00
S'pht'Kr
3da6fcb510 FIX: Prevent light sensor values from going out of bounds 2015-09-11 05:43:33 +02:00
David Parry
17fc8f1829 implement the LiFX LAN API as a configurable option for higher lantency connections 2015-09-11 13:04:09 +10:00
David Parry
7e6df6191e [LiFX] fix/enhance the LiFX platform 2015-09-10 22:19:41 +10: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
Nelson Melo
7866b582f9 Merge branch 'master' of https://github.com/nmelo/homebridge
* 'master' of https://github.com/nmelo/homebridge:
  [MiLight] Swap cooler/warmer direction for white bulbs, and add note about delay
  [MiLight] Update config-sample.json to replace MiLight accessory with MiLight platform
  [MiLight] Add missing callback from hue function
  [MiLight] Modify logging to show the zone name when used as a platform accessory
  [MiLight] Converted accessory to platform. Not fully tested yet
2015-09-09 15:26:47 -04:00
Nelson Melo
c73e22984d Implemented LIFx bulb platform 2015-09-09 15:26:21 -04:00
Nick Farina
e9cca92dee Merge pull request #155 from dotsam/milight-platform
[MiLight] Convert to platform
2015-09-09 08:55:30 -07:00
Sam Edwards
d6e31b4aa7 [MiLight] Swap cooler/warmer direction for white bulbs, and add note about delay 2015-09-09 08:13:22 -07:00
S'pht'Kr
e75726436e Merge branch 'nfarina/master' into z-way-server-2 2015-09-09 06:50:22 +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
Sam Edwards
18333242ff [MiLight] Add missing callback from hue function 2015-09-08 11:20:36 -07:00
Sam Edwards
5cccd3f916 [MiLight] Modify logging to show the zone name when used as a platform accessory 2015-09-08 11:01:30 -07:00
Sam Edwards
abe88b7502 [MiLight] Converted accessory to platform. Not fully tested yet 2015-09-08 10:41:03 -07:00
Raoul
1df411d916 TESTING NEEDED
Proposing idea to de-asynchronize Sonos device discovery with a timeout event for push.
I have no IDE at hand right now, so please check syntax before merging!
I have no Sonos devices, so please check somebody with the hardware at hand!
Thanks
Raoul
2015-09-08 09:25:44 +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
Nick Farina
5ba7b46c26 Merge pull request #144 from luxus/patch-1
adding resolver chain workaround for raspberry pi
2015-09-06 15:40:24 -07:00
Snowdd1
9d8afc4bcb cleanup of sample.json and platform shim
removed non-existent old device types from platform shim.
2015-09-06 11:41:33 +02:00
Kai
70b5a9142a adding resolver chain workaround for raspberry pi
adding the workaround from https://github.com/agnat/node_mdns/issues/130 to fix #140
2015-09-06 04:31:05 +02:00
Snowdd1
ea1c1f6fce Working Version
Refactored version. KNX.js is used as platform, while knxdevice is
called for each accessory to add.
2015-09-05 19:08:28 +02:00
Snowdd1
116dd1b315 still WIP
with Thermostat stub. Somehow stops working after a few lines of
console.log
2015-09-04 17:39:46 +02:00
Snowdd1
1a98a6c9ac got it straight
does not use PR#15 for node-eibd any more.
2015-09-04 16:35:11 +02:00
Snowdd1
bad0ba0c3b initial test version 2015-09-04 15:45:19 +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
f287c9ee36 Merge branch 'nfarina/master' into z-way-server-2 2015-08-30 14:27:07 +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
Khaos Tian
bf2216209d [Philips Hue] retry if command failed due to api rate limit. 2015-08-28 21:49:16 -07:00
EddyK69
76eaca8f78 Fixed misc. dimmer issues
Fixed issue that 'on/off'-type lights showed as dimmers in HomeKit.
Checking now on SwitchType instead of HaveDimmer
Fixed issue that 'on-off'-type lights would not react on Siri 'Switch
on/off light'; On/Off types are now handled as Lights instead of
Switches
2015-08-27 12:49:22 +02:00
EddyK69
b170e81059 Implemented: config.json parameter loadscenes & fixed dimmer-bug
Added parameter in config.json: 'loadscenes' for enabling/disabling
loading scenes
Fixed issue with dimmer-range; was 0-100, should be 0-16
2015-08-26 23:20:42 +02:00
S'pht'Kr
13d983aa28 Merge branch 'nfarina/master' into z-way-server-2 2015-08-25 20:23:33 +02:00