Neoclassical Philosophic Musings

    homebridge-logic

    0.2.1 • Public • Published

    homebridge-logic

    This is a plugin for homebridge to create powerful variables like timers and counters within homekit. You can download it via npm.

    Feel free to leave any feedback here.

    What can I do with this plugin?

    • Add variables to homekit.
    • Remove variables from homekit.
    • Define options for variables.
    • Do all this from within homekit without the need to configure the variables in a file.
    • Do all this during runtime without the need to restart homebridge.
    • List and use variables.
    • Utilize the variables in homekit rules.

    Variable types and options

    • Timer (Days, Hours, Minutes, Seconds)
    • Counter (Min, Max, Count up, Count down)
    • Switch (On, Off)
    • Text (Value, Readonly)

    Compatible Homekit Apps

    Installation

    1. Install homebridge using: npm install -g homebridge
    2. Install this plugin using: npm install -g homebridge-logic
    3. Update your configuration file. See the sample below.

    Configuration

    Add the following information to your config file. Set a writable folder as cache directory.

    "platforms"[
        {
            "platform": "Logic",
            "name": "Logic",
            "cacheDir": "/var/lib/homebridge/logic"
        }
    ]

    Troubleshooting

    I cannot add my variable

    Check if a variable with the same name already exists.

    My added variable does not show up in the list

    In the current Eve app you have to change the room twice and then open the variable list again to a refresh it.

    Example use cases

    Find and add your own here here

    Screenshots

    Choose a variable type to add

    Variable types to add

    Define variable options

    Define variable options for counter Define variable options for timer

    List and use your variables

    List and use your variables

    Remove a variable

    Remove a variable

    (c) Screenshots are taken from Elgato Eve app

    Install

    npm i homebridge-logic

    DownloadsWeekly Downloads

    12

    Version

    0.2.1

    License

    MIT

    Last publish

    Collaborators

    • naofireblade