Left LED State – Type: Choice, Default: Auto Toggle - Default Off
Auto Toggle - Default On: Enables auto toggle. LED initially enabled
Auto Toggle - Default Off: Enables auto toggle. LED initially disabled
Channel - Default On: Creates a control channel. LED initially enabled.
Channel - Default Off: Creates a control channel. LED initially disabled.
Options: Auto Toggle - Default On, Auto Toggle - Default Off, Channel - Default On, Channel - Default Off
Right LED State – Type: Choice, Default: Auto Toggle - Default Off
Auto Toggle - Default On: Aktiviert automatisches Umschalten. LED anfangs aktiviert.
Auto Toggle - Default Off: Aktiviert automatisches Umschalten. LED anfangs deaktiviert.
Channel - Default On: Erstellt einen Kontrollchannel. LED anfangs aktiviert.
Channel - Default Off: Erstellt einen Kontrollchannel. LED anfangs deaktiviert.
Options: Auto Toggle - Default On, Auto Toggle - Default Off, Channel - Default On, Channel - Default Off
Status LED Configuration – Type: Choice, Default: Show Status
The status LED configuration. By default the LED shows communication traffic between Brick and Bricklet, it flickers once for every 10 received data packets.
You can also turn the LED permanently on/off or show a heartbeat.
If the Bricklet is in bootloader mode, the LED is will show heartbeat by default.
Actions can be used in rules by creating an action object. All actions return a Map<String, Object>.
Returned values can be accessed by name, sometimes the type deduction needs some hints, as shown below:
val actions = getActions("tinkerforge", "tinkerforge:brickletdualbuttonv2:[UID]")
val hwVersion = actions.brickletDualButtonV2GetIdentity().get("hardwareVersion") as short[]
logInfo("Example", "Hardware version: " + hwVersion.get(0) + "." + hwVersion.get(1) + "." + hwVersion.get(2))
temperature – Type: int, Unit: 1 °C, Range: [-215 to 215 - 1]
Returns the temperature as measured inside the microcontroller. The
value returned is not the ambient temperature!
The temperature is only proportional to the real temperature and it has bad
accuracy. Practically it is only useful as an indicator for
temperature changes.