This repository has been archived by the owner on May 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
endpoints
hephaisto edited this page Sep 29, 2015
·
1 revision
The endpoints section in the config file defines the physical endpoints.
The name of the endpoint as referred to in scripts and in web-interface [groups].
The type of the endpoint. The following endpoints are currently supported:
- fake: An endpoint that just prints status updates to the log
- raspi: GPIO-Pins using wiringPi
- multiplex: When set to a specific value, all multiplexed endpoints are set to this value, too
The data type of the endpoint:
- u1: boolean value, represented as a switch
- u8, u16, u32: unsigned integers, represented as a slider
- s8, s16, s32, s64: signed integers, represented as a slider
Whether this endpoint is an input or an output value.
default: empty
Documentation string that is shown on the web interface.
Pin number using the wiringPi numbering scheme.
default: false
If set to false, HIGH voltage level will be interpreted as 1, LOW as 0. If set to true, this mapping is reversed.
default: off
- up: activate pullup resistors
- down: activate pulldown resistors
- off: deactivate pull resistors
List of endpoint names that should be multiplexed. All endpoints in this list have to be already defined earlier in the config.
light_0 "raspi"
{
description "raspi endpoint using wiringPi"
range u1
input false
pin 0
invert false
}