Homegenie how to videos

Started by petera, December 19, 2018, 09:41:49 AM

Previous topic - Next topic

petera

Quote from: soxfan1966 on January 02, 2019, 09:57:05 AM
Quote from: petera on December 19, 2018, 10:43:13 AM
One I posted elsewhere. How to create an automation macro http://forums.x10.com/index.php?board=168.0

The link noted just goes to another board, on which I do not see an entry for a macro how to video (unless I am missing it).

I am trying to find a way to duplicate an AHP macro I had where if someone manually turns the light on to my back deck, it will turn off after 10 minutes.

I created a Program in HomeGenie, but not 100% sure I have it configured correctly.  I think the Trigger Code is what would be used to identify the light that was turned on, and then the Program code would have a Delay of 300 seconds (for 5 minutes) and then issue the command to turn off the light.

Is there a better place to look for assistance / tutorial for how to set up a Macro/Program ?  Thanks

Post a copy of the code you created

petera

The command Pause is used to add a delay.

Have a look at this link http://old.homegenie.club:8080/www.homegenie.it/forum/index22c6.html?topic=1366.0

Go down to Michaels post and you'll see an .hgx file which you can download. That will basically cover everything you are looking for

soxfan1966

Quote from: petera on January 02, 2019, 10:03:37 AM
Quote from: soxfan1966 on January 02, 2019, 09:57:05 AM
Quote from: petera on December 19, 2018, 10:43:13 AM
One I posted elsewhere. How to create an automation macro http://forums.x10.com/index.php?board=168.0

The link noted just goes to another board, on which I do not see an entry for a macro how to video (unless I am missing it).

I am trying to find a way to duplicate an AHP macro I had where if someone manually turns the light on to my back deck, it will turn off after 10 minutes.

I created a Program in HomeGenie, but not 100% sure I have it configured correctly.  I think the Trigger Code is what would be used to identify the light that was turned on, and then the Program code would have a Delay of 300 seconds (for 5 minutes) and then issue the command to turn off the light.

Is there a better place to look for assistance / tutorial for how to set up a Macro/Program ?  Thanks

Post a copy of the code you created

Here is the code I had created (attached pics)

petera

Did you define a trigger code. Not obvious from the screen cap

soxfan1966

Yes, the Trigger is when B5 has a Status.Level greater than 0.

I didn't see a specific way to check B5 On

petera

Ok. I see your logic now

When back deck is on wait for 300 then turn off

I need to get access to a computer so in the meantime have a read of this. Might be helpful

http://old.homegenie.club:8080/www.homegenie.it/forum/HomeGenieHelpece9.docx?action=dlattach;topic=1420.0;attach=2202


petera


petera

Here's a link to Bkenobi's GitHub with some fine examples of automation. Just download the GitHub by typing wget https://github.com/bkenobi/HomeGenie_Apps from your Raspberry Pi and you can import any of them you choose into HG

SMF spam blocked by CleanTalk