Looks great! I just tried setting up the light sensor and py script you posted. Seemed easy enough but you said set up as “Manual” but with GPIO pin 21…. Not connected to anything. There isn’t an option for a GPIO pin when set to manual so I set it as GPIO… but I’m missing something since it is not working. I used the same pinout connections you had in your guide, saved the BriSensor.py script and am running it at autostart. I’ll try to troubleshoot but any pointers will be helpful. I don’t have the other two scripts since they don’t seem related.
Sorry for late reply, I don't have notifications for this thread.
Try running the py script with Thonny Python IDE directly on the device to see what's wrong.