Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
homebridge-delay-switch
Advanced tools
Delay switches for Homebridge: https://github.com/nfarina/homebridge
With this plugin, you can create any number of fake switches that will start a timer when turned ON, when the delay time is reached the switch will automatically turn OFF and trigger a dedicated motion sensor for 3 seconds. This can be very useful for advanced automation with HomeKit scenes - when delayed actions are required.
sudo npm install -g homebridge-delay-switch
"accessories": [
{
"accessory": "DelaySwitch",
"name": "DelaySwitch",
"delay": 5000
}
]
Basically, all you need to do is:
For example, when using smart wall switch (to turn ON) and RGB light bulb (to switch color) together on the same scene can cause no action on the bulb since the bulb might not even be ON when the command has been sent from homebridge. For that, we need to set an automation to change the bulb color a few seconds after the wall switch ON command.
Another great example is using this plugin to turn ON/OFF lights based on a motion/door sensor. This can be achieved by setting an automation to turn ON a light when the delay swich is turned ON and turn OFF the light when the dedicated delay motion sensor is triggers.
Also it can be use with any device that require a certain delay time from other devices (TV + RPi-Kodi / PC + SSH / etc...)
When manualy turning OFF the switch, the timer will stop and the motion sensor will NOT be triggered.
When the delay switch is getting ON command while it's already ON, the timer will restart and the motion sensor trigger will be delayed.
Click here to review more of my plugins.
FAQs
Delay switches for Homebridge
The npm package homebridge-delay-switch receives a total of 34 weekly downloads. As such, homebridge-delay-switch popularity was classified as not popular.
We found that homebridge-delay-switch demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.