How to turn off Hyperion during daylight hours?

  • i used light dependent sensor (LDR) connected to arduino to turn ambilight off if there is light in the room.


    This might be even better than a script based on time of the day.
    Thanks for pointing me to that solution.
    Since I only use the PI 3 and OSMC to run Hyperion, do you think the light sensor can be used directly on the PI or would it need an Arduino?

  • im sorry my friend but i have no idea if you can use it directly on pi. I used this guyde http://www.tweaking4all.com/ha…light-sensitive-resistor/
    but i adjust it a bit to work as i want it to work. You can see some photos with it in my setup here on forum in showcase https://hyperion-project.org/t…2b-with-light-sensor.295/


    You can see LDR on photo hiding above power socket. Keep in mind you have to hide LDR away from LEDs to ambilight dont affect that LDR ..in that case LEDs went crazy :D .

  • yes i know you can connect LDR to raspberry but i dont know how you code it to work.I think if you using arduino then its easier ..at least i understand how it works ..sort of :D
    This is my code in case someone need it

  • I have a zwave relay between my power brick and the strip. Not only does it turn off/on when I leave/arrive, but it also turns off at bedtime and manually via Alexa. My Raspberry Pi is powered separately. This works well so far

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!