mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-04 01:58:57 +00:00
1.9 KiB
1.9 KiB
layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release, ha_iot_class
layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category | ha_release | ha_iot_class |
---|---|---|---|---|---|---|---|---|---|---|---|
page | KNX Sensor | Instructions on how to use the KNX Sensor with Home Assistant. | 2016-08-20 22:24 | true | false | true | true | knx.png | Sensor | 0.29 | Local Push |
The knx
sensor platform allows you to monitor KNX sensors.
The knx
component must be configured correctly, see KNX Component.
There is currently support for the following KNX data point types:
Condition | KNX Datapoint Type | Unit of measurement | Data type |
---|---|---|---|
Temperature | 9.001 | °C | 2 Byte Float |
Speed (Wind speed) | 9.005 | m/s | 2 Byte Float |
Illuminance (Lux) | 9.004 | Lux | 2 Byte Float |
Percentage | 5.001 | % | 1 Byte Scaled Unsigned Integer |
To use your KNX sensor in your installation, add the following to your configuration.yaml
file:
# Example configuration.yaml entry
sensor:
- platform: knx
type: temperature
address: 1/0/3
- platform: knx
name: Wind speed
type: speed_ms
address: 1/0/0
- platform: knx
name: Lux
type: illuminance
address: 1/0/1
- platform: knx
name: percent
type: percentage
address: 1/0/4
Configuration variables:
- type (Required): The type of the sensor. See table above for available options.
- address (Required): The address of the sensor on the bus.
- name (Optional): The name to use in the frontend.
- minimum (Optional): Minimum sensor value - defaults to a hardcoded default value.
- maximum (Optional): Maximum sensor value - defaults to a hardcoded default value.