I’ve used X10 for
years to control the accent lights on my house. I received an el-cheapo Firecracker controller
as part of a start-up X10 pack almost ten years ago now and have been enjoying using
it since. I never used any big, fancy X10 software that you have to purchase,
I always used the freely available things you find on sites like SourceForge.
Recently I swapped from using a Windows based home server (and mscm17a)
to Linux. I had no idea of which X10 tools I would need, but I had faith that
the open source community behind Linux would provide.
They delivered well.
I am now using HEYU, a rough equivalent
to the program I was using previously under Windows. Just substitute cron for
scheduled tasks and you’re up and running.
And for the awesome part – I had always wanted to write a program that would set my
accent lights to come on around sunset and go off when I normally turn in for the
night. Turning them off at a certain time was easy, it was the sunset part that
was the trick, especially since that could vary from 4-8pm on any given night.
I’ve seen several
places to get tables of this information, but no code that really let you
calculate based on your lat/long when the sun would actually set.
Enter X10 Ephem.
Ephem checks your specially commented cron entries and modifies their schedule based
on the parameters you set. Call it once a day and all of your tasks will shift
up and down relative to sunrise/sunset as you designate.
Put HEYU and X10 Ephem together with my X10 Firecracker and I now have what I believe
is the perfect system for controlling my accent lights.
