mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-10-31 22:47:05 +01:00
Added Light-off feature
This commit is contained in:
parent
ed5ed0999a
commit
52fa880e61
@ -38,6 +38,8 @@ void Door::lock()
|
||||
_open = false;
|
||||
_heartbeat.join();
|
||||
}
|
||||
|
||||
system("wget -O /dev/null --timeout 3 \"http://homer.binary.kitchen:8080/set?color=000000\" 2>&1 > /dev/null");
|
||||
}
|
||||
|
||||
void Door::unlock()
|
||||
|
Loading…
Reference in New Issue
Block a user