store lightstatus on sigusr2(used my nodemon)