I recently switched from Activehome to the new version of Heyu 2.0. I love Heyu!
I am looking for some scripts that I would be able to modify and plug into my x10 config file. Looking to get ideas and to see what other people are doing. I'll start off with a simple one I am using...
#If there is motion on my front porch after dark then turn the front porch light for a specified number of seconds and email me.
#If there is motion during the day, just email me
SCRIPT frontdoormotion on :: (($X10_isDarkTime)) && heyu turn frontporch on; heyu pause 60; heyu turn frontporch off; echo "Someone is at the front door" | mail -s "Front Door Motion Sensor" myemail@gmail.com
Now lets see some more!
Everyone: FYI, Heyu is a free and open-source program for controlling the CM11A which runs under Linux, Unix, and Mac OS X. See
http://www.heyu.org for details if interested.
jibs:
This forum is not the best place to pose questions like this. (I'm not sure there are any Heyu users other than myself who come here.)
Posting to
http://groups.yahoo.com/group/heyu_users will assure you of a larger readership base of knowledgeable Heyu users.
But regarding your script command line: You'll need to reverse the order of the statements for it to work as intended during the daytime, i.e., send the email first before checking whether it's dark.
There are a couple of other issues you may want to consider. Since these will be of interest to other Heyu users as well, repost your query to the above-mentioned heyu_users forum and we'll discuss them there.