From https://github.com/rxdtxd/stepper-lights