Skip to content

douglsmith/homebridge-random-switch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homebridge-random-switch

Plugin for homebridge that creates fake switches which turn themselves off a random amount of time after being turned on.

Installation

npm install -g kylesmile/homebridge-random-switch

Configuration

Add the device as an accessory in homebridge's config.json.

Example config.json:

"accessories": [
  {
    "accessory": "RandomSwitch",
    "name": "My Random Switch",
    "minimumDuration": 5,
    "maximumDuration": 10
  }
]

The switch will turn itself off between minimumDuration and maximumDuration seconds after being turned on. minimumDuration is optional and defaults to 0. maximumDuration is required.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%