GithubHelp home page GithubHelp logo

paulscan / homebridge-ifttt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ilcato/homebridge-ifttt

0.0 0.0 0.0 286 KB

Homebridge plugin for IFTTT Maker channel

License: GNU General Public License v2.0

TypeScript 100.00%

homebridge-ifttt's Introduction

homebridge-ifttt

Homebridge plugin for IFTTT Maker Channel

Installation

Follow the instruction in homebridge for the homebridge server installation. The plugin is published through NPM and should be installed "globally" by typing:

npm install -g homebridge-ifttt

Configuration

Remember to configure the plugin in config.json in your home directory inside the .homebridge directory.

Look for a sample config in sample.config.json.

See IFTTT Maker Channel for an explanation on how to configure an IFTTT recipe with a Maker Channel.

You need to put the IFTTT Maker channel key in the configuration file and define a set of Buttons. Every button, once pressed with a Homekit app or via Siri, will generate an IFTTT trigger on the Maker channel.

If you specify both "triggerOn" and "triggerOff" values to a button configuration, it will generate different triggers for the two different statuses of the switch.

If you only specify the "trigger" value to a button configuration, it will behave like a push button generating the trigger after the selection of the button and automatically returning to the off status.

You can send up to 3 values (IFTTT limit) along with a button press. Use "values" to specify which values to send. If you'd like to send different values for "triggerOn" and "triggerOff", use "valuesOn" and "valuesOff" respectively instead. You can also just use "valuesOn" and "valuesOff" with "trigger".

You can delay triggers using "delayOn" and "delayOff". If you have a button with "triggerOn" and "triggerOff", the actions can be delayed by "delayOn" and "delayOff" respectively.

If you have a button with only "trigger" specified, the trigger can be delayed using "delayOn".

If you leave out "delayOn" or "delayOff" it will be treated as if there is no delay. This means you can have "delayOn" without "delayOff" and vice versa or even leave both values out. All delay values are specified in seconds.

If you use the optional "stateful" config, the switch will maintain state across shutdown/reboots.

homebridge-ifttt's People

Contributors

ilcato avatar toddgreenfield avatar mirkokurt avatar burkybang avatar paulscan 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.