8 Channel Network Relay  

Developer: TwitchCaptain     Like this plugin? Show your appreciation!
Category: IP Communications
Github: Github Repo
Assistance: Get help!    Check the online documentation
Plugin ID: pro.sleepers.indigoplugin.8channel-relay
Latest release: v1.0.1 released on Jan. 5, 2019 (this release is only compatible with Indigo 2022.2 and earlier)
Release downloaded: 0 times
Requires: Indigo v7.0.2 thru v2022.2
(Check the Releases tab below for older releases that may have different requirements)
  Download latest release

Indigo Plugin: 8 Channel Network Relay Board

This plugin allows you to control the relays on the 8 channel network relay boards being sold on eBay. This plugin also exposes the 8 on-board input sensors.

Here's a link to the auction (until it goes away): eBay: 8 Channel Relay Network IP Relay Web Relay Dual Control Ethernet RJ45

Will this work for you?

  • Does your device listen on port 1234? If yes, it'll probably work.
  • Drop into a Terminal window on your Mac and run telnet 192.168.1.166 1234.
  • Replace 192.168.1.166 with your device's IP.
  • If you see Trying 192.168.1.166... and nothing else, it's not working.
  • If it says connected, type DUMP and hit enter.
  • If you see data, you should be good to go!

Usage

  1. Clone this repo on your Indigo server.
  2. Double-click the included plugin file.
  3. Install and Enable the Plugin.
  4. Add a New Device, Select 8 Channel Network Relay
  5. Enter the IP address for your relay board.
  6. Add 1 or more relays and click Save.
  7. Click Edit Device Settings and select a Relay Channel for the device.
  8. Click On and Off - your board should click.

There are a few more features, but that should get you going. Please report any issues on GitHub. It uses the python plugin telnetlib which seems to come standard with macOS.

Personal

I use this with 5 irrigation valves to control sprinklers & pool fill, two different garage door openers and a 3-wire 1" ball valve I found on Amazon for around $60. That valve controls my house water. The device has been very solid for many months.

I have not used the input sensors much, although I do leave my update interval at 2 seconds without problems.

License

Release details
Released on: Jan. 5, 2019
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release

This release fixes a number of bugs introduced with the 1.0.0 release.

Also included are four new sprinkler device states: Schedule Running, Unexpected Zone Activates, Last Active Zone and Zone Last Active. The first state is a boolean and goes true when a sprinkler zone is requested to turn on by Indigo. It goes false when all zones are requested off by Indigo. If a zone unexpectedly activates, its name will be placed into the second state mentioned. This happens when something besides a sprinkler schedule triggers a relay on, that is assigned to a sprinkler zone. The last two states store the last zone that was on and (with a margin of error equal to the update interval) the time it turned off.

Release details
Released on: Jan. 3, 2019
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

This releases adds the ability to control the relays as native sprinkler devices. In addition to this new feature, some bug fixes have been put into place to reduce the chance of lost data. In other words, clicking cancel on the device edit window will now revert to the previous state, even if devices were deleted or added.

Release details
Released on: Nov. 22, 2018
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

Fixing the bug that required devices to be "saved" after upgrading. Now you can upgrade in peace, and without error message in your logs.

Release details
Released on: Nov. 22, 2018
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

This releases fixes a single bug encountered while adding Input Sensors.

Release details
Released on: Nov. 20, 2018
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

Adds logging for devices actions and state changes. Fixes a bug in Relay Toggling.

Requirements

You may need to open and save each device after upgrading the plugin. This will save the properties for the new log* settings.

Release details
Released on: Jan. 22, 2018
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release