Skip to content

Commit

Permalink
Update list of system default channel types
Browse files Browse the repository at this point in the history
Related to openhab/openhab-core#2069
Related to openhab/openhab-core#2157

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
  • Loading branch information
cweitkamp authored Jan 26, 2021
1 parent 3a54d1f commit 237be14
Showing 1 changed file with 22 additions and 21 deletions.
43 changes: 22 additions & 21 deletions developers/bindings/thing-xml.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,27 +125,28 @@ The following XML snippet shows a system channel type definition and thing type

There exist system-wide channel types that are available by default:

| Channel Type ID | Reference typeId | Item Type | Category | Description |
|----------------------|-----------------------------|----------------------|------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| signal-strength | system.signal-strength | Number | QualityOfService | Represents signal strength of a device as a Number with values 0, 1, 2, 3 or 4; 0 being worst strength and 4 being best strength. |
| low-battery | system.low-battery | Switch | Battery | Represents a low battery warning with possible values on (low battery) and off (battery ok). |
| battery-level | system.battery-level | Number | Battery | Represents the battery level as a percentage (0-100%). Bindings for things supporting battery level in a different format (e.g. 4 levels) should convert to a percentage to provide a consistent battery level reading. |
| power | system.power | Switch | - | Turn a device on/off. |
| brightness | system.brightness | Dimmer | Light | Brightness of a bulb (0-100%). |
| color | system.color | Color | ColorLight | Color of a bulb. |
| color-temperature | system.color-temperature | Dimmer | ColorLight | Color temperature of a bulb (0-100%). 0% should be the coldest setting (highest Kelvin value). |
| location | system.location | Location | - | Location in lat.,lon.,height coordinates. |
| motion | system.motion | Switch | Motion | Motion detected by the device (ON if motion is detected). |
| mute | system.mute | Switch | SoundVolume | Turn on/off the volume of a device. |
| volume | system.volume | Dimmer | SoundVolume | Change the sound volume of a device (0-100%). |
| media-control | system.media-control | Player | MediaControl | Control for a media player. |
| media-title | system.media-title | String | - | Title of a (played) media file. |
| media-artist | system.media-artist | String | - | Artist of a (played) media file. |
| outdoor-temperature | system.outdoor-temperature | Number:Temperature | Temperature | Current outdoor temperature. |
| wind-direction | system.wind-direction | Number:Angle | Wind | Wind direction in degrees (0-360°). |
| wind-speed | system.wind-speed | Number:Speed | Wind | Wind speed |
| atmospheric-humidity | system.atmospheric-humidity | Number:Dimensionless | Humidity | Atmospheric humidity in percent. |
| barometric-pressure | system.barometric-pressure | Number:Pressure | Pressure | Barometric pressure |
| Channel Type ID | Reference typeId | Item Type | Category | Description |
|-----------------------|------------------------------|----------------------|------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| signal-strength | system.signal-strength | Number | QualityOfService | Represents signal strength of a device as a Number with values 0, 1, 2, 3 or 4; 0 being worst strength and 4 being best strength. |
| low-battery | system.low-battery | Switch | LowBattery | Represents a low battery warning with possible values on (low battery) and off (battery ok). |
| battery-level | system.battery-level | Number | Battery | Represents the battery level as a percentage (0-100%). Bindings for things supporting battery level in a different format (e.g. 4 levels) should convert to a percentage to provide a consistent battery level reading. |
| power | system.power | Switch | Switch | Turn a device on/off. |
| brightness | system.brightness | Dimmer | Light | Brightness of a bulb (0-100%). |
| color | system.color | Color | ColorLight | Color of a bulb. |
| color-temperature | system.color-temperature | Dimmer | ColorLight | Color temperature of a bulb (0-100%). 0% should be the coldest setting (highest Kelvin value), 100 the warmest. |
| color-temperature-abs | system.color-temperature-abs | Number | ColorLight | Color temperature of a bulb in Kelvin (1000K-10000K). |
| location | system.location | Location | - | Location in lat.,lon.,height coordinates. |
| motion | system.motion | Switch | Motion | Motion detected by the device (ON if motion is detected). |
| mute | system.mute | Switch | SoundVolume | Turn on/off the volume of a device. |
| volume | system.volume | Dimmer | SoundVolume | Change the sound volume of a device (0-100%). |
| media-control | system.media-control | Player | MediaControl | Control for a media player. |
| media-title | system.media-title | String | - | Title of a (played) media file. |
| media-artist | system.media-artist | String | - | Artist of a (played) media file. |
| outdoor-temperature | system.outdoor-temperature | Number:Temperature | Temperature | Current outdoor temperature. |
| wind-direction | system.wind-direction | Number:Angle | Wind | Wind direction in degrees (0-360°). |
| wind-speed | system.wind-speed | Number:Speed | Wind | Wind speed |
| atmospheric-humidity | system.atmospheric-humidity | Number:Dimensionless | Humidity | Atmospheric humidity in percent. |
| barometric-pressure | system.barometric-pressure | Number:Pressure | Pressure | Barometric pressure |

For further information about categories see the [categories page](../../concepts/categories.html).

Expand Down

0 comments on commit 237be14

Please sign in to comment.