From 52fa880e61b3cde5db59d8d38d4479a1ab147381 Mon Sep 17 00:00:00 2001 From: Ralf Ramsauer Date: Mon, 18 May 2015 22:22:08 +0200 Subject: [PATCH] Added Light-off feature --- doorlockd/door.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doorlockd/door.cpp b/doorlockd/door.cpp index 0f6b2d1..430874e 100644 --- a/doorlockd/door.cpp +++ b/doorlockd/door.cpp @@ -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()