Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: Sensing a 2450-IO Linc 1x1? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
GadgetGuy
Super User
Super User
Avatar

Joined: June 01 2008
Location: United States
Online Status: Offline
Posts: 942
Posted: October 24 2014 at 14:02 | IP Logged Quote GadgetGuy

I have just thrown out an expensive collection of SmartenIt EZIO2X4 I/O Controllers as they may be the most unreliable Insteon devices I have ever used.   

I have over 80 Insteon devices in my home and the ONLY ones that regularly fail are the EZIO2X4 units. Every time the power fails, a motor starts/stops, or you look cross-eyed at them they drop controller/responder links and change/drop parameter settings. I have gone thru three of them now and they all do the same thing.

So I bit the bullet and bought a collection of the SmartHome 2450-IO Lincs and am setting them up now to control my overhead garage/shop doors. I have had one working flawlessly now for over 2 years, and it is located 150 feet away from my home in a farm barn. Despite its distance and the temp extremes it is exposed to, it has NEVER failed (unlike the EZIO2X4s on my home (heated) garage doors).

So far I LOVE THEM. Easy to configure (especially now that PH has I2CS support!) and they seem to work very well (so far).

BUT. That said, I am having one problem!

How do you read the STATE of the Sense line?

Attempts to read the device using "ph_getinsteonlevelrt ( "OUT GD-L RELAY" )" results in -3; -4; or 0 returns, no matter what the Sense terminal state is.

Once PH is up and running in a steady state mode, the device state is correctly reported after a door transition, but with a restart or initialization of PH the reported state of the garage door is always "off" until the door opens/closes to trigger a new update.

Is it possible to sense the state of the Sense terminal on this device and determine if the door is open or closed?


__________________
Ken B - Live every day like it's your last. Eventually, you'll get it right!
Back to Top View GadgetGuy's Profile Search for other posts by GadgetGuy
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: October 24 2014 at 14:57 | IP Logged Quote dhoward

Ken,

Try out the new IOLinc support in 2.1.5a. You'll want to set the Insteon defined IOLinc device to "Don't Display" and then create two new Analog I/O devices. One of these will be IOLinc Input (for the sense) and then other one will be IOLinc Output. You can set poll values for these to have PowerHome query their value and the ph_getanalog to query and retrieve the data in between polls.

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


Joined: March 04 2008
Location: United States
Online Status: Offline
Posts: 193
Posted: October 24 2014 at 18:47 | IP Logged Quote nick7920

not sure this helps.

I have been using 2450-for Garage door for long time.

I don't poll but have a trigger setup to run a macro and
where variable is changed to current state.

I also check the door open for extended time may be forget
to close the door.

ph_insteonwithret("Garage_Relay",25,1)

returns 1 for close 0 for open (what is return is how you
had initially setup the relay meaning linked when door was
open or closed)

and at boot/reboot of PH I have a macro to check few stuff
and set variable.

Nick
Back to Top View nick7920's Profile Search for other posts by nick7920
 
GadgetGuy
Super User
Super User
Avatar

Joined: June 01 2008
Location: United States
Online Status: Offline
Posts: 942
Posted: October 26 2014 at 18:45 | IP Logged Quote GadgetGuy

Nick-

Thanks for your insights. I had forgotten about the
Insteon cmmd to request status, so your
"ph_insteonwithret("Garage_Relay",25,1)" suggestion
gave me exactly what I wanted.

But I am still in a "quandary" (Dave maybe you can
help here). The door controlling SmartHome 2450 I/O
device is set up to produce a 2 second pulse to
trigger a door open or close action. That
"Garage_Relay" shows up in my PH Device Status window,
but I cannot get the state of that status to represent
what actually is happening (that is, the state of the
door position sensing switch).

Unfortunately the PH Garage_Relay status shows On when
commanded to be ON (no relationship to the door
position) and Off when commanded to be OFF. But in
fact since the relay is only on for 2 seconds that
status isn't correct as it stays at ON or OFF all of
the time, and both ON/OFF are defined to produce 2
second relay contact closure to trigger the door so
the relay actions are no-where accurately reflected in
the Device Status!!!

How do I get the PH Garage_Relay status in Device
Status to reflect the actual position of the door and
not just the last command to the relay?


What I am hoping to do is have an ON command in the PH
Device Status window, open the door, and an OFF
command to close the door.

Anyone know if this is possible?




__________________
Ken B - Live every day like it's your last. Eventually, you'll get it right!
Back to Top View GadgetGuy's Profile Search for other posts by GadgetGuy
 

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