Commit Graph

88 Commits

Author SHA1 Message Date
Nick Farina
b66610ce93 Update Lockitron state on successful change 2015-10-05 17:12:06 -07:00
Snowdd1
3031ba7e0f Refactoring of reversely used group addresses
The use of 0/1 for binary objects depends on installation, a contact
sensor can have contact=1 or open=1
The same applies to percentages:  a window can be 100% closed or 100%
open.

For a more general usage of reversed values, a suffix ("R") can now be
attached to all DPT1 and DPT5 group addresses.
Please see updated KNX.md for examples and details.

Note: outdated characteristic-workaround throw an exception at boot-up:
-  ContactSensorStateContact1
-  LockCurrentStateSecured0
-  LockTargetStateSecured0
Please see error message and KNX.md for reference.
2015-10-02 18:05:40 +02:00
Snowdd1
98ee9f8f95 Return value guarding; Cleaner logs 2015-09-30 22:07:33 +02:00
Raoul
ba5722c517 props update minValue, maxValue
used in Temperature devices (Apple's default values too narrow for beer coolers I've heard)

adapted call syntax for "Simplify Characteristic properties"
1d84d128d1 (diff-cb84de3a1478a38b2cf8388d709f1c1cR108)
2015-09-30 09:21:59 +02:00
Snowdd1
80b2a047d4 Typo fixes 2015-09-19 21:56:20 +02:00
Snowdd1
48f613f8ae New Motion Sensor service 2015-09-19 21:47:07 +02:00
Snowdd1
84c51aa27a GarageDoorOpener fixed 2015-09-19 21:24:55 +02:00
Snowdd1
eec663a5c8 Routines for unsigned int values, such as enumeration like types 2015-09-19 18:37:19 +02:00
Snowdd1
387e7ec9ce KNX support for Garage Door Opener
The garage door opener device MUST adhere to HomeKit numeric
conventions, see KNX.md documentation
2015-09-19 15:19:11 +02:00
Snowdd1
91f6ccb2d4 Added LightSensor Service 2015-09-18 13:18:27 +02:00
Snowdd1
93ea0deded Cleanup and new devices
Added services:
-  Switch
-  Outlet
2015-09-18 10:28:31 +02:00
Snowdd1
c7ab475dd4 Cleanup KNX file names and markdown
I found that the description was wrongly named and in the wrong folder.
It is now named after the platform shim to appear next to it in
listings, also the config-sample that comes along with it.

As long as we do not go for own repositories and npm packages, should we
consider folders for additional files if required?
2015-09-18 09:37:10 +02:00
Nick Farina
5720e82abd Remove test code from WeMo 2015-09-17 12:50:29 -07:00
Devran Ünal
72b9175b78 Set siri name based on accessory name 2015-09-17 15:22:02 +02:00
Devran Ünal
65ec517fd8 Update to modern API and return error messages on failed connections 2015-09-17 11:37:20 +02:00
Devran Ünal
aa823baa8e Add shim for devices with serial connection (video projectors, screens, receivers, ..) 2015-09-17 02:03:53 +02:00
Snowdd1
0da4fe5d22 Welcome iOS9
More services, documentation, and cleanups.
2015-09-16 20:05:02 +02:00
S'pht'Kr
13d1ed75cf File-based motion or contact sensor
This module creates a motion sensor accessory based on watching a
directory or file.
2015-09-15 06:55:53 +02:00
Nick Farina
adbe116a5a [Lockitron] Create an Error if necessary 2015-09-14 07:48:42 -07:00
Nick Farina
bb39f5f73e [Lockitron] err could be null 2015-09-14 07:47:21 -07:00
Nick Farina
db3f32c577 Fix name from config 2015-09-14 07:45:29 -07:00
Nick Farina
13347d1879 Upgrade Lockitron accessory to new API 2015-09-14 07:43:32 -07:00
Alessandro Zummo
b1d0ef57ac add mpd client accessory 2015-09-14 01:15:56 +02:00
Nick Farina
b2ea770afe Merge pull request #157 from devbobo/master
[WeMo] add support for WeMo motion sensor
2015-09-09 20:32:06 -07:00
David Parry
09f5e2bed0 add support for WeMo motion sensor 2015-09-10 12:50:55 +10:00
Sam Edwards
abe88b7502 [MiLight] Converted accessory to platform. Not fully tested yet 2015-09-08 10:41:03 -07:00
Sam Edwards
2710412ca6 [MiLight] Correctly reference light object, and also fix bug with brightness=0 setting the lamp to night mode 2015-09-07 16:45:27 -07:00
Sam Edwards
a4c3f73eb5 [MiLight] Fix scope issue that prevented config from working, added documentation, and added correct pause for night mode commands 2015-09-07 13:29:51 -07:00
Snowdd1
dd0aa6e2c8 Merge remote-tracking branch 'nfarina/master' into knx-dev
Conflicts:
	package.json
2015-09-06 09:38:34 +02:00
Snowdd1
6f5e6b6a0b More devices for KNX bus
Now supports
- Lightbulb
- Thermostat
- TemperatureSensor (as of iOS 8.4.1)
- LockMechanism
2015-09-06 09:37:03 +02:00
Nick Farina
3cc1f381a3 Fix for WeMo switch names 2015-09-05 14:04:31 -07:00
Nick Farina
816728c0cf Upgrade WeMo accessory
- Use new Service API
  - Experimental preliminary support for WeMo "Garage Door Openers"
(via WeMo Maker). No Sensor support yet.
2015-09-05 12:42:21 -07:00
Snowdd1
e2ef8fc0b6 package.json
- removed subtypes to be passed by default.
- package.json to inbclude "eibd"
2015-09-05 21:31:48 +02:00
Snowdd1
085ae0a22e Merge remote-tracking branch 'nfarina/master' into knx-dev 2015-09-05 20:13:29 +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
Nick Farina
01d2c21aac New iControl accessory, supports Xfinity Home.
- No more mysterious "dsig" param
2015-08-31 21:39:10 -07:00
Sam Edwards
47f000ecff [MiLight] Sent on command before brightness and hue to ensure we're targeting the right lamp, and implement night mode at brightness <= 2, and implement maximum brightness command for white lamps 2015-08-31 15:40:02 -07:00
Sam Edwards
d7d80b8618 Don't actually add a name characteristic here 2015-08-25 17:46:28 -07:00
Sam Edwards
1050b4e550 Add a name to the accessory as well 2015-08-25 12:12:58 -07:00
Sam Edwards
7d5caae96d Add the hue characteristics for all lamps, as we're trying to handle this in some way now 2015-08-25 10:46:57 -07:00
Sam Edwards
11f71e076c Update MiLight module for new API and add improved (or some at all) handling of lamp types other than rgbw. Also remove invalid comments from json file, and support future versions of node-milight-promise 2015-08-25 10:28:08 -07:00
Nick Farina
76e7ef2677 Fix identify() in Http 2015-08-23 11:45:34 -07:00
Nick Farina
dfdbc865c8 Support AccessoryInformation service 2015-08-23 10:07:31 -07:00
Nick Farina
d8e27910cc Support new API in getServices()
See `getServices()` implementation in `accessories/Http.js` for an
example of how to use.

Fixes #114
Fixes #57
2015-08-22 21:37:42 -07:00
Nick Farina
8bda79bcb5 Merge branch 'master' into use-hap-refactor 2015-08-13 20:25:17 -07:00
Nick Farina
4d9897ff26 Fix LiftMaster shim
For those of us without multiple garage doors...
2015-08-13 20:25:06 -07:00
Danimal4326
0a2f2865fb Add accessory shim for controlling hyperion TV backlight.
(https://github.com/tvdzwan/hyperion)
2015-08-13 10:34:35 -05:00