PowerShell/Scripts/simulate-presence.ps1
2020-12-01 09:54:41 +00:00

20 lines
293 B
PowerShell
Executable File

#!/snap/bin/powershell
# Syntax: ./simulate-presence.ps1
# Description: simulates the human presence against burglars
# Author: Markus Fleschutz
# Source: github.com/fleschutz/PowerShell
# License: CC0
function SwitchLight {
}
SwitchLight 1
sleep 60
SwitchLight 0
sleep 10
exit 0