Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@theproductroadmap/homebridge-adjustable-timer

mksvrcek17ISC2.1.7
timer, dummy-switch, adjustable, custom, homebridge-plugin, homebridge, homekit, automation, home

readme

"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.

  • turns off the timer

  • 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.

changelog

2.1.7 (2024-11-02)

Bug Fixes

2.1.6 (2024-11-02)

Bug Fixes

2.1.5 (2024-11-02)

Bug Fixes

2.1.4 (2024-11-02)

Bug Fixes

  • Changes to config schema, name is now nested under properties! (7aea4cb)

2.1.3 (2024-11-01)

Bug Fixes

2.1.2 (2024-11-01)

Bug Fixes

  • adjust the platform name (2369812)

2.1.1 (2024-11-01)

Bug Fixes

  • adjustments for homebridge verification (116a6e2)

2.1.0 (2024-11-01)

Features

  • Added pausable config, allows timer to resume from previous state when turned off manually (e81c09d)

2.0.0 (2024-11-01)

Features

  • Update to a Platform Accessory (0a2fca0)

BREAKING CHANGES

  • Changed config structure, timers should now appear in the platform section of config. Any exisiting timers will not work.

1.2.0 (2024-11-01)

Bug Fixes

Features

1.1.5 (2024-11-01)

Bug Fixes

  • Timers starting up unprompted when homebridge restarts (775609d)

1.1.4 (2024-10-28)

Bug Fixes

  • Sensor Release, Metadata Update (12880c6)

1.1.3 (2024-10-28)

Bug Fixes

1.1.2 (2024-10-28)

Bug Fixes

  • error sensor type & added sensor types (2d4c204)
  • sensor error (0745c38)

1.1.1 (2024-10-28)

Bug Fixes

1.1.0 (2024-10-28)

Features

1.0.1 (2024-10-28)

Bug Fixes

1.0.0 (2024-10-28)

Bug Fixes