Your Universal Remote Control Center
RemoteCentral.com
RTI Control Systems Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
how to check for open reed contact?
This thread has 2 replies. Displaying all posts.
Post 1 made on Wednesday October 29, 2014 at 14:52
aag
Long Time Member
Joined:
Posts:
September 2006
57
My next issue requires some deep thinking, I suspect. My screen is situated in front of a window. If the window is open, lowering the screen will result in damage (the screen is worth some 3'000$). I have an EnOcean reed contact on the window, which transmits a wireless signal. The signal is picked up by a transceiver and gets into a linux server. At the moment, this is used for triggering a burglar alarm if the windows opens while the alarm is armed.

Now the question is: what might be the best way to have the RTi controller test the status of the reed contact? The pseudocode would be;
if (reed == open) {abort init macro};
In principle, I can program the linux server to do whatever is needed for the RTi to check - but which is the most functional way to do so? Any advice will be highly appreciated.
Post 2 made on Wednesday October 29, 2014 at 17:47
ralliart329
Active Member
Joined:
Posts:
October 2007
655
All you need to do is send a open string and closed string to the Rti. Make an event in the Rti to when it receives this string to set an xp flag. Now make your open and close shade macros first test this flag and not run if the window is open. You could even make this trigger a popup to say hey the windows open so the shades won't close.
OP | Post 3 made on Monday November 3, 2014 at 06:09
aag
Long Time Member
Joined:
Posts:
September 2006
57
Thanks - very kind and helpful. This makes a lot of sense and I will implement it as you say.


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse