I corrected the problem I found in the sunriseHandler(). The problem was pretty minor: The lights would not turn off at sunrise if the light was already above the lux threshold. However, this should have self-corrected as soon as the next report from the light meter. I did not test this, however. In any case, I updated the post above where I included the Git link.