In my shop (located 150' from my home), I have three relays that are used to "monitor" various states. I'm not going into the details of what the relays are monitoring, but feel free to gusess if you want to.
From a semi-dedicated PC running Vista 32, I want to be able to detect when the relay contacts change states (open to closed and vice versa). Based on the state changes, I want to be able to initiate various actions (email notification, text message, etc., with some variability in the messages) on the PC. Some triggers will be based on a single relay. Others will be based on a combination of the relay state changes over a short period of time. If the PC software polls to get state changes, it needs to be able to do so frequently, i.e., every second or two.
Some examples using relays A (normally open), B (normally closed), and C (normally closed)...
Every Monday at noon, relay A should close for fifteen minutes, then reopen. If this sequence does not happen, trigger an alert. If the sequence does happen, trigger an alert with a different message.
If relay B opens and stays open for 30 seconds, trigger an alert. When relay B closes (but only after being open for at least 30 seconds), trigger an alert.
When relay B has been open for thirty seconds, trigger an alert if relay A is still open.
If after being open for 30 seconds or more, relay B has now been closed for at least 30 seconds, and relay A is closed, trigger an alert.
Trigger an alert whenever relay C changes state, with the message containing an indication of the current open/close state.
I also want to be able to save off all of the state changes (with date and time stamps) to a file or database, so I can feed them into a graphing package for historical viewing of the state changes for each relay on the same graph.
I have an ethernet connection between my home and my shop in case there is a device that can detect the relays' contacts opening and closing and transmit them over the network to the PC. SmartHome sells a wireless relay transmitter/receiver combination that looks like it can "mimic" the relay contact state changes from my shop to my home. It looks like the "real" relay contact leads can be used as input to the relay transmitter input. For example, if the "real" relay contacts close, the relay transmitter sends a wireless signal to the receiver, which closes a set of contacts that it has.
So...what additional hardware do I need to do this (over the LAN, via the wireless relay, or whatever)? What software is recommended? I don't have any problems with writing scripts, programs, etc., although Idon't want to get down to the driver level. Are there devices that can take something as simple as a relay open/closing and put it into a form that can be picked up by the software via a USB port, ethernet connection, etc.?
Thanks,
Ira

From a semi-dedicated PC running Vista 32, I want to be able to detect when the relay contacts change states (open to closed and vice versa). Based on the state changes, I want to be able to initiate various actions (email notification, text message, etc., with some variability in the messages) on the PC. Some triggers will be based on a single relay. Others will be based on a combination of the relay state changes over a short period of time. If the PC software polls to get state changes, it needs to be able to do so frequently, i.e., every second or two.
Some examples using relays A (normally open), B (normally closed), and C (normally closed)...
Every Monday at noon, relay A should close for fifteen minutes, then reopen. If this sequence does not happen, trigger an alert. If the sequence does happen, trigger an alert with a different message.
If relay B opens and stays open for 30 seconds, trigger an alert. When relay B closes (but only after being open for at least 30 seconds), trigger an alert.
When relay B has been open for thirty seconds, trigger an alert if relay A is still open.
If after being open for 30 seconds or more, relay B has now been closed for at least 30 seconds, and relay A is closed, trigger an alert.
Trigger an alert whenever relay C changes state, with the message containing an indication of the current open/close state.
I also want to be able to save off all of the state changes (with date and time stamps) to a file or database, so I can feed them into a graphing package for historical viewing of the state changes for each relay on the same graph.
I have an ethernet connection between my home and my shop in case there is a device that can detect the relays' contacts opening and closing and transmit them over the network to the PC. SmartHome sells a wireless relay transmitter/receiver combination that looks like it can "mimic" the relay contact state changes from my shop to my home. It looks like the "real" relay contact leads can be used as input to the relay transmitter input. For example, if the "real" relay contacts close, the relay transmitter sends a wireless signal to the receiver, which closes a set of contacts that it has.
So...what additional hardware do I need to do this (over the LAN, via the wireless relay, or whatever)? What software is recommended? I don't have any problems with writing scripts, programs, etc., although Idon't want to get down to the driver level. Are there devices that can take something as simple as a relay open/closing and put it into a form that can be picked up by the software via a USB port, ethernet connection, etc.?
Thanks,
Ira