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