mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-08 03:59:00 +00:00
35 lines
1.1 KiB
Markdown
35 lines
1.1 KiB
Markdown
---
|
|
layout: page
|
|
title: "EnOcean Binary Sensor"
|
|
description: "Instructions on how to set up EnOcean binary sensors within Home Assistant."
|
|
date: 2016-05-25 23:49
|
|
sidebar: true
|
|
comments: false
|
|
sharing: true
|
|
footer: true
|
|
logo: enocean.png
|
|
ha_category: Binary Sensor
|
|
ha_release: 0.21
|
|
ha_iot_class: "Local Push"
|
|
---
|
|
|
|
This can typically be one of those batteryless wall switches. Currently only one type has been tested: Eltako FT55. Other devices will most likely not work without changing the Home-Asisstant code.
|
|
|
|
|
|
To use your EnOcean device, you first have to set up your [EnOcean hub](/components/enocean/) and then add the following to your `configuration.yaml` file:
|
|
|
|
```yaml
|
|
# Example configuration.yaml entry
|
|
binary_sensor:
|
|
- platform: enocean
|
|
id: [0x01,0x90,0x84,0x3C]
|
|
name: Door
|
|
sensor_class: opening
|
|
```
|
|
|
|
Configuration variables:
|
|
|
|
- **id** (*Required*): The ID of the device. This is the 4 bytes long number written on the dimmer.
|
|
- **name** (*Optional*): An identifier for the Ligh in the frontend.
|
|
- **sensor_class** (*Optional*): The [type/class](/components/binary_sensor/) of the sensor to set the icon in the frontend.
|