2.1.7 • Published 9 months ago

@theproductroadmap/homebridge-adjustable-timer v2.1.7

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

"Dummy Timer" Plugin

Example config.json:

    {
    "name": "motion",
    "brightness": 10,
    "delayUnit": "s",
    "sensor": "motion",
    "disableLogging": false,
    "accessory": "DummyTimer"
}

This plugin an expansion on nfarina/homebridge-dummy, it allows you to create timers that act as dimmer lights. Once triggered the light will tick down a % every second/minute/hour/day until it reaches 0 and turns off, allowing you to setup automatizations in homekit or elsewhere.

Config:

Sensor

You may set the "sensor" variable to any of the following:

  • motion
  • contact
  • occupancy
  • leak
  • off

    Unless it's set to off the plugin will setup an additional sensor that will trigger when the timer is up. Allowing you to turn off the timer without it triggering your automations (setup your automations on the sensors activity). If you prefer no sensor you can use nfarina/homebridge-dummy to setup a switch that.

  1. turns off the timer
  2. turns off itself (You will need to add a condition to you automation for it not to trigger when this newly created switch is on.)

    Brightness

    The brightness variable specifies a value for the switch to start on, if you toggle it on it will automatically jump to this number irregardless of what it was on previously.

    Delay Unit

    Delay unit can be set to any of the following and specifies how long will each % take.

  • "s" Second
  • "m" Minute
  • "h" Hour
  • "d" Day

    Example: If delay unit is "m" and switch brightness is 60, it will take 1 minute to trigger.

2.1.7

9 months ago

2.1.2

9 months ago

2.1.1

9 months ago

2.1.4

9 months ago

2.1.3

9 months ago

2.1.6

9 months ago

2.1.5

9 months ago

2.1.0

9 months ago

2.0.0

9 months ago

1.2.0

9 months ago

1.1.5

9 months ago

1.1.4

9 months ago

1.1.3

9 months ago

1.1.2

9 months ago

1.1.1

9 months ago

1.1.0

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago