Nuttycomputer Posted May 30, 2012 Posted May 30, 2012 So posted this out there in case anyone has extra suggestions or got frustrated themselves. I have my newly installed Garage Kit installed and set to Momentary C but since I don't have a KPL Button for it yet my plan was just to control it via Mobilinc when needed. After pulling my hair out trying to determine why the Relay stayed on and wouldn't turn off. Or once turned off wouldn't close the garage door several forum posts later led me to LeeG's (of course ) explanation on how Momentary is ignored when using direct commands as I must do until I get another KPL Installed in the house. However while I understand that now I still needed a solution for my primary end user who uses her cell phone as the remote. My Solution was rather simple. I renamed the device from Relay to Toggle in order to make it clear it doesn't open or close the garage it simply toggles the state and followed it up with this program: If Status 'Garage Toggle' is On Then Wait 2 seconds Set 'Garage Toggle' Off Else - No Actions - (To add one, press 'Action') So this ensures when a direct command is used the Relay will turn off after 2 seconds and then the Garage Sensors status can be monitored to confirm closure (as well as an IP camera I will eventually be installing) This also has the added benefit of making sure the Relay being on doesn't affect my remotes (though when tested they were unaffected anyway) So here is that if anyone is stumbling and pulling their hair out. Thanks to LeeG for being a constant help and if anyone else has had this issue and came up with a different solution I would love to hear as well
LeeG Posted May 30, 2012 Posted May 30, 2012 Nuttycomputer Can you post the link to my post that concludes Relay Direct commands ignore Momentary mode. It sounds like my post is not clear. The aspects of Momentary mode regarding what commands will perform what actions do not apply to Direct Relay commands. However, the Relay should honor the Momentary hold time when in one of the Momentary modes and automatically turn Off on its own even when turned On with a Direct command. The Admin Console will still show it as On as the Relay does not report back that is has turned Off automatically but the Relay does turn Off. I need to fix the post to explain this more clearly. There is a situation with the new I/O Linc devices that are I2CS. Momentary modes cannot be set so the Relay stays in Latching mode. UDI is working on a fix for this. When in Latching mode it is necessary to turn the Relay Off with an explicit command.
Nuttycomputer Posted May 30, 2012 Author Posted May 30, 2012 Nuttycomputer Can you post the link to my post that concludes Relay Direct commands ignore Momentary mode. It sounds like my post is not clear. The aspects of Momentary mode regarding what commands will perform what actions do not apply to Direct Relay commands. However, the Relay should honor the Momentary hold time when in one of the Momentary modes and automatically turn Off on its own even when turned On with a Direct command. The Admin Console will still show it as On as the Relay does not report back that is has turned Off automatically but the Relay does turn Off. I need to fix the post to explain this more clearly. There is a situation with the new I/O Linc devices that are I2CS. Momentary modes cannot be set so the Relay stays in Latching mode. UDI is working on a fix for this. When in Latching mode it is necessary to turn the Relay Off with an explicit command. No problem. The Post that helped me was viewtopic.php?f=27&t=7800 Hmm.. it still turning off is probably why my remotes still worked. I just assumed the relay was still on since it showed on in admin console. Since it should still be honoring the command would a query of that device be a better option then sending a useless off command? Regarding the I2CS devices that explains a lot. Mine was actually not staying on latching I could switch it to Momentary A but I fought trying to get it to Momentary C through the console more than I care to admit before I just got back on the ladder and set it to Momentary C on the device itself via the set button.
LeeG Posted May 31, 2012 Posted May 31, 2012 Nuttycomputer Thanks for the link. The I/O Linc Relay status is of little use in a garage application. With a 2 second Momentary hold time, the garage door moved 10 times in a day, the Relay is physically On for a total of 20 seconds at 2 second increments in that 24 hour period. The I/O Linc Relay does not indicate if the door is open, closed or the direction of movement. You can issue an Off command to change the Current State information. A Query will do the same thing. A Query can have undesired results as it returns the true On/Off state of the I/O Linc Sensor as well as the Relay status. If the I/O Linc is set for Trigger Reverse (which only reverses the On/Off commands issued as the Sensor changes state) the Query will indicate the true On/Off state of the Sensor, not the reversed command state. The Query would give a false door open/close state if using Trigger Reverse. Your I/O Linc is an I2CS device which has a different command requirement to set/change Latching/Momentary modes. This will likely be resolved in the next beta drop.
Xathros Posted May 31, 2012 Posted May 31, 2012 Nuttycomputer- Here is what I did for my garage doors with Mobilinc. I have 1 program for each of the 2 doors. They are identical with the exception of addressing different IOLincs. Both programs are DISABLED. PrgogramName: .Mom Open-Close If Status Mom-GD-OC is On Then Set Mom-GD On Wait 10 Set Mom-GD Off Else Mom-GD-OC is the Sensor Input. On means the door is not fully closed. Mom-GD is the relay. 10 Seconds is the approximate time it takes for the door to open or close. The "." at the beginning of the program name makes it sort before others in the favorites list in Mobilinc. In Mobilinc, I have made these programs favorites with the following options: Favorite: Run Then Command Custom command names all blank except for Run Then "Open/Close" Custom Status Names: True "Open", False "Closed", Rng Then "Door in Motion", Rng Else Selected Icon: Garage Door Reversed The programs are disabled so they don't take any action based on their If sections. The if is only to generate status for the custom status' of Open/Closed The result: I have also associated the Run Then protion of these programs with my garage IP cam along with the Togglinc Relay for the garage lights. I have other programs that manage the doors via KPLs and time driven stuff. These are strictly for Mobilinc's benefit. I hope this proves useful to somebody. -Xathros
Nuttycomputer Posted May 31, 2012 Author Posted May 31, 2012 Nuttycomputer Thanks for the link. The I/O Linc Relay status is of little use in a garage application. With a 2 second Momentary hold time, the garage door moved 10 times in a day, the Relay is physically On for a total of 20 seconds at 2 second increments in that 24 hour period. The I/O Linc Relay does not indicate if the door is open, closed or the direction of movement. You can issue an Off command to change the Current State information. A Query will do the same thing. A Query can have undesired results as it returns the true On/Off state of the I/O Linc Sensor as well as the Relay status. If the I/O Linc is set for Trigger Reverse (which only reverses the On/Off commands issued as the Sensor changes state) the Query will indicate the true On/Off state of the Sensor, not the reversed command state. The Query would give a false door open/close state if using Trigger Reverse. Your I/O Linc is an I2CS device which has a different command requirement to set/change Latching/Momentary modes. This will likely be resolved in the next beta drop. Hey Lee thanks for the information. The reason I'm forcing or querying the Relay off is that since I have no KPL button or switch to link the Relay to I'm issuing direct commands from the application. To make it less confusing for my users I need the Relay to show off a few seconds after an ON command is issued to indicate that it is a button press and that ON commands shut/close/stop the garage door. As soon as I get an actual KPL button to link the setup to I will remove the program and hide the relay from users in the Mobilinc. The KPL button will then take the place of the relay for remote use. Regarding the sensor it is not set for Trigger Reverse. It is wired using the Red/Black pair so it currently is on if open, off if closed, etc.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.