If you get the newest version of
X10dispatcher you can do this!
Go to options then schedules! Since the moon is on a 30 day cycle you set up a
l macro to run every 30 days start date April 2 for a full moon! You can set up a schedule for other times in the moons phase just have the start time the time of the moon Phase you wish to replicate!
Depending on what you what to do for each phase you'll need to create dispatch macros for each phase then add it in the macro to run !
Hope this works for you!
If you need more details as how post exactly what you want to do!
The dispatch macro can be as simple as send a powerline command which could trigger an AHP macro.
Or do what the AHP macro would do with some exceptions (eg can't take video)
Cheers