Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: Conditional Trigger Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
alavizad
Newbie
Newbie


Joined: May 25 2009
Online Status: Offline
Posts: 4
Posted: June 08 2009 at 17:26 | IP Logged Quote alavizad

I have recently installed PH and am a quite new to this. I have a simple task but couldn't find much info in the documentation. I have a motion sensor, an accesspoint and a switchlinc controlling outside lights. The sensor is linked and works fine by itself. The sensor is also linked to USB controller so I can see motion events in Insteon Explorer. I'd like to set it up so that the outside lights are turned on only between sunset and sunrise. How do I set this condition?

Thanks.
Back to Top View alavizad's Profile Search for other posts by alavizad
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: June 08 2009 at 18:16 | IP Logged Quote grif091

There is an option in the motion sensor to operate only between sunset and sunrise. How to set that should be in the Smarthome motion sensor manual. Since you have directly linked the motion sensor to the switchlinc, Powerhome does not control the ON/OFF command flow coming from the motion sensor to the switchlinc. For Powerhome to do this you would have to remove the direct link from the motion sensor to the switchlinc. Create a Powerhome trigger that fires from the ON/OFF commands from the motion sensor and only pass on those commands to the switchlinc between sunset and sunrise.

EDIT: the quick start guide describes Jumper 3 which controls night only operation.

EDIT2: if you are looking for examples of a Powerhome solution, use the Search facility and search for terms such a DUSK, DAWN, SUNRISE, SUNSET. These are system variables containing the respective values that can be used in conditional statement, such as if.

Edited by grif091 - June 08 2009 at 19:14


__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
alavizad
Newbie
Newbie


Joined: May 25 2009
Online Status: Offline
Posts: 4
Posted: June 21 2009 at 21:50 | IP Logged Quote alavizad

Thanks for your response. I guess I am still stuck at detecting motion. I removed the direct links between the motion sensor and switchlinc. Now motion only causes this command:

PLC:receiveinsteonraw=01 11 9F BF 11 08 77 41 11 FF

which is followed a minute later by

PLC:receiveinsteonraw=01 11 9F BF 11 08 77 41 13 FF

I don't know how to set a trigger to detect this and send an on command to a switchlin. What specific settings should I use? If this requires creating a macro, what would be the settings for that?

Back to Top View alavizad's Profile Search for other posts by alavizad
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: June 22 2009 at 06:10 | IP Logged Quote grif091

What are the devices
11.9F.BF
11.08.77

The commands are an On followed by an Off but the Group number of FF is not expected. Also do not see a Group Broadcast which I would expect from the Insteon PIR Motion Sensor. The PLC does not always trace everything on the powerline but in this case it may be that the motion sensor is not linked to the PLC as a responder. Will be able to tell more once the devices are identified for the two Insteon addresses in the commands.
    

__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
alavizad
Newbie
Newbie


Joined: May 25 2009
Online Status: Offline
Posts: 4
Posted: June 22 2009 at 06:30 | IP Logged Quote alavizad

11.9F.BF is the motion sensor
11.08.77 is the PLC
Back to Top View alavizad's Profile Search for other posts by alavizad
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: June 22 2009 at 12:33 | IP Logged Quote grif091

I cannot explain the command you are seeing from the motion sensor. The messages are a Group Cleanup Direct for Group 255 (0xFF), first ON then OFF. From what I have read about the motion sensor it uses Group 1 for motion, Group 2 for dusk/dawn, Group 3 for low battery.

To trigger on these commands

Trigger Type - Insteon Device Chg
Trigger ID number - (any)
Trigger Value - ON - to trigger with ON command
Trigger Value - OFF - to trigger with OFF command

Is the motion sensor being triggered by normal motion?

__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: June 22 2009 at 13:41 | IP Logged Quote grif091

More thoughts on the commands the PLC is passing to Powerhome. Are you sure there is a link from the Motion Sensor as a Controller to the PLC as a Responder for Group 1, motion sense? If this exists then you might try loading the PLC with the Add Full option rather than the default Add Min option. I've been using a PLM with Powerhome long enough not remember if there were any odd things about getting a Group Broadcast, Group Cleanup Direct, with the correct Group number when using a PLC. I just don't think the Motion Sensor is actually issuing a Group 255 for normal motion sense. If you double click on the blue T shaped Icon in the system tray (SDM3 Icon) it will open up the SDM3 trace window. Do you see the same command in the SDM3 trace window as you see in the PH raw log for a motion sense.

__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
alavizad
Newbie
Newbie


Joined: May 25 2009
Online Status: Offline
Posts: 4
Posted: June 25 2009 at 08:39 | IP Logged Quote alavizad

I did a reset on the motion sensor and re-linked to PLC. The Group number changed to 01. Using your trigger settings, motion is now detected and I can control devices using PH.

Thanks for your help Lee.

Ali.
Back to Top View alavizad's Profile Search for other posts by alavizad
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum