Skip to content

Commit

Permalink
preps for 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dennis-hh committed Apr 5, 2016
1 parent beb8b8b commit 8a0dcc6
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Raumfeld plugin for Homebridge

This is a plugin to connect Raumfeld hardware to Apple's Homekit via the Homebridge system.
This is a plugin to connect Raumfeld hardware to Apple's Homekit via the Homebridge system.

## This is Work In Progress, use carefully.
Please visit [homebridge github homepage](https://github.com/nfarina/homebridge) first.

### Prerequisites
This plugin requires at least one running Raumfeld device in order to work.

### Installation
Please follow the installation guide for homebridge, first (see link above). Afterwards, simply install this plugin (assuming that homebridge is installed globally): `sudo npm install -g homebridge-raumfeld`. Now copy the `config-sample.json`to your homebridge home folder (usually `/home/username/.homebridge`) and rename it to `config.json`.
Finally, you can the setup with `homebridge`. Device detection should start immediately. You should see messages like `registering Kitchen with UUID 341c5354-c570-4697-a58c-44916f110c87` for all of your Raumfeld devices.
Follow homebridge's steps to register it with Homekit, and your Raumfeld devices should show up in apps like Elgato Eve.

### Features
Currently, only play/pause and volume control are supported. More is in the works.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ RaumfeldPlatform.prototype.registerAccessory = function(renderer) {
var accessory = this.createAccessory(renderer);
if(accessory.UUID in this.accessories) {
if(accessory.displayName === this.accessories[accessory.UUID].displayName) {
this.log(accessory.displayName + " already registered; skipping");
//this.log(accessory.displayName + " already registered; skipping");
return;
}
//unregister accessory since apparently a zone was formed with the same UUID
Expand All @@ -63,7 +63,7 @@ RaumfeldPlatform.prototype.registerAccessory = function(renderer) {
}
accessory.reachable = true;
this.accessories[accessory.UUID] = accessory;
this.log("registering " + accessory.displayName + " with UUID " + accessory.UUID);
this.log("Registering " + accessory.displayName + " with UUID " + accessory.UUID);
this.api.registerPlatformAccessories("homebridge-raumfeld", "Raumfeld", [accessory]);
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "homebridge-raumfeld",
"version": "0.1.0",
"version": "0.1.1",
"description": "Homebridge plugin for Raumfeld support: https://github.com/nfarina/homebridge",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 8a0dcc6

Please sign in to comment.