1
0
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:
Ralf Ramsauer 2015-05-18 22:22:08 +02:00
parent ed5ed0999a
commit 52fa880e61

View File

@ -38,6 +38,8 @@ void Door::lock()
_open = false; _open = false;
_heartbeat.join(); _heartbeat.join();
} }
system("wget -O /dev/null --timeout 3 \"http://homer.binary.kitchen:8080/set?color=000000\" 2>&1 > /dev/null");
} }
void Door::unlock() void Door::unlock()