Skip to content
Grigory Morozov edited this page May 19, 2016 · 8 revisions

Hardware

Hi-Link HLK-SW16 16-channel relay with Ethernet and WiFi interface

Protocol

Relays are controlled via proprietary UDP protocol on port 8080. There is no authentication at all.

Prerequisites

Can be run on most Linux installations. Was tested on Raspberry Pi running Raspbian

  • MySQL (or MariaDB, Percona)
  • Webserver (tested with Apache 2.4)
  • PHP
  • Cron
  • Python >2.7

#Installation

make git clone to the web root directory of the web server

#Usage

Navigate the the root URL, add your relay(s). Automatic relay switching events are implemented via crontab entries added under webserver user (www-data?)

Clone this wiki locally