Turning on and off a light daily with a ssr

I am using brew pi to control a heater for a Tortoise building. Is there a way I can have it turn on a light every morning and off every night with a ssr? Am I missing something on the setup? All the controls I have seen are for use with temp sensors.

Interesting problem!

You could set up your light as an actuator in the system, using device manager, and set up a cron job to toggle the invert state so that it turns it on and off.


I think for our future developments, it should be possible to directly drive actuators from scripts on the rpi.

That is a great idea. That is what i will do. I will let you know how that goes.

I ended up using a python script and WebIOPi to accomplish this. It is working like a charm. Here is a link I used to get started. https://code.google.com/p/webiopi/wiki/Tutorial_Basis. Maybe this will help someone else.