This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
## A standard "break beam sensor" uses a laser or LED with a device on both | |
## sides of an opening and is triggered when something breaks the beam | |
## (such as a customer walking through the beam). Some garage doors use them. | |
## Stores often use them at the entrace to ring a chime when a customer enters | |
## or leaves. | |
## | |
## This is my attempt at using a VL53L0X i2c Time of Flight sensor | |
## as a break beam sensor in Home Assistant using ESPHome. | |
## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
## Motion detected upstairs | |
## ----------------------------- | |
## If (timer.stairs_motion_timer is not active AND | |
## input_boolean.wled_stairs_auto_enabled is on), | |
## this will configure and turn on the lights and | |
## set timer.stairs_motion_timer to 15 seconds. | |
## | |
## The lights will be turned off by the | |
## expiration of timer.stairs_motion_timer in the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env groovy | |
import groovy.yaml.YamlSlurper | |
/** | |
* | |
* Script to perform a diff from latest:latest to latest on the | |
* list of autorestic backends passed in as command line arguments. | |
* | |
* REQUIREMENTS |
NewerOlder