mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 00:06:51 +00:00
Minimize configuration sample
This commit is contained in:
parent
f6d059dd9a
commit
ff1fde7d8f
@ -22,12 +22,8 @@ To use this device tracker in your installation, add the following to your `conf
|
|||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
sensor:
|
sensor:
|
||||||
platform: mqtt_room
|
- platform: mqtt_room
|
||||||
device_id: 123testid
|
device_id: 123testid
|
||||||
name: 'Cool device'
|
|
||||||
state_topic: 'room_presence'
|
|
||||||
timeout: 5
|
|
||||||
away_timeout: 60
|
|
||||||
```
|
```
|
||||||
|
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
@ -57,6 +53,8 @@ away_timeout:
|
|||||||
type: integer
|
type: integer
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
|
## {% linkable_title Usage %}
|
||||||
|
|
||||||
Example JSON that should be published to the room topics:
|
Example JSON that should be published to the room topics:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
@ -69,8 +67,7 @@ Example JSON that should be published to the room topics:
|
|||||||
|
|
||||||
### {% linkable_title Setting up clients %}
|
### {% linkable_title Setting up clients %}
|
||||||
|
|
||||||
This component works with any software that is sending data in the given format.
|
This component works with any software that is sending data in the given format. Each client should post the discovered devices in its own subtopic of the configured topic.
|
||||||
Each client should post the discovered devices in its own subtopic of the configured topic.
|
|
||||||
Instead of developing your own application, you can also use any of these already existing clients:
|
Instead of developing your own application, you can also use any of these already existing clients:
|
||||||
|
|
||||||
- [**room-assistant**](https://github.com/mKeRix/room-assistant): looks for Bluetooth LE beacons, based on Node.js
|
- [**room-assistant**](https://github.com/mKeRix/room-assistant): looks for Bluetooth LE beacons, based on Node.js
|
||||||
|
Loading…
x
Reference in New Issue
Block a user