Please login or register.

Login with username, password and session length
Pages: 1 [2]

Author Topic: Homegenie how to videos  (Read 9686 times)

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 27
  • Posts: 1751
Re: Homegenie how to videos
« Reply #15 on: January 02, 2019, 10:03:37 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
Logged

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 27
  • Posts: 1751
Re: Homegenie how to videos
« Reply #16 on: January 02, 2019, 10:40:07 AM »

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
Logged

soxfan1966

  • Hero Member
  • *****
  • Helpful Post Rating: 3
  • Posts: 388
Re: Homegenie how to videos
« Reply #17 on: January 02, 2019, 11:13:37 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)
Logged

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 27
  • Posts: 1751
Re: Homegenie how to videos
« Reply #18 on: January 02, 2019, 12:00:15 PM »

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

soxfan1966

  • Hero Member
  • *****
  • Helpful Post Rating: 3
  • Posts: 388
Re: Homegenie how to videos
« Reply #19 on: January 02, 2019, 12:05:02 PM »

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

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

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 27
  • Posts: 1751
Re: Homegenie how to videos
« Reply #20 on: January 02, 2019, 12:34:44 PM »

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

Logged

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 27
  • Posts: 1751
Re: Homegenie how to videos
« Reply #21 on: January 02, 2019, 01:33:28 PM »

Also here's the Wizard Scripting in action https://m.youtube.com/watch?v=bpZ5Y2UqBUc
Logged

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 27
  • Posts: 1751
Re: Homegenie how to videos
« Reply #22 on: January 02, 2019, 03:10:20 PM »

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
Logged
Pages: 1 [2]
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.