INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Group Setup  (Read 2042 times)

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Group Setup
« on: June 05, 2016, 06:06:37 pm »

Build 1.0.9 of Engen added scenes and groups.  Here's how I was able to set them up groups.

There is a learn mode and an exit learn mode.  These commands are:

enter_learn
and
exit_learn

You must set the lights you want to include the way you want them, start learn, assign them to a name, then exit learn.

Here are the steps:

1.  Turn on only the lights you want included and set the level you like.

2.  Start Learn.  In a terminal window type:  learn

3.  In the terminal window type:  group_set("NameofGroup",0)

4.  Turn the lights you want included off (should work in terminal, browser, or manually).

5.  Wait 15 seconds.

6.  Turn the lights back on.

7.  Save the group.  In the terminal window type:  save
The group should be saved.

To test the group from a browser on the machine where Engen is running, type this command:

http://localhost:52110/alpha000/group?name=NameofGroup&value=99

That should turn the set of lights on.  This should turn them off:

http://localhost:52110/alpha000/group?name=NameofGroup&value=0



 
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: Scene Setup
« Reply #1 on: June 06, 2016, 02:04:55 pm »

I added these buttons as links to OneRemote, just to make it easier to start and stop learning.

Learn
http://[Engen's IP Address]:52110/alpha000/learn

Save
http://[Engen's IP Address]:52110/alpha000/save

Cancel
http://[Engen's IP Address]:52110/alpha000/cancel
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: Group Setup
« Reply #2 on: June 14, 2016, 11:51:51 am »

Gene (linutic) let me know that what I had called scenes is really groups.  So I changed the post to reflect that.
Logged
Pages: [1]   Go Up