Homebridge plugin for SmartHomeNG
Go to file
2016-07-02 15:13:48 +02:00
index.js Added window covering 2016-07-02 15:13:48 +02:00
LICENSE Initial commit 2016-07-01 22:11:55 +02:00
package.json Updates packages file with git repo url's 2016-07-01 22:18:20 +02:00
README.md Added window covering 2016-07-02 15:13:48 +02:00
SmartHomeNGConnection.js First commit of files 2016-07-01 22:13:37 +02:00

#Attention: This software is not ready for production use, consider it being in alpha state !!!

#homebridge-smarthomeng Homebridge plugin for SmartHomeNG ##Currently supported This plugin currently supports:

  • LightBulb with on/off and brightness characteristic
  • Window Covering with currentposition and targetposition characteristic (state not yet supported) ##Requirements SmartHomeNG: https://github.com/smarthomeNG/smarthome homebridge: https://www.npmjs.com/package/homebridge ##Installation Install nodejs >= 0.12. You have to find out the right way for your OS. The following commands have been tested on Debian Jessie.
curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -
sudo apt-get install -y nodejs

Install homebridge from NPM repository

npm install -g homebridge

Install this plugin from NPM repository *** ATTENTION: NOT YET PUBLISHED ***

npm install -g homebridge-smarthomeng

##Configuration You have to create a config.json in .homebridge directory. You'll find that directory in your home folder. This is an example config file which just uses this plugin and some example SmartHomeNG items.

{
    "bridge": {
        "name": "HomebridgeSH",
        "username": "CC:22:3D:E3:CE:32",
        "port": 51826,
        "pin": "031-45-154"
    },

    "platforms": [
        {
            "platform": "SmartHomeNG",
             
            "name": "SmartHomeNG",
            "host": "myshngserver.mydomain",
            "accessories": [
                {
                    "name": "Licht Büro",
                    "type": "Lightbulb",
                    "onoff": "EG.Buero.Licht"
                },
                {
                    "name": "Rollladen Büro",
                    "type": "WindowCovering",
                    "currentposition": "EG.Buero.Rolladen.Position",
                    "targetposition": "EG.Buero.Rolladen.Position"
                }

            ]
        }
    ],
    "description": "This is my development config file."
}