Device input SWITCH3

Define a stateful 3-Position (On1-Mid2-On0) switch

0,INPUT,<index>,<tag>,SWITCH3[,<inherit>[,<options]];

Mandatory options

POS_NAMES=name0#name1#name2

Event names of the 0/1/2 states

POS_NAMES=DOWN#UP#OFF

UI customization

IMG_0= svg/switch_0.svg

IMG_1= svg/switch_1.svg

IMG_2= svg/switch_2.svg

Sending switch3 input updates

8,<index>,<statevalue>;

statevalue = 0 switched to ON0 position

statevalue = 1 switched to ON1 Position

statevalue = 2 switched to MID2 Position

Last updated