Configuring output pins on HydraFerret module

HydraFerret: Multi-sensor IOT with a simple interface.


↓↓ Dig deeper ↓↓


Introduction

While HydraFerret in not intended to be a home automation system, there are times when configuring output is useful. For example you may want to sound an audible alarm or trigger a relay. When using devices such as relays to control higher voltages be very careful around electrical safety. If appropriate ask an electrician for assistance, or compliance sign off. (The HydraFerret project can take no responsibilty for how you apply the project.)

Configuration

Configuration:
    output
    output [<index> disable]
    output [<index> default <value>]
    output [<index> <pin> <relay|pwm|servo|var> <name> <rpn expression>]

Frequency of evaluation:
    interval output <1-300>

Display of output to xymon console:
    enable output
    disable output

RPN variables:
    output.<0-7>.val

description

This allows up to 8 outputs to be defined, given default values or to be disabled. When no parameter is provided to the "output" command, output configuration is listed. Parameters to the "output&quit; command are:

  1. When enabling an output a pin must be specified. This is the pin used to drive the output. For consistency even a "var" output will need a pin, but an unused or high numbered pin can be used for "var" outputs.
  2. The output type:
  3. A name for the variable, 16 characters in length or less. Some names of "var" outputs have special meanings:
  4. A RPN expression, which may include measured results of sensors or other output values.

To enable or disable output to display on the xymon console, use either

enable output
disable output



Thank you for visiting this websiteHome