Knowledge Base
Search and find technical support

How to enable PUSH mode for Input state changes on Switching Relay - 4 and 8

When using the GPIO's as inputs on the Switching Relay - 4 or Switching Relay - 8 with a 3rd party control system, there is a setting that can notify the control system about state changes. 



The Switching Relay - 4 has 4x GPIO's, and the Switching Relay - 8 has 8x GPIO's. Out of the box, the switching relays are using the PULL method where you have to ask the switching relay for the state of the inputs at a certain time interval. This method is not ideal as you might miss an update in between asking for the state on the inputs. 

Instead, we recommend using the PUSH mode where the switching relays announce input state changes as feedback to the control system. You need to enable this in the switching relay in the following way:


1. Connect using Docklight Scripting to the switching relay using a USB-A to Mini USB-B to the 'CONFIG' port on the switching relay or via the IP address and port 5000.


2. Send this command:


3. Switching relay will confirm the setting by sending this:



When inputs changes state, you will receive the following message either via RS232 or IP:


Where 'X' is the GPIO number. See example below with GPIO 1. 




Was this article helpful?
0 out of 0 found this helpful