myServer6 has several drivers to control various relay devices. The "IPRelay" driver that can control 8 or 16 relays per board and a virtually unlimited number of boards.
Requirements
- myServer 6
- Allonis's 8 or 16 IP relay hardware
- IPRelay device driver
Install the IPRelay driver from within myServer 6's Software updater.
Plug in the IP relay hardware into a 7 - 14 volt DC power supply using the barrel connector (2.1 x 5.5mm). Also plug in an ethernet plug connected to same network your myServer 6 controller is connected to.
Wire the your device to control to the IPRelay's contact points. The device can be normally closed (has continuity when relay is Off) or normally open (has continuity only when relay is On). The device voltage and amperage must be rated within the specifications printed on the top of each relay.
Configuration
Open the devices webpage. This should default to 192.168.1.4. Click the Edit IP address / Port button. Enter a new static IP address that is unique on your network. The "Port" default is 30000. You can make this any number you want. Click Save. Then, change the browser address to the new IP address to ensure the device is on the network. Note: the "Port" is not really a port number at all. It is just a custom URL path. So, the device is always on Port 80 and cannot be changed if you need to Port Forward your firewall for some reason.
Within the IPRelay driver, click AddDevice. It will be assigned by myServer a unique Device ID that will be used for commands. Controller Name should be a unique name for the device you assign. The Type is IPRelay. The IP setting should be the IP address of the relay board. Configure the Port with the "Port" number you set the relay device on.
If all is plugged in and configured, myServer should create variables with the actual status of the relays.
The relays can be actuated by sending a command "Control|1~Relay~On"
Dingtian Relay
Connect the ethernet port to your Control network. From a PC's browser, go to: 192.168.1.100
Note: your PC must be on same subnet ie: 192.168.1.X
The default user: admin password: admin
You can change the user ID and password.
myServer uses HTTP commands to control the relays. So you don't need to configure MQTT or other control settings that the relay board firmware supports.
Requirements
- myServer 6
- Dingtian IP 8 relay hardware
- Dingtian IPRelay device driver
Install the Dingtian IPRelay driver from within myServer 6's Software updater.
Plug in the IP relay hardware into a 7 - 14 volt DC power supply using the screw connectors. Also plug in an ethernet plug connected to same network your myServer 6 controller is connected to.
Wire the your device to control to the IPRelay's contact points. The device can be normally closed (has continuity when relay is Off) or normally open (has continuity only when relay is On). The device voltage and amperage must be rated within the specifications printed on the top of each relay.
You can also wire switches to the Input connections. The switch should connect the Input port (like "#2") to Ground. myServer 6 will then update a "control_X_status" variable with 0 or 1 depending on if the switch is Open or Closed (High or Low).
Configuration
Open the devices webpage. This should default to 192.168.1.100. Click the Edit IP address / Port button. Enter a new static IP address that is unique on your network. The "Port" default is x. You can make this any number you want. Click Save. Then, change the browser address to the new IP address to ensure the device is on the network.
Within the IPRelay driver, click AddDevice. It will be assigned by myServer a unique Device ID that will be used for commands. Controller Name should be a unique name for the device you assign. The Type is IPRelay. The IP setting should be the IP address of the relay board. Configure the Port with the "Port" number you set the relay device on.
If all is plugged in and configured, myServer should create variables with the actual status of the relays.
The relays can be actuated by sending a command "Control|1~Relay~On"