Zur Zeit ist nur die englische openHAB-Dokumentation verfügbar.
This is the description of the openHAB API bindings for the Analog Out Bricklet. General information and technical specifications for the Analog Out Bricklet are summarized in its hardware description.
An installation guide for the openHAB API bindings is part of their general description.
The output voltage. The possible range is 0V to 5V. Sending a command to this channel will set the Mode to Analog Value.
- 0 Volt to 5 Volt (Step 0.001 Volt)
The mode of the output. Setting the mode to Analog Value will result in an output voltage of 0. You can jump to a higher output voltage directly by sending a command to the Voltage Channel.
- Analog Value, 1k To Ground, 100k To Ground, 500k To Ground
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:brickletanalogout:[UID]") val hwVersion = actions.brickletAnalogOutGetIdentity().get("hardwareVersion") as short logInfo("Example", "Hardware version: " + hwVersion.get(0) + "." + hwVersion.get(1) + "." + hwVersion.get(2))
Sets the voltage. Calling this function will set
the mode to 0 (see
Returns the voltage as set by
Sets the mode of the analog value. Possible modes:
Setting the mode to 0 will result in an output voltage of 0 V. You can jump
to a higher output voltage directly by calling
The following constants are available for this function:
Returns the UID, the UID where the Bricklet is connected to, the position, the hardware and firmware version as well as the device identifier.
The position can be 'a', 'b', 'c', 'd', 'e', 'f', 'g' or 'h' (Bricklet Port). A Bricklet connected to an Isolator Bricklet is always as position 'z'.
The device identifier numbers can be found here.