Added Light-off feature

This commit is contained in:
Ralf Ramsauer 2015-05-18 22:22:08 +02:00
parent 21abbffeea
commit c8dccd7bfc
1 changed files with 2 additions and 0 deletions

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