Giter Club home page Giter Club logo

homebridge-olisto's Introduction

homebridge-olisto

homebridge-olisto: Downloads homebridge-olisto: Version

What is homebridge-olisto

With homebridge-olisto you can use all your Olisto services in homekit. In homekit you have a button, if you press that button it wil connect to the Olisto server and run your action!

How to install

First if you haven't installed homebridge yet install it by using the command:

npm install -g homebridge

Then install this plugin by using the command:

npm install -g alexsterk/homebridge-olisto

Now you're done with installing. Now we want to setup the Olisto app!

How to set up Olisto

First go to olisto.com/connect/ log in and choose a username. Once thats done create a new connector. You can call it whatever you want. Now you should get an e-mail on the e-mail adress you're registered at Olisto. Keep this e-mail in your mailbox.

Push buttons

Open up your olisto app on your phone/tablet. Then add a new trigg. Choose the when condition and select Olisto Connect. Now select the connector you have just added, press 'connector turned on'. Then in the Then action you can choose what you want to happen when you press the button. Then click save trigg and name it whatever you want!

Switches and Outlets

Open up your olisto app on your phone/tablet. Then add two new triggs. In the when condition and select Olisto Connect. Now select the connector you have just added, press 'connector has value'. In the first trigg you select 'equal to' and type in '1' where is replaced by the name of the device, in the second trigg you do the same but now type '0' instead of '1'. Then in the Then action of your first trigg you can choose what you want to turn on when you activate the button. And in the second one you turn it off. Then click save trigg and name it whatever you want!

How to set up Homebridge

This is the sample config.json for homebridge.

"platforms": [
    {
        "platform": "Olisto",
        "triggs": [
            {
                "name": "Sample push",
                "type": "push",
                "connecturl": "YOUR UNIQUE CONNECT URL"
            },
            {
                "name": "Sample switch",
                "type": "switch",
                "connecturl": "YOUR UNIQUE CONNECT URL"
            },
            {
                "name": "Sample outlet",
                "type": "outlet",
                "connecturl": "YOUR UNIQUE CONNECT URL"
            },
            {
                "name": "Sample light",
                "type": "light",
                "connecturl": "YOUR UNIQUE CONNECT URL"
            }
        ]
    }
]
  • platform: Must always be Olisto.
  • triggs: A dictionary of all the triggs you want in homekit
  • triggs/name: The name that you want the button to have in homekit.
  • triggs/type: The your button needs to be either push, switch, light or outlet.
  • triggs/connecturl: This is the Connect URL you received from Olisto.

homebridge-olisto's People

Contributors

alexsterk avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.