binary-sensor

xod/common-hardware/binary-sensor

Represents a sensor which carries its signal through a single pin and is either high or low. The switches are expected to be instant, without bouncing involved (e.g., a binary line sensor, capacitive touch sensor, pyroelectric infrared motion sensor).
binary-sensor
@/binary-sensor
Represents a sensor which carries its signal through a single pin and is either high or low. The switches are expected to be instant, without bouncing involved (e.g., a binary line sensor, capacitive touch sensor, pyroelectric infrared motion sensor).
PORTport
The board port to which the sensor is connected
UPDpulse
Trigger sensor update, that is starts a new reading
binary-sensor
PORTPORTUPDUPDVALVALOKOK
OKpulse
Pulses when a reading completes successfully
VALboolean
The last read value