Shelly relay driver

Description

This driver is designed for use with multiple Shelly relays via WiFi and Ethernet cable. Control logic features are identical to the those found in the eze Discrete output driver.


Configuration settings (center panel)

Name - The name is up to the user. Our suggestion is to choose a naming convention that makes the viewing the device list intuitive. Such as referring to the sensor and/or application. Keep the name short as it will be combined with the register name to create the default “Field” name (if added to “Fields”)

Active Check box - Check this box and “Save changes” to run the driver. The driver program can be suspended by unchecking the box and clicking on “Save changes”.

User Notes - This space can be used to store information specific to the device and your application, such as: location, wiring, scaling, etc.

eze System Notes - In this space we provide: wiring instructions, product image, product details.


IP Address (last octet) - Enter the last set of numbers in the IP address of the relay.

Output number - Enter the number of the relay (some Shelly models have multiple relays).

On startup - When using the ezeio for control or automation you should consider the effects of a lost of power and the effects of the restart. This setting gives you three options for controlling an outputs state on startup of the ezeio, turn ON, turn OFF or return to the previous state.

Auto off - Enter the number of seconds an output should remain on, once triggered. Enter a zero if you would like the output to remain on until directed by automation logic or manually turned off.


CONDITIONAL SETTINGS (OPTIONAL)

This feature provides exclusive or additional control logic, by means of a Field value threshold. The “Control mode” options listed below determine the role (if any) the Field value plays in the output control logic.

Control mode Driver Logic Other Logic
No control condition No effect on output Complete control of output
Condition triggers the output to turn on True condition will turn on output Auto off and other logic may also control output
Condition triggers the output to turn on/off True condition will turn on output & False condition will turn off Auto off and other logic may also control output
Condition exclusively controls output state (No auto off) True condition will turn on output & False condition will turn off No effect on output
Condition must be true to turn output on False condition will inhibit other logic from turning the output on Primary control of output

Condition Field - Select Field (from list) to drive condition.

Logic - Select Greater than (above threshold) or Less than (below threshold).

(Logic) Value - Enter the threshold value for the condition.


Status & Registers (right panel)

Device Status

Driver info - Typically this is the name from the program file

Driver updated/version - Date loaded or updated and the version of the driver

Battery & Signal - Signal indicates the progress through the script. If driver fails to operate, signal number indicates progress

Driver status - Color and text of status bubbles give a quick visual reference of Communication, Operation, and Application

Communication - Com count indicates number of successful and unsuccessful data packets received


Available registers

  1. Output state - On/Off state of relay
  2. Auto off timer - Time remaining on Auto off timer
  3. Voltage - Momentary voltage
  4. Current - Momentary amperage reading
  5. Power - Momentary power read
  6. Energy - Total energy
  7. WiFi RSSI - Signal strength of WiFi signal in dBm