Bemerkung
Die openHAB-Dokumentation ist nur auf Englisch verfügbar.
Warnung
The openHAB bindings are still in beta, but the development was stopped.
This is the description of the openHAB API bindings for the IO-16 Bricklet 2.0. General information and technical specifications for the IO-16 Bricklet 2.0 are summarized in its hardware description.
An installation guide for the openHAB API bindings is part of their general description.
UID:
- tinkerforge:brickletio16v2:[UID]
Required firmware version:
- 2.0.0
Firmware update supported:
- yes
Channels:
- Input Value 0
- Input Value 1
- Input Value 2
- Input Value 3
- Input Value 4
- Input Value 5
- Input Value 6
- Input Value 7
- Input Value 8
- Input Value 9
- Input Value 10
- Input Value 11
- Input Value 12
- Input Value 13
- Input Value 14
- Input Value 15
- Output Value 0
- Output Value 1
- Output Value 2
- Output Value 3
- Output Value 4
- Output Value 5
- Output Value 6
- Output Value 7
- Output Value 8
- Output Value 9
- Output Value 10
- Output Value 11
- Output Value 12
- Output Value 13
- Output Value 14
- Output Value 15
- Monoflop 0
- Monoflop 1
- Monoflop 2
- Monoflop 3
- Monoflop 4
- Monoflop 5
- Monoflop 6
- Monoflop 7
- Monoflop 8
- Monoflop 9
- Monoflop 10
- Monoflop 11
- Monoflop 12
- Monoflop 13
- Monoflop 14
- Monoflop 15
- Edge Count 0
- Edge Count 1
- Edge Count 2
- Edge Count 3
- Edge Count 4
- Edge Count 5
- Edge Count 6
- Edge Count 7
- Edge Count 8
- Edge Count 9
- Edge Count 10
- Edge Count 11
- Edge Count 12
- Edge Count 13
- Edge Count 14
- Edge Count 15
Actions: Parameters:
- Pin Configuration 0 – Type: Choice, Default: Input with pull-up
- Configures pin 0 as input or output. Inputs without pull-up will be floating if nothing is connected. Outputs can have an initial state of low or high.
- Options: Input with pull-up, Input without pull-up, Output (Initial high), Output (Initial low)
- Pin Configuration 1 – Type: Choice, Default: Input with pull-up
- Configures pin 1 as input or output. Inputs without pull-up will be floating if nothing is connected. Outputs can have an initial state of low or high.
- Options: Input with pull-up, Input without pull-up, Output (Initial high), Output (Initial low)
- Pin Configuration 2 – Type: Choice, Default: Input with pull-up
- Configures pin 2 as input or output. Inputs without pull-up will be floating if nothing is connected. Outputs can have an initial state of low or high.
- Options: Input with pull-up, Input without pull-up, Output (Initial high), Output (Initial low)
- Pin Configuration 3 – Type: Choice, Default: Input with pull-up
- Configures pin 3 as input or output. Inputs without pull-up will be floating if nothing is connected. Outputs can have an initial state of low or high.
- Options: Input with pull-up, Input without pull-up, Output (Initial high), Output (Initial low)
- Pin Configuration 4 – Type: Choice, Default: Input with pull-up
- Configures pin 4 as input or output. Inputs without pull-up will be floating if nothing is connected. Outputs can have an initial state of low or high.
- Options: Input with pull-up, Input without pull-up, Output (Initial high), Output (Initial low)
- Pin Configuration 5 – Type: Choice, Default: Input with pull-up
- Configures pin 5 as input or output. Inputs without pull-up will be floating if nothing is connected. Outputs can have an initial state of low or high.
- Options: Input with pull-up, Input without pull-up, Output (Initial high), Output (Initial low)
- Pin Configuration 6 – Type: Choice, Default: Input with pull-up
- Configures pin 6 as input or output. Inputs without pull-up will be floating if nothing is connected. Outputs can have an initial state of low or high.
- Options: Input with pull-up, Input without pull-up, Output (Initial high), Output (Initial low)
- Pin Configuration 7 – Type: Choice, Default: Input with pull-up
- Configures pin 7 as input or output. Inputs without pull-up will be floating if nothing is connected. Outputs can have an initial state of low or high.
- Options: Input with pull-up, Input without pull-up, Output (Initial high), Output (Initial low)
- Pin Configuration 8 – Type: Choice, Default: Input with pull-up
- Configures pin 8 as input or output. Inputs without pull-up will be floating if nothing is connected. Outputs can have an initial state of low or high.
- Options: Input with pull-up, Input without pull-up, Output (Initial high), Output (Initial low)
- Pin Configuration 9 – Type: Choice, Default: Input with pull-up
- Configures pin 9 as input or output. Inputs without pull-up will be floating if nothing is connected. Outputs can have an initial state of low or high.
- Options: Input with pull-up, Input without pull-up, Output (Initial high), Output (Initial low)
- Pin Configuration 10 – Type: Choice, Default: Input with pull-up
- Configures pin 10 as input or output. Inputs without pull-up will be floating if nothing is connected. Outputs can have an initial state of low or high.
- Options: Input with pull-up, Input without pull-up, Output (Initial high), Output (Initial low)
- Pin Configuration 11 – Type: Choice, Default: Input with pull-up
- Configures pin 11 as input or output. Inputs without pull-up will be floating if nothing is connected. Outputs can have an initial state of low or high.
- Options: Input with pull-up, Input without pull-up, Output (Initial high), Output (Initial low)
- Pin Configuration 12 – Type: Choice, Default: Input with pull-up
- Configures pin 12 as input or output. Inputs without pull-up will be floating if nothing is connected. Outputs can have an initial state of low or high.
- Options: Input with pull-up, Input without pull-up, Output (Initial high), Output (Initial low)
- Pin Configuration 13 – Type: Choice, Default: Input with pull-up
- Configures pin 13 as input or output. Inputs without pull-up will be floating if nothing is connected. Outputs can have an initial state of low or high.
- Options: Input with pull-up, Input without pull-up, Output (Initial high), Output (Initial low)
- Pin Configuration 14 – Type: Choice, Default: Input with pull-up
- Configures pin 14 as input or output. Inputs without pull-up will be floating if nothing is connected. Outputs can have an initial state of low or high.
- Options: Input with pull-up, Input without pull-up, Output (Initial high), Output (Initial low)
- Pin Configuration 15 – Type: Choice, Default: Input with pull-up
- Configures pin 15 as input or output. Inputs without pull-up will be floating if nothing is connected. Outputs can have an initial state of low or high.
- Options: Input with pull-up, Input without pull-up, Output (Initial high), Output (Initial low)
- 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.
- Options: Off, On, Show Heartbeat, Show Status
Input Value 0
¶The logic level that is currently measured on the pin.
Type:
- Contact
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Input0
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 0 is one of Input with pull-up, Input without pull-up.
Parameters:
- Update Interval – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Input Value 1
¶The logic level that is currently measured on the pin.
Type:
- Contact
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Input1
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 1 is one of Input with pull-up, Input without pull-up.
Parameters:
- Update Interval – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Input Value 2
¶The logic level that is currently measured on the pin.
Type:
- Contact
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Input2
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 2 is one of Input with pull-up, Input without pull-up.
Parameters:
- Update Interval – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Input Value 3
¶The logic level that is currently measured on the pin.
Type:
- Contact
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Input3
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 3 is one of Input with pull-up, Input without pull-up.
Parameters:
- Update Interval – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Input Value 4
¶The logic level that is currently measured on the pin.
Type:
- Contact
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Input4
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 4 is one of Input with pull-up, Input without pull-up.
Parameters:
- Update Interval – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Input Value 5
¶The logic level that is currently measured on the pin.
Type:
- Contact
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Input5
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 5 is one of Input with pull-up, Input without pull-up.
Parameters:
- Update Interval – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Input Value 6
¶The logic level that is currently measured on the pin.
Type:
- Contact
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Input6
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 6 is one of Input with pull-up, Input without pull-up.
Parameters:
- Update Interval – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Input Value 7
¶The logic level that is currently measured on the pin.
Type:
- Contact
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Input7
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 7 is one of Input with pull-up, Input without pull-up.
Parameters:
- Update Interval – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Input Value 8
¶The logic level that is currently measured on the pin.
Type:
- Contact
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Input8
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 8 is one of Input with pull-up, Input without pull-up.
Parameters:
- Update Interval – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Input Value 9
¶The logic level that is currently measured on the pin.
Type:
- Contact
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Input9
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 9 is one of Input with pull-up, Input without pull-up.
Parameters:
- Update Interval – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Input Value 10
¶The logic level that is currently measured on the pin.
Type:
- Contact
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Input10
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 10 is one of Input with pull-up, Input without pull-up.
Parameters:
- Update Interval – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Input Value 11
¶The logic level that is currently measured on the pin.
Type:
- Contact
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Input11
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 11 is one of Input with pull-up, Input without pull-up.
Parameters:
- Update Interval – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Input Value 12
¶The logic level that is currently measured on the pin.
Type:
- Contact
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Input12
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 12 is one of Input with pull-up, Input without pull-up.
Parameters:
- Update Interval – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Input Value 13
¶The logic level that is currently measured on the pin.
Type:
- Contact
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Input13
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 13 is one of Input with pull-up, Input without pull-up.
Parameters:
- Update Interval – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Input Value 14
¶The logic level that is currently measured on the pin.
Type:
- Contact
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Input14
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 14 is one of Input with pull-up, Input without pull-up.
Parameters:
- Update Interval – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Input Value 15
¶The logic level that is currently measured on the pin.
Type:
- Contact
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Input15
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 15 is one of Input with pull-up, Input without pull-up.
Parameters:
- Update Interval – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Output Value 0
¶The logic level that is currently set on the pin.
Type:
- Switch
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Output0
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 0 is one of Output (Initial high), Output (Initial low).
Output Value 1
¶The logic level that is currently set on the pin.
Type:
- Switch
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Output1
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 1 is one of Output (Initial high), Output (Initial low).
Output Value 2
¶The logic level that is currently set on the pin.
Type:
- Switch
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Output2
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 2 is one of Output (Initial high), Output (Initial low).
Output Value 3
¶The logic level that is currently set on the pin.
Type:
- Switch
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Output3
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 3 is one of Output (Initial high), Output (Initial low).
Output Value 4
¶The logic level that is currently set on the pin.
Type:
- Switch
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Output4
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 4 is one of Output (Initial high), Output (Initial low).
Output Value 5
¶The logic level that is currently set on the pin.
Type:
- Switch
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Output5
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 5 is one of Output (Initial high), Output (Initial low).
Output Value 6
¶The logic level that is currently set on the pin.
Type:
- Switch
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Output6
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 6 is one of Output (Initial high), Output (Initial low).
Output Value 7
¶The logic level that is currently set on the pin.
Type:
- Switch
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Output7
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 7 is one of Output (Initial high), Output (Initial low).
Output Value 8
¶The logic level that is currently set on the pin.
Type:
- Switch
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Output8
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 8 is one of Output (Initial high), Output (Initial low).
Output Value 9
¶The logic level that is currently set on the pin.
Type:
- Switch
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Output9
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 9 is one of Output (Initial high), Output (Initial low).
Output Value 10
¶The logic level that is currently set on the pin.
Type:
- Switch
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Output10
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 10 is one of Output (Initial high), Output (Initial low).
Output Value 11
¶The logic level that is currently set on the pin.
Type:
- Switch
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Output11
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 11 is one of Output (Initial high), Output (Initial low).
Output Value 12
¶The logic level that is currently set on the pin.
Type:
- Switch
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Output12
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 12 is one of Output (Initial high), Output (Initial low).
Output Value 13
¶The logic level that is currently set on the pin.
Type:
- Switch
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Output13
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 13 is one of Output (Initial high), Output (Initial low).
Output Value 14
¶The logic level that is currently set on the pin.
Type:
- Switch
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Output14
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 14 is one of Output (Initial high), Output (Initial low).
Output Value 15
¶The logic level that is currently set on the pin.
Type:
- Switch
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Output15
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 15 is one of Output (Initial high), Output (Initial low).
Monoflop 0
¶Triggers a monoflop as configured.
Type:
- Commands (String)
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Monoflop0
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 0 is one of Output (Initial high), Output (Initial low).
Commands:
- Accepts any string
Parameters:
- Monoflop Duration – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- The time that the pin should hold the configured value.
- Monoflop Value – Type: boolean, Default: true
- The desired value of the pin.
Monoflop 1
¶Triggers a monoflop as configured.
Type:
- Commands (String)
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Monoflop1
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 1 is one of Output (Initial high), Output (Initial low).
Commands:
- Accepts any string
Parameters:
- Monoflop Duration – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- The time that the pin should hold the configured value.
- Monoflop Value – Type: boolean, Default: true
- The desired value of the pin.
Monoflop 2
¶Triggers a monoflop as configured.
Type:
- Commands (String)
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Monoflop2
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 2 is one of Output (Initial high), Output (Initial low).
Commands:
- Accepts any string
Parameters:
- Monoflop Duration – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- The time that the pin should hold the configured value.
- Monoflop Value – Type: boolean, Default: true
- The desired value of the pin.
Monoflop 3
¶Triggers a monoflop as configured.
Type:
- Commands (String)
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Monoflop3
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 3 is one of Output (Initial high), Output (Initial low).
Commands:
- Accepts any string
Parameters:
- Monoflop Duration – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- The time that the pin should hold the configured value.
- Monoflop Value – Type: boolean, Default: true
- The desired value of the pin.
Monoflop 4
¶Triggers a monoflop as configured.
Type:
- Commands (String)
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Monoflop4
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 4 is one of Output (Initial high), Output (Initial low).
Commands:
- Accepts any string
Parameters:
- Monoflop Duration – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- The time that the pin should hold the configured value.
- Monoflop Value – Type: boolean, Default: true
- The desired value of the pin.
Monoflop 5
¶Triggers a monoflop as configured.
Type:
- Commands (String)
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Monoflop5
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 5 is one of Output (Initial high), Output (Initial low).
Commands:
- Accepts any string
Parameters:
- Monoflop Duration – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- The time that the pin should hold the configured value.
- Monoflop Value – Type: boolean, Default: true
- The desired value of the pin.
Monoflop 6
¶Triggers a monoflop as configured.
Type:
- Commands (String)
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Monoflop6
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 6 is one of Output (Initial high), Output (Initial low).
Commands:
- Accepts any string
Parameters:
- Monoflop Duration – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- The time that the pin should hold the configured value.
- Monoflop Value – Type: boolean, Default: true
- The desired value of the pin.
Monoflop 7
¶Triggers a monoflop as configured.
Type:
- Commands (String)
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Monoflop7
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 7 is one of Output (Initial high), Output (Initial low).
Commands:
- Accepts any string
Parameters:
- Monoflop Duration – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- The time that the pin should hold the configured value.
- Monoflop Value – Type: boolean, Default: true
- The desired value of the pin.
Monoflop 8
¶Triggers a monoflop as configured.
Type:
- Commands (String)
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Monoflop8
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 8 is one of Output (Initial high), Output (Initial low).
Commands:
- Accepts any string
Parameters:
- Monoflop Duration – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- The time that the pin should hold the configured value.
- Monoflop Value – Type: boolean, Default: true
- The desired value of the pin.
Monoflop 9
¶Triggers a monoflop as configured.
Type:
- Commands (String)
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Monoflop9
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 9 is one of Output (Initial high), Output (Initial low).
Commands:
- Accepts any string
Parameters:
- Monoflop Duration – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- The time that the pin should hold the configured value.
- Monoflop Value – Type: boolean, Default: true
- The desired value of the pin.
Monoflop 10
¶Triggers a monoflop as configured.
Type:
- Commands (String)
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Monoflop10
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 10 is one of Output (Initial high), Output (Initial low).
Commands:
- Accepts any string
Parameters:
- Monoflop Duration – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- The time that the pin should hold the configured value.
- Monoflop Value – Type: boolean, Default: true
- The desired value of the pin.
Monoflop 11
¶Triggers a monoflop as configured.
Type:
- Commands (String)
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Monoflop11
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 11 is one of Output (Initial high), Output (Initial low).
Commands:
- Accepts any string
Parameters:
- Monoflop Duration – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- The time that the pin should hold the configured value.
- Monoflop Value – Type: boolean, Default: true
- The desired value of the pin.
Monoflop 12
¶Triggers a monoflop as configured.
Type:
- Commands (String)
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Monoflop12
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 12 is one of Output (Initial high), Output (Initial low).
Commands:
- Accepts any string
Parameters:
- Monoflop Duration – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- The time that the pin should hold the configured value.
- Monoflop Value – Type: boolean, Default: true
- The desired value of the pin.
Monoflop 13
¶Triggers a monoflop as configured.
Type:
- Commands (String)
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Monoflop13
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 13 is one of Output (Initial high), Output (Initial low).
Commands:
- Accepts any string
Parameters:
- Monoflop Duration – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- The time that the pin should hold the configured value.
- Monoflop Value – Type: boolean, Default: true
- The desired value of the pin.
Monoflop 14
¶Triggers a monoflop as configured.
Type:
- Commands (String)
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Monoflop14
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 14 is one of Output (Initial high), Output (Initial low).
Commands:
- Accepts any string
Parameters:
- Monoflop Duration – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- The time that the pin should hold the configured value.
- Monoflop Value – Type: boolean, Default: true
- The desired value of the pin.
Monoflop 15
¶Triggers a monoflop as configured.
Type:
- Commands (String)
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2Monoflop15
Read only:
- No
Predicate:
- This channel will only be available if Pin Configuration 15 is one of Output (Initial high), Output (Initial low).
Commands:
- Accepts any string
Parameters:
- Monoflop Duration – Type: integer, Default: 1000, Unit: ms, Min: 0, Max: 4294967295
- The time that the pin should hold the configured value.
- Monoflop Value – Type: boolean, Default: true
- The desired value of the pin.
Edge Count 0
¶The current value of the edge counter of the pin.
This channel will only update after the configured update interval, not on changed values.
Type:
- Number:Dimensionless
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2EdgeCount0
Read only:
- Yes
Predicate:
- This channel will only be available if Pin Configuration 0 is one of Input with pull-up, Input without pull-up.
Parameters:
- Edge Type – Type: Choice, Default: Rising
- Configures if rising edges, falling edges or both are counted.
- Options: Rising, Falling, Both
- Debounce Time – Type: integer, Default: 100, Min: 0, Max: 255
- The debounce time is the minimum time between two count increments.
- Reset Edge Counter On Update – Type: boolean, Default: false
- Enabling this will reset the edge counter after openHAB reads its value. Use this if you want relative counts per update.
- Update Interval – Type: integer, Default: 1000, Unit: ms
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Edge Count 1
¶The current value of the edge counter of the pin.
This channel will only update after the configured update interval, not on changed values.
Type:
- Number:Dimensionless
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2EdgeCount1
Read only:
- Yes
Predicate:
- This channel will only be available if Pin Configuration 1 is one of Input with pull-up, Input without pull-up.
Parameters:
- Edge Type – Type: Choice, Default: Rising
- Configures if rising edges, falling edges or both are counted.
- Options: Rising, Falling, Both
- Debounce Time – Type: integer, Default: 100, Min: 0, Max: 255
- The debounce time is the minimum time between two count increments.
- Reset Edge Counter On Update – Type: boolean, Default: false
- Enabling this will reset the edge counter after openHAB reads its value. Use this if you want relative counts per update.
- Update Interval – Type: integer, Default: 1000, Unit: ms
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Edge Count 2
¶The current value of the edge counter of the pin.
This channel will only update after the configured update interval, not on changed values.
Type:
- Number:Dimensionless
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2EdgeCount2
Read only:
- Yes
Predicate:
- This channel will only be available if Pin Configuration 2 is one of Input with pull-up, Input without pull-up.
Parameters:
- Edge Type – Type: Choice, Default: Rising
- Configures if rising edges, falling edges or both are counted.
- Options: Rising, Falling, Both
- Debounce Time – Type: integer, Default: 100, Min: 0, Max: 255
- The debounce time is the minimum time between two count increments.
- Reset Edge Counter On Update – Type: boolean, Default: false
- Enabling this will reset the edge counter after openHAB reads its value. Use this if you want relative counts per update.
- Update Interval – Type: integer, Default: 1000, Unit: ms
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Edge Count 3
¶The current value of the edge counter of the pin.
This channel will only update after the configured update interval, not on changed values.
Type:
- Number:Dimensionless
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2EdgeCount3
Read only:
- Yes
Predicate:
- This channel will only be available if Pin Configuration 3 is one of Input with pull-up, Input without pull-up.
Parameters:
- Edge Type – Type: Choice, Default: Rising
- Configures if rising edges, falling edges or both are counted.
- Options: Rising, Falling, Both
- Debounce Time – Type: integer, Default: 100, Min: 0, Max: 255
- The debounce time is the minimum time between two count increments.
- Reset Edge Counter On Update – Type: boolean, Default: false
- Enabling this will reset the edge counter after openHAB reads its value. Use this if you want relative counts per update.
- Update Interval – Type: integer, Default: 1000, Unit: ms
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Edge Count 4
¶The current value of the edge counter of the pin.
This channel will only update after the configured update interval, not on changed values.
Type:
- Number:Dimensionless
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2EdgeCount4
Read only:
- Yes
Predicate:
- This channel will only be available if Pin Configuration 4 is one of Input with pull-up, Input without pull-up.
Parameters:
- Edge Type – Type: Choice, Default: Rising
- Configures if rising edges, falling edges or both are counted.
- Options: Rising, Falling, Both
- Debounce Time – Type: integer, Default: 100, Min: 0, Max: 255
- The debounce time is the minimum time between two count increments.
- Reset Edge Counter On Update – Type: boolean, Default: false
- Enabling this will reset the edge counter after openHAB reads its value. Use this if you want relative counts per update.
- Update Interval – Type: integer, Default: 1000, Unit: ms
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Edge Count 5
¶The current value of the edge counter of the pin.
This channel will only update after the configured update interval, not on changed values.
Type:
- Number:Dimensionless
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2EdgeCount5
Read only:
- Yes
Predicate:
- This channel will only be available if Pin Configuration 5 is one of Input with pull-up, Input without pull-up.
Parameters:
- Edge Type – Type: Choice, Default: Rising
- Configures if rising edges, falling edges or both are counted.
- Options: Rising, Falling, Both
- Debounce Time – Type: integer, Default: 100, Min: 0, Max: 255
- The debounce time is the minimum time between two count increments.
- Reset Edge Counter On Update – Type: boolean, Default: false
- Enabling this will reset the edge counter after openHAB reads its value. Use this if you want relative counts per update.
- Update Interval – Type: integer, Default: 1000, Unit: ms
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Edge Count 6
¶The current value of the edge counter of the pin.
This channel will only update after the configured update interval, not on changed values.
Type:
- Number:Dimensionless
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2EdgeCount6
Read only:
- Yes
Predicate:
- This channel will only be available if Pin Configuration 6 is one of Input with pull-up, Input without pull-up.
Parameters:
- Edge Type – Type: Choice, Default: Rising
- Configures if rising edges, falling edges or both are counted.
- Options: Rising, Falling, Both
- Debounce Time – Type: integer, Default: 100, Min: 0, Max: 255
- The debounce time is the minimum time between two count increments.
- Reset Edge Counter On Update – Type: boolean, Default: false
- Enabling this will reset the edge counter after openHAB reads its value. Use this if you want relative counts per update.
- Update Interval – Type: integer, Default: 1000, Unit: ms
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Edge Count 7
¶The current value of the edge counter of the pin.
This channel will only update after the configured update interval, not on changed values.
Type:
- Number:Dimensionless
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2EdgeCount7
Read only:
- Yes
Predicate:
- This channel will only be available if Pin Configuration 7 is one of Input with pull-up, Input without pull-up.
Parameters:
- Edge Type – Type: Choice, Default: Rising
- Configures if rising edges, falling edges or both are counted.
- Options: Rising, Falling, Both
- Debounce Time – Type: integer, Default: 100, Min: 0, Max: 255
- The debounce time is the minimum time between two count increments.
- Reset Edge Counter On Update – Type: boolean, Default: false
- Enabling this will reset the edge counter after openHAB reads its value. Use this if you want relative counts per update.
- Update Interval – Type: integer, Default: 1000, Unit: ms
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Edge Count 8
¶The current value of the edge counter of the pin.
This channel will only update after the configured update interval, not on changed values.
Type:
- Number:Dimensionless
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2EdgeCount8
Read only:
- Yes
Predicate:
- This channel will only be available if Pin Configuration 8 is one of Input with pull-up, Input without pull-up.
Parameters:
- Edge Type – Type: Choice, Default: Rising
- Configures if rising edges, falling edges or both are counted.
- Options: Rising, Falling, Both
- Debounce Time – Type: integer, Default: 100, Min: 0, Max: 255
- The debounce time is the minimum time between two count increments.
- Reset Edge Counter On Update – Type: boolean, Default: false
- Enabling this will reset the edge counter after openHAB reads its value. Use this if you want relative counts per update.
- Update Interval – Type: integer, Default: 1000, Unit: ms
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Edge Count 9
¶The current value of the edge counter of the pin.
This channel will only update after the configured update interval, not on changed values.
Type:
- Number:Dimensionless
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2EdgeCount9
Read only:
- Yes
Predicate:
- This channel will only be available if Pin Configuration 9 is one of Input with pull-up, Input without pull-up.
Parameters:
- Edge Type – Type: Choice, Default: Rising
- Configures if rising edges, falling edges or both are counted.
- Options: Rising, Falling, Both
- Debounce Time – Type: integer, Default: 100, Min: 0, Max: 255
- The debounce time is the minimum time between two count increments.
- Reset Edge Counter On Update – Type: boolean, Default: false
- Enabling this will reset the edge counter after openHAB reads its value. Use this if you want relative counts per update.
- Update Interval – Type: integer, Default: 1000, Unit: ms
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Edge Count 10
¶The current value of the edge counter of the pin.
This channel will only update after the configured update interval, not on changed values.
Type:
- Number:Dimensionless
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2EdgeCount10
Read only:
- Yes
Predicate:
- This channel will only be available if Pin Configuration 10 is one of Input with pull-up, Input without pull-up.
Parameters:
- Edge Type – Type: Choice, Default: Rising
- Configures if rising edges, falling edges or both are counted.
- Options: Rising, Falling, Both
- Debounce Time – Type: integer, Default: 100, Min: 0, Max: 255
- The debounce time is the minimum time between two count increments.
- Reset Edge Counter On Update – Type: boolean, Default: false
- Enabling this will reset the edge counter after openHAB reads its value. Use this if you want relative counts per update.
- Update Interval – Type: integer, Default: 1000, Unit: ms
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Edge Count 11
¶The current value of the edge counter of the pin.
This channel will only update after the configured update interval, not on changed values.
Type:
- Number:Dimensionless
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2EdgeCount11
Read only:
- Yes
Predicate:
- This channel will only be available if Pin Configuration 11 is one of Input with pull-up, Input without pull-up.
Parameters:
- Edge Type – Type: Choice, Default: Rising
- Configures if rising edges, falling edges or both are counted.
- Options: Rising, Falling, Both
- Debounce Time – Type: integer, Default: 100, Min: 0, Max: 255
- The debounce time is the minimum time between two count increments.
- Reset Edge Counter On Update – Type: boolean, Default: false
- Enabling this will reset the edge counter after openHAB reads its value. Use this if you want relative counts per update.
- Update Interval – Type: integer, Default: 1000, Unit: ms
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Edge Count 12
¶The current value of the edge counter of the pin.
This channel will only update after the configured update interval, not on changed values.
Type:
- Number:Dimensionless
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2EdgeCount12
Read only:
- Yes
Predicate:
- This channel will only be available if Pin Configuration 12 is one of Input with pull-up, Input without pull-up.
Parameters:
- Edge Type – Type: Choice, Default: Rising
- Configures if rising edges, falling edges or both are counted.
- Options: Rising, Falling, Both
- Debounce Time – Type: integer, Default: 100, Min: 0, Max: 255
- The debounce time is the minimum time between two count increments.
- Reset Edge Counter On Update – Type: boolean, Default: false
- Enabling this will reset the edge counter after openHAB reads its value. Use this if you want relative counts per update.
- Update Interval – Type: integer, Default: 1000, Unit: ms
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Edge Count 13
¶The current value of the edge counter of the pin.
This channel will only update after the configured update interval, not on changed values.
Type:
- Number:Dimensionless
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2EdgeCount13
Read only:
- Yes
Predicate:
- This channel will only be available if Pin Configuration 13 is one of Input with pull-up, Input without pull-up.
Parameters:
- Edge Type – Type: Choice, Default: Rising
- Configures if rising edges, falling edges or both are counted.
- Options: Rising, Falling, Both
- Debounce Time – Type: integer, Default: 100, Min: 0, Max: 255
- The debounce time is the minimum time between two count increments.
- Reset Edge Counter On Update – Type: boolean, Default: false
- Enabling this will reset the edge counter after openHAB reads its value. Use this if you want relative counts per update.
- Update Interval – Type: integer, Default: 1000, Unit: ms
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Edge Count 14
¶The current value of the edge counter of the pin.
This channel will only update after the configured update interval, not on changed values.
Type:
- Number:Dimensionless
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2EdgeCount14
Read only:
- Yes
Predicate:
- This channel will only be available if Pin Configuration 14 is one of Input with pull-up, Input without pull-up.
Parameters:
- Edge Type – Type: Choice, Default: Rising
- Configures if rising edges, falling edges or both are counted.
- Options: Rising, Falling, Both
- Debounce Time – Type: integer, Default: 100, Min: 0, Max: 255
- The debounce time is the minimum time between two count increments.
- Reset Edge Counter On Update – Type: boolean, Default: false
- Enabling this will reset the edge counter after openHAB reads its value. Use this if you want relative counts per update.
- Update Interval – Type: integer, Default: 1000, Unit: ms
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
Edge Count 15
¶The current value of the edge counter of the pin.
This channel will only update after the configured update interval, not on changed values.
Type:
- Number:Dimensionless
UID:
- tinkerforge:brickletio16v2:[UID]:BrickletIO16V2EdgeCount15
Read only:
- Yes
Predicate:
- This channel will only be available if Pin Configuration 15 is one of Input with pull-up, Input without pull-up.
Parameters:
- Edge Type – Type: Choice, Default: Rising
- Configures if rising edges, falling edges or both are counted.
- Options: Rising, Falling, Both
- Debounce Time – Type: integer, Default: 100, Min: 0, Max: 255
- The debounce time is the minimum time between two count increments.
- Reset Edge Counter On Update – Type: boolean, Default: false
- Enabling this will reset the edge counter after openHAB reads its value. Use this if you want relative counts per update.
- Update Interval – Type: integer, Default: 1000, Unit: ms
- Specifies the update interval in milliseconds. A value of 0 disables automatic updates.
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:brickletio16v2:[UID]")
val hwVersion = actions.brickletIO16V2GetIdentity().get("hardwareVersion") as short[]
logInfo("Example", "Hardware version: " + hwVersion.get(0) + "." + hwVersion.get(1) + "." + hwVersion.get(2))
brickletIO16V2SetValue
(boolean[] value)¶Parameters: |
|
---|
Sets the output value of all sixteen channels. A value of true or false outputs logic 1 or logic 0 respectively on the corresponding channel.
Use Output Value 0
to change only one output channel state.
For example: (True, True, False, False, ..., False) will turn the channels 0-1 high and the channels 2-15 low.
All running monoflop timers will be aborted if this function is called.
Bemerkung
This function does nothing for channels that are configured as input. Pull-up resistors can be switched on with the thing configuration.
brickletIO16V2SetSelectedValue
(int channel, boolean value)¶Parameters: |
|
---|
Sets the output value of a specific channel without affecting the other channels.
A running monoflop timer for the specific channel will be aborted if this function is called.
Bemerkung
This function does nothing for channels that are configured as input. Pull-up resistors can be switched on with the thing configuration.
brickletIO16V2GetValue
()¶Return Map: |
|
---|
Returns the logic levels that are currently measured on the channels. This function works if the channel is configured as input as well as if it is configured as output.
brickletIO16V2GetConfiguration
(int channel)¶Parameters: |
|
---|---|
Return Map: |
|
Returns the channel configuration as set by the thing configuration.
The following constants are available for this function:
For direction:
brickletIO16V2SetMonoflop
(int channel, boolean value, long time)¶Parameters: |
|
---|
Configures a monoflop of the specified channel.
The second parameter is the desired value of the specified channel. A true means relay closed and a false means relay open.
The third parameter indicates the time that the channels should hold the value.
If this function is called with the parameters (0, 1, 1500) channel 0 will close and in 1.5s channel 0 will open again
A monoflop can be used as a fail-safe mechanism. For example: Lets assume you have a RS485 bus and a IO-16 Bricklet 2.0 connected to one of the slave stacks. You can now call this function every second, with a time parameter of two seconds and channel 0 closed. Channel 0 will be closed all the time. If now the RS485 connection is lost, then channel 0 will be opened in at most two seconds.
brickletIO16V2GetEdgeCount
(int channel, boolean resetCounter)¶Parameters: |
|
---|---|
Return Map: |
|
Returns the current value of the edge counter for the selected channel. You can
configure the edges that are counted with the configuration of Edge Count 0
.
If you set the reset counter to true, the count is set back to 0 directly after it is read.
brickletIO16V2GetMonoflop
(int channel)¶Parameters: |
|
---|---|
Return Map: |
|
Returns (for the given channel) the current value and the time as set by
Monoflop 0
as well as the remaining time until the value flips.
If the timer is not running currently, the remaining time will be returned as 0.
brickletIO16V2GetEdgeCountConfiguration
(int channel)¶Parameters: |
|
---|---|
Return Map: |
|
Returns the edge type and debounce time for the selected channel as set by
the configuration of Edge Count 0
.
The following constants are available for this function:
For edgeType:
brickletIO16V2GetChipTemperature
()¶Return Map: |
|
---|
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.
brickletIO16V2GetStatusLEDConfig
()¶Return Map: |
|
---|
Returns the configuration as set by the thing configuration
The following constants are available for this function:
For config:
brickletIO16V2GetSPITFPErrorCount
()¶Return Map: |
|
---|
Returns the error count for the communication between Brick and Bricklet.
The errors are divided into
The errors counts are for errors that occur on the Bricklet side. All Bricks have a similar function that returns the errors on the Brick side.
brickletIO16V2Reset
()¶Calling this function will reset the Bricklet. All configurations will be lost.
After a reset you have to create new device objects, calling functions on the existing ones will result in undefined behavior!
brickletIO16V2GetIdentity
()¶Return Map: |
|
---|
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 at position 'z'.
The device identifier numbers can be found here.