I am using the PrivateEye program and server to switch a 4 channel relay. I'm doing this by setting rules that signal certain pins to switch a relay specific to that pin and using Arm/Disarm on the dashboard.
The response from the time I hit the 'Arm' function on the dashboard, until the relay switches is very slow and often seems stop working all together eventually. I just timed 5 responses to vary between 1 minute 45 seconds and 4 minutes. Then it just seemed to lose interest and isn't responding. I set printToscreen to True in Globals to send status updates. Whenever a relay is switched, it shows RelayOn, along with the pin that
signaled it. After it becomes unresponsive, it still periodically sends updates but after changing arm/disarm states on the dashboard the statuses of the relays are not showing on the updates.
The relays require 15-20mA to switch so I am using a pn2222 transistor and 1k ohm resistor in conjunction with each relay.
What am I doing wrong for the slow response? Is there something I can tweak?