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()