Hello I am trying to custom code a SBC board that controls a movement sensor and the. Actives a light, I am trying to connect it to my iot manager so I can turn it of and on. I wasn't able to find any python tutorial on how to do it is I tried using the premade code for the webcam and turn it into something I could use. I have attached my file, it's inside light 5 I am trying to code. If anyone could help that would be amazing.