Skip to content

Commit 36d087e

Browse files
Matthew Garrettpvizeli
Matthew Garrett
authored andcommitted
Add docs for Avion dimmer switches (home-assistant#1811)
1 parent 5a26743 commit 36d087e

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
layout: page
3+
title: "Avion"
4+
description: "Instructions on how to setup GE Avion Bluetooth dimmers within Home Assistant."
5+
date: 2017-01-17 23:17
6+
sidebar: true
7+
comments: false
8+
sharing: true
9+
footer: true
10+
ha_category: Light
11+
ha_iot_class: "Assumed State"
12+
featured: false
13+
ha_release: 0.37
14+
---
15+
16+
Support for the Avion Bluetooth dimmer switch [Avi-On](http://avi-on.com/). To enable these lights, add the following lines to your `configuration.yaml` file:
17+
18+
```yaml
19+
# Example configuration.yaml entry
20+
light:
21+
- platform: avion
22+
devices:
23+
00:21:4D:00:00:01:
24+
name: Light 1
25+
api_key: Gr35a/rt3RgaRenl9ag8Ba==
26+
00:21:3D:20:00:a1:
27+
name: Bulb 2
28+
api_key: Gr35a/rt3RgaRenl9ag8Ba==
29+
```
30+
31+
Configuration variables:
32+
33+
- **devices**: A list of devices with their bluetooth address, a custom name to use in the frontend and the API key. The API key can be obtained by executing the following command:
34+
35+
```
36+
curl -X POST -H "Content-Type: application/json" -d '{"email": "fakename@example.com", "password": "password"}' https://admin.avi-on.com/api/sessions | jq
37+
```
38+
39+
with the email and password fields replaced with those used when registering the device via the mobile app. The passphrase field of the output should be used as the API key in the configuration.

0 commit comments

Comments
 (0)