title | description |
---|---|
Keen Home SV02 control via MQTT |
Integrate your Keen Home SV02 via Zigbee2MQTT with whatever smart home infrastructure you are using without the vendors bridge or gateway. |
To contribute to this page, edit the following file
| Model | SV02 | | Vendor | Keen Home | | Description | Smart vent | | Supports | open, close, position, temperature, pressure, battery | | Picture | |
How to use device type specific configuration
-
temperature_precision
: Controls the precision oftemperature
values, e.g.0
,1
or2
; default2
. To control the precision based on the temperature value set it to e.g.{30: 0, 10: 1}
, when temperature >= 30 precision will be 0, when temperature >= 10 precision will be 1. -
temperature_calibration
: Allows to manually calibrate temperature values, e.g.1
would add 1 degree to the temperature reported by the device; default0
. -
pressure_precision
: Controls the precision ofpressure
values, e.g.0
or1
; default1
. To control the precision based on the pressure value set it to e.g.{1000: 0, 100: 1}
, when pressure >= 1000 precision will be 0, when pressure >= 100 precision will be 1. -
pressure_calibration
: Allows to manually calibrate pressure values, e.g.1
would add 1 to the pressure reported by the device; default0
.
Although Home Assistant integration through MQTT discovery is preferred, manual integration is possible with the following configuration:
{% raw %}
cover:
- platform: "mqtt"
availability_topic: "zigbee2mqtt/bridge/state"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
value_template: "{{ value_json.position }}"
set_position_template: "{ \"position\": {{ position }} }"
set_position_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
position_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "°C"
value_template: "{{ value_json.temperature }}"
device_class: "temperature"
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "%"
value_template: "{{ value_json.battery }}"
device_class: "battery"
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "hPa"
value_template: "{{ value_json.pressure }}"
device_class: "pressure"
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "lqi"
value_template: "{{ value_json.linkquality }}"
icon: "mdi:signal"
{% endraw %}