home-assistant.github.io/source/_components/dyson.markdown
2017-06-15 18:35:19 +02:00

60 lines
1.7 KiB
Markdown

---
layout: page
title: "Dyson"
description: "Instructions how to integrate Dyson into Home Assistant."
date: 2017-05-27 10:00
sidebar: true
comments: false
sharing: true
footer: true
logo: dyson.png
ha_category: Hub
ha_iot_class: "Cloud Polling"
ha_release: 0.47
---
The `dyson` component is the main component to integrate all [Dyson](https://dyson.com) related platforms.
Currently limited to Cool Link Purifier.
To enable this component, add the following lines to your `configuration.yaml`:
```yaml
dyson:
username: <dyson_account_user_email>
password: <dyson_acount_password>
language: <dyson_account_language>
devices:
- device_id: <device_id_1>
device_ip: <device_ip_1>
- device_id: <device_id_2>
device_ip: <device_ip_2>
...
```
Configuration variables:
- **username** (*Required*): Dyson account username (email address)
- **password** (*Required*): Dyson account password
- **language** (*Required*): Dyson account language country code. Known working codes: `FR`, `NL`, `UK`, `AU`. But others codes should work.
- **devices** (*Optional*): List of devices
- **device_id** (*Required*): Device ID. Available in the mobiles applications (*Settings* page)
- **device_ip** (*Required*): Device IP address
`devices` list is optional but you'll have to provide them if discovery is not working (warnings in the logs and the devices are not available in Home Assistant web interface).
To find devices IP address, you can use your router or `nmap`:
```bash
$ nmap -p 1883 XXX.XXX.XXX.XXX/YY -- open
```
Where:
- **XXX.XXX.XXX.XXX** is your network address
- **YY** is your network mask
For example:
```bash
$ nmap -p 1883 192.168.0.0/24 -- open
```