Skip to content

Latest commit

 

History

History
83 lines (58 loc) · 2.92 KB

README.md

File metadata and controls

83 lines (58 loc) · 2.92 KB

homebridge-logic

npm npm GitHub last commit

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)

Coming soon

  • Event (Date, Time)
  • Recurring Event (Day of month, Weekday, Hour, Minute, Second)

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