1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-22 02:14:26 +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;
_heartbeat.join();
}
system("wget -O /dev/null --timeout 3 \"http://homer.binary.kitchen:8080/set?color=000000\" 2>&1 > /dev/null");
}
void Door::unlock()