Please login or register.

Login with username, password and session length
Advanced search  

News:

The X10Hub (PiX10Hub) is here! Created by the Community, for the Community.:)% #:)

Author Topic: Help setting up a Scene  (Read 840 times)

soxfan1966

  • Hero Member
  • *****
  • Helpful Post Rating: 1
  • Posts: 205
Help setting up a Scene
« on: May 03, 2019, 03:22:18 PM »

I think the term scene is what I am trying to use here.

I leave for work each morning from Mon thru Fri, holidays excluded, at about 445am.  So it is still dark out, even in the summer.

What I have been doing is:

  • turn off kitchen light
  • turn on back deck light
  • turn on driveway light

then when I get down my drive way and to the street, I turn each o those things off.

I have been doing this from my phone using the HomeGenie App.

What I want to do is have a program / scene that does all of this for me with the touch of a button or a trigger based on time of day / day of week.

Since I do not always leave at the same time, but rather around the same time, I would like to do one of the following:

1) When I manually turn off the kitchen light, turn on the back deck and drive way lights, wait 5 minutes then turn them off.  But that should only happen Mon-Fri and when its still dark out and when its before 5am.

2) Have a button defined in HG that appears in the App that I can click and then trigger the same action (turn 2 lights on, wait 5 minutes, then turn 3 lights off).

I can give it another whirl but I'm struggling with the part about putting it all together like that.

Thanks

Logged

SkipWX10

  • Sr. Member
  • ****
  • Helpful Post Rating: 1
  • Posts: 84
Re: Help setting up a Scene
« Reply #1 on: May 03, 2019, 04:38:14 PM »

I don't have HG but have a scene in the WM100 app that does exactly what you are attempting when I take my dog out at night...

I don't always take her out at the same time so i set up a scene to turn lights on one minute after I launch the scene and then turn them off 15 minutes after they come on.

How it's set up is within the 'scene' setup I chose the device numbers and loaded them in the scene, then I modified each device (need to do each device individually in WM100 app, don't know about HG) to delay 1 minute and then 'ON'.

I then loaded each device again and chose 'OFF' and set a 16 minute delay (again, not sure of HG, but in WM100 you need to load each device twice, once for on and once for off)

So, what happens when I press 'ON' for the scene, is one minute later, the devices go on and 15 minutes after that they go off.

Hope this help in some way!
Logged

soxfan1966

  • Hero Member
  • *****
  • Helpful Post Rating: 1
  • Posts: 205
Re: Help setting up a Scene
« Reply #2 on: May 04, 2019, 04:55:22 PM »

So this was actually easier that I thought.  I created a new HG Program under the Lights category called "Leave For Work".  There is currently no trigger code since I want to do that manually.

The Program Code turns on the Back Deck Light and the Lap Post (which includes some driveway lights), pauses for 10 minutes, then turns them off.

On the app, I added the new Program I created - was confused at first because it was not showing up on the main display but it does under the Programs from the menu or the drop down in the upper right corner.

Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 266
  • Posts: 9550
  • I don't work for X10, I use it successfuly!
    • Tuicemen Software
Re: Help setting up a Scene
« Reply #3 on: May 06, 2019, 07:13:30 AM »

Glad you figured it out.
did you use the built in macro recorder creating a wizard script or did you write your own script/program from scratch?
Perhaps you can post your program in the user created scripts section so others can benefit from this.
http://forums.x10.com/index.php?board=172.0
 >!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

Find extra info @ My forum

soxfan1966

  • Hero Member
  • *****
  • Helpful Post Rating: 1
  • Posts: 205
Re: Help setting up a Scene
« Reply #4 on: May 11, 2019, 10:24:37 AM »

Been busy at work and with getting some yard work done, in addition to things around the house.  My in-laws are coming for a visit for a few weeks so will get back to this and post what I came up with when I get a chance.  Just wanted to let you know I saw you suggestion and will follow up when I get a chance.  Thanks :)
Logged

soxfan1966

  • Hero Member
  • *****
  • Helpful Post Rating: 1
  • Posts: 205
Re: Help setting up a Scene
« Reply #5 on: August 04, 2019, 05:54:42 AM »

Last few months have been very hectic.  Just getting caught up on some things this morning.  Here is the program I created for this (called Leave For Work).  I have been using pretty much every day even during the summer as I leave very early in the morning and it is still dark out even in the summer.

Logged

LostDog88

  • Sr. Member
  • ****
  • Helpful Post Rating: 1
  • Posts: 147
Re: Help setting up a Scene
« Reply #6 on: September 01, 2019, 08:52:20 AM »

Personally I use scheduler.

And set a schedule for each item. That way it is easier to troubleshoot later.

My wife is a nurse and leaves very early. I get up and leave whenever as I am self-employed.

I turn the lights on outside when she gets up. Around 4:30A. It is still dark no matter what season. The simple solution as I never know when I am leaving or many other factors is to use the JKUTILS (I think that is it) to turn the lights off 1/2 hour after sunrise.

With that idea in mind, set your other lights on a schedule with the same though patterns. :-)
Logged

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 19
  • Posts: 1238
Re: Help setting up a Scene
« Reply #7 on: September 02, 2019, 06:22:48 PM »

You can see how versatile HG can be and once you experiment with it the logic falls into place. Most of the home automation can be set up from the standard GUI and for those more adventurous at a later stage there’s always the option to create your own programs at a later stage. Just keep your logic as simple as possible.
Logged
 

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