Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Hardware
 PowerHome Messageboard : PowerHome Hardware
Subject Topic: Smarthome 2420M settings Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
aisaev
Newbie
Newbie


Joined: May 21 2009
Location: United States
Online Status: Offline
Posts: 7
Posted: June 02 2010 at 01:12 | IP Logged Quote aisaev

Hi,

I am wondering if there is a way to adjust settings of 2420M, particularly delay, from PowerHome just like Houselinc 2 does (according to http://www.smarthome.com/2420M/Wireless-INSTEON-Motion-Occup ancy-Sensor/p.aspx? The way delay adjusted now, with screwdriver, is crazy - how am I supposed to set it for, say, 4 minutes, when precision for 3/4 turns is 2 hours?!

Edited by aisaev - June 02 2010 at 01:13
Back to Top View aisaev's Profile Search for other posts by aisaev
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: June 02 2010 at 01:59 | IP Logged Quote grif091

I don't think so. I changed one of my motion sensors to 4 minutes and HouseLinc2 used an ED (Extended) message to set the properties. PowerHome2 does not currently support ED messages.

__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
RichardL
Senior Member
Senior Member


Joined: December 29 2008
Location: United States
Online Status: Offline
Posts: 165
Posted: February 15 2011 at 16:16 | IP Logged Quote RichardL

What I see in the manual is: "the Off duration is anywhere between 30 seconds up to 2 hours"

To confirm: If the sensor is set to 30 seconds, this means that the motion sensor will not send any indication of motion for 30 seconds after it triggers motion. Example: 10:00:00PM motion is sensed, if at 10:00:15PM motion is sensed, it will not send an indication.

Is there any way to disable this feature? I just want to have the motion sensor send indications of ALL motion - no timeout/delay, no follow up Off commands.

I currently have Optex sensors via X-10 that I want to convert to Insteon. The Optex units send constant signals (every second if necessary) to indicate motion. I want the same from the 2420's and/or any other Insteon motion sensor.

Any ideas?

Thanks,

Richard


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


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: February 15 2011 at 16:26 | IP Logged Quote grif091

The V2 Motion Sensors have an Occupancy Mode that causes it to send motion On indications even during the timeout period.

Don't think PH2 has function to set MS options.

There is an Extended command to set that specific option which can now be issued under 2.1.4. If you have access to the latest developer information it should be in the current command document.   


__________________
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: February 15 2011 at 17:47 | IP Logged Quote grif091

Forgot to cover the other question. The V2 Motion Sensor also has a On Command Only option. When set the Motion Sensor suppresses the Off command. The Occupancy Mode and On Only mode operate independently.

On Only mode by itself suppresses the Off command, and the On command is sent only after the timeout expires.

Occupancy Mode causes the Motion Sensor to send On commands whenever Motion is detected, regardless of where in the timeout cycle.

EDIT: the On Only mode can be controlled by a Jumper on the motion sensor. Occupancy mode is controlled only through software with Jumper 5 in place.

Extended commands set both options.


Edited by grif091 - February 15 2011 at 17:49


__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
RichardL
Senior Member
Senior Member


Joined: December 29 2008
Location: United States
Online Status: Offline
Posts: 165
Posted: February 15 2011 at 22:29 | IP Logged Quote RichardL

That sounds great. The occupancy mode sounds like what I need. So if I put jumper 5 in place, I see that in the 2420 manual it says HouseLinc2 can change the settings. What other software can set the 2420? I don't have HouseLinc 2, only PH2, and don't want have to buy HS2 to only program the 2420...

Thanks,

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


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: February 15 2011 at 23:39 | IP Logged Quote grif091

HouseLinc2 and the UDI ISY Controller have functions to manage Motion Sensor options. With an ISY more expensive than HL2 that would not be an option either. If someone has access to the latest Insteon Command document I know there are Extended commands that can now be issues with PH2 to manage those options.


HouseLinc2 and the UDI ISY Controller have functions to manage Motion Sensor options. With an ISY more expensive than HL2 that would not be an option either. If someone has access to the latest Insteon Command document I know there are Extended commands that can now be issues with PH2 to manage those options. My Insteon command document is the old 07 version which does not have the extended commands for the MS.

Likely other software can manage those options but I am not familiar them.

Jumper 5 is required for software to set the Occupancy mode option. There is no specific jumper to control the occupancy mode.


__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
RichardL
Senior Member
Senior Member


Joined: December 29 2008
Location: United States
Online Status: Offline
Posts: 165
Posted: February 16 2011 at 11:30 | IP Logged Quote RichardL

Wondering if there is there a demo version of ISY or HL2 that might work?
Back to Top View RichardL's Profile Search for other posts by RichardL
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: February 16 2011 at 12:16 | IP Logged Quote dhoward

Now that PH has the beginning of the extended command support, the goal is to have setup screens for all of the extra settings for the individual devices. This obviously didnt make this beta version.

Since PH does support ED commands now, Ive been trying to research the documentation to find the appropriate commands so they can be sent manually and Im coming up with a blank. Ive searched the latest motion sensor notes as well as the latest command documentation and can find nothing pertaining to the occupancy settings of the motion sensor or anyway to set it to be "on" only without a timeout. The only settings I can find are for LED Brightness, Timeout, and Day/Night Sensitivity. These settings arent directly set by extended commands...they are memory mapped areas of the motion sensor memory which can be peeked/poked. Since the motion sensor ONLY supports the extended peek/poke commands, you have to use extended commands to read/change these values. There are dedicated ED commands for Set/Get of extended values but I couldnt find any commands for the motion sensor. Ugh! This is very frustrating .

Lee, not sure if its possible and I know its alot to ask, but can you use HL2 to set the occupancy setting and PH to log the commands so I can trace what is actually being sent and modified? Ive done a Google search and cant find any details on these commands and the SmartHome developer site doesnt have any details other than the memory map and command docs.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: February 16 2011 at 19:22 | IP Logged Quote grif091

Dave

Sorry for the slow response. Just got back from a trip to the big city for my monthly shopping spree.

I can do that. It will take some time. I was hoping that someone would have the latest command document. Did not want to be restricted by an NDA so I've not subscribed to the current Developer information. I have issued the Extended ALDB 2F command through a macro so I know Extended commands work at 2.1.4. Just don’t know the specific fields for the general Extended Set/Get commands as they apply to the Motion Sensor.

There are six options that can be set programmatically with a V2 Motion Sensor.

Occupancy Mode- can be controlled only be program with Jumper 5 in place
On Only Mode – can be jumper controlled when Jumper 5 is not present
Night Only Mode – can be jumper controlled when Jumper 5 is not present
Dusk/Dawn light level – can be set with small pot on V2 motion sensor
LED Brightness level – can be controlled only by program with Jumper 5 in place
Timeout interval – can be set with small pot on V2 motion sensor

Plus the battery level can be queried – don’t know if Jumper 5 is required for this but likely.

I'll post back when the reverse engineering is complete.


__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: February 16 2011 at 20:01 | IP Logged Quote dhoward

Lee,

That would AWESOME! Ive got access to the developer section but the latest command docs (from what I can see) are from 2009. You'd certainly think there would be some later info.

With the additional settings you've listed, I can see myself actually maybe using the Insteon motion sensor. The fact that it couldnt be set to continuously send commands when motion was detected is one of the big reasons that I dislike this device. It would also be great to be able to query the battery level.

Looking forward to your post.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
RichardL
Senior Member
Senior Member


Joined: December 29 2008
Location: United States
Online Status: Offline
Posts: 165
Posted: February 16 2011 at 21:55 | IP Logged Quote RichardL

You guys are awesome. Period.   
Back to Top View RichardL's Profile Search for other posts by RichardL
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: February 17 2011 at 15:50 | IP Logged Quote grif091

Motion Sensor Extended Set/Get command 0x2E – dec 46

Example of Extended command to Query Motion Sensor information

ph_insteonwithretext("MOTION SENSOR 2", 46, 0,"00 00 00 00 00 00 00 00 00 00 00 00 00 00")


D1=00

D2=00 Query Motion Sensor Information
Returned Query data
D1=?
D2=?
D3=LED bright level – LED On Option Flag must be set for this value
D4=Timeout Interval - # of 30 second intervals of Timeout +1 (0 = 30 seconds)
D5=Dusk/Dawn level - smaller is darker
D6=Option Flags – see below
D7=?
D8=?
D9=Jumpers
0x08 – On=jumper2 Off
0x04 – On=Jumper3 Off
0x02 – On=Jumper4 Off
0x01 – On=Jumper5 Off
D10=?
D11=Current ambient light level
D12=Battery level – 0x63 new battery – 0x25 battery at 3.9 volts
D13=?
D14=?

D2=02 Set LED bright level   D3=1-255 (larger/Brighter)

D2=03 Set Timeout Interval   D3=0-255 - # of 30 second intervals (0=30 seconds, 1=1 minute,… )    

D2-04 Set Dusk/Dawn Level   D3=0-255 – smaller the number the darker

D2=05 Set Option Flags   D3=Option Flags
Options Flags
0x10 – On=Occupancy mode; Off=not Occupancy mode
0x08 – On=LED On; Off=LED Off
0x04 – On=Always on; Off=Night Only
0x02 – On=On/Off commands; Off=On Only commands


__________________
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: February 22 2011 at 10:57 | IP Logged Quote grif091

The Macro in this post displays and updates the various settings in a Smarthome V2 Motion Sensor. It is designed to be invoked from a Trigger that fires from a Motion Sensor Motion On message. There is no need to put the motion sensor into linking mode with the Set button. Simply create the activity that causes the motion sensor to signal motion. The first Motion On displays the current Motion Sensor settings. If changes are entered, they are stored in Global Variables that will be written to the Motion Sensor when the next Motion On is received.

Requirements: Powerhome 2.1.2 and above, V2 Motion Sensor with Jumper 5 installed.

Install the Macro and define the Trigger below. When the Motion Sensor information is to be displayed Enable the Trigger and create a motion On from the Motion Sensor.   A Popup displays the current Motion Sensor configuration.   Clicking OK closes Popup without changing the Motion Sensor settings. To change the Motion Sensor settings enter the number(s) associated with the option(s) and click OK. The updates are stored in Global Variables. When the next Motion On message is received the updates are written to the Motion Sensor.   It is necessary to have the 2nd Motion On as the Motion Sensor is likely asleep by the time options are entered and Ok clicked. Disable the Trigger when Motion Sensor updating activity is complete.

I have found it useful to watch the Insteon Raw Log or Powerhome Status to verify a motion On is being generated.   The Motion Sensor LED can also be used for this purpose.   When using the Motion Sensor with Occupancy Off and a Timeout value the Motion Sensor will delay sending the next Motion On. There have been cases where it looked like the Trigger did not fire when it was actually a Motion On not being generated.


Trigger Definition
ID = TMSETOPTIONS
Description=your choice
Disabled=checked
Action Type=Macro
Action=MSETOPTIONS
Trigger Type=Insteon Group In
Trigger ID=ID of motion sensor
Trigger ID Number=1
Trigger Value=On (0x11)
Boolean= ph_disabletrigger(ph_getvar_s(2,1)) + 1

The following Global Variables are created by the Macro

MSWRITE, MSFLAGS, MSDARK, MSLED, MSTIMEOUT, MSOPTIONS


NOTE: the old memory map technique is used to retrieve the Motion Sensor information. Current Ambient Light Level, Battery Level, and Jumper settings are not available. When the 2E Extended Set/Get command is corrected the Macro will use the Extended data and display the additional information.

2012-02-03_102847_MSETOPTIONS_Macro_8.txt

Edited by grif091 - February 03 2012 at 10:39


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


Joined: December 31 2006
Online Status: Offline
Posts: 24
Posted: February 22 2011 at 12:56 | IP Logged Quote raven77m

I think the forum gremlins are at it!
I wouldnt mind an emailed version!
Thank you!!!!
mklinger@epix.net
Back to Top View raven77m's Profile Search for other posts by raven77m
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: February 22 2011 at 13:54 | IP Logged Quote grif091

Updated the original post with a File Upload per Dave. That should provide a functional Macro file.

Edited by grif091 - February 22 2011 at 16:56


__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: February 22 2011 at 16:32 | IP Logged Quote dhoward

Lee,

You should be able to use the "File Upload" button (last button on the editor toolbar) to post a text file of the Macro. This should leave the code unscathed by the forum .

Dave.


Edited by dhoward - February 22 2011 at 16:32
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: February 22 2011 at 16:44 | IP Logged Quote grif091

Dave

Thank you. That worked perfectly. Updated original post with the File Upload.

EDIT: added macro file from original post to PH2 and have run s few tests successfully. The new File Upload looks good. Thanks again Dave. Learn something new every day.

Edited by grif091 - February 22 2011 at 16:56


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


Joined: December 31 2006
Online Status: Offline
Posts: 24
Posted: February 22 2011 at 20:53 | IP Logged Quote raven77m

I have 3 2420M's but the are all pre-V2.
I think I have a 1.0, a 1.0R and one without a sticker but its definetly not V2.
Is there any special magic I can do to the earlier motionlincs? Anything at all?
Back to Top View raven77m's Profile Search for other posts by raven77m
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: February 22 2011 at 22:11 | IP Logged Quote grif091

Sorry, I don't know. V1 motion sensors do not have a functional Jumper 5. At least that is what the doc says.   I think the max Timeout interval was smaller. You may be able to pull information from a V1 MS since the macro is using the old memory map technique for accessing information. However, the macro uses Extended Set/Get commands to set the information which may not be supported at V1. All my motion sensors are V2 so I have no way to determine what reaction to expect from V1 motion sensor.

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

Page of 3 Next >>
  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