GadgetGuy Super User
Joined: June 01 2008 Location: United States
Online Status: Offline Posts: 942
|
Posted: October 29 2014 at 17:40 | IP Logged
|
|
|
I have been struggling mightily with getting a SmartHome 2450 I/O Linc device Garage Door opener Macro and associated triggers working correctly.
Big challenge, as the 2450 handling in PH doesn't reflect the state of the door but only the last Insteon command sent to it. (You could fix this, Dave, if you added an option that reported the Sense status, in place of the Insteon status.) :-)
The handling is further hampered by an apparent bug in the 2450 firmware which does NOT send a momentary relay closure on both ON and OFF (Momentary-B or Momentary-C modes), but only on the ON command.
Thus one cannot directly control a garage door (on/off) with PH using the 2450 device appearance in the Device Status window but must hide the device and instead use a Virtual Device that is triggered from changes in the 2450 Sense status state, and in turn always sends an "ion" command and also reads the 2450 Sense status {ph_insteonwithret ("OVRDR GAR-L",25,1)} in order to have the (virtual) device state actually reflect the door's state.
That status state is sent as a Group Broadcast from the 2450 and looks like CMMD1=17/19 CMD2=1. The normal Insteon status updates are sent with CMD2=0.
Unfortunately the TEMP vars passed by PH from the Trigger event to a called Macro do NOT seem to reflect this information.
Here is a Event Log capture. The Insteon Status is highlighted in Red, and the Sense lead status in Blue. It is my understanding that TEMP3 is supposed to reflect the CMD2 value of an Insteon command, but as can be seen from the capture, TEMP3 always is a 0, thus there is no way to Trigger from the Sense status only.
Has anyone discovered a work around, or is there something I am missing that will make this work?
__________________ Ken B - Live every day like it's your last. Eventually, you'll get it right!
|