Franck Nijhof 1833c32a2c Cleans up front matter (#9835)
* Sets front matter defaults

* Removes default front matter from section templates/pages

* Removes default front matter from addon pages

* Removes default front matter from integration pages

* Removes default front matter from posts

* Removes default front matter from docs pages

* Removes default front matter from other pages

* Fixes blog category pages
2019-07-11 14:35:08 -07:00

1.7 KiB

title, description, logo, ha_category, ha_release, ha_iot_class, redirect_from
title description logo ha_category ha_release ha_iot_class redirect_from
Eufy Instructions on how to integrate Eufy devices into Home Assistant. eufy.png
Hub
Light
Switch
0.68 Local Polling
/components/light.eufy/
/components/switch.eufy/

The eufy integration is the main integration to integrate various eufy devices with Home Assistant.

There is currently support for the following device types within Home Assistant:

  • Light
  • Switch

Supported devices will be discovered after the eufy integration is configured:

# Example configuration.yaml entry
eufy:
  username: EMAIL_ADDRESS
  password: PASSWORD

where username and password are the ones configured in the EufyHome app. Alternately, Eufy devices that are not discoverable can be statically configured.

eufy:
  devices:
    - address: 192.168.1.10
      access_token: 1234567890abcdef
      type: T1012
      name: Smart Light
    - address: 192.168.1.11
      access_token: abcdef1234567890
      type: T1201
      name: Smart Switch

`access_token can be obtained by running:

$ curl -H "Content-Type: application/json" \
   -d '{"client_id":"eufyhome-app", "client_Secret":"GQCpr9dSp3uQpsOMgJ4xQ", "email":"USERNAME", "password":"PASSWORD"}' \
   https://home-api.eufylife.com/v1/user/email/login

replacing USERNAME and PASSWORD with the Eufy username and password. This will give an access_token. Then run:

$ curl -H token:TOKEN -H category:Home \
   https://home-api.eufylife.com/v1/device/list/devices-and-groups

replacing TOKEN with the access_token from the previous command. This will provide the local_code for each device.