Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.06 KB

README.org

File metadata and controls

39 lines (28 loc) · 1.06 KB

Tuya-lan

A component to integrate Tuya devices to Home Assistant without relying on Tuya’s servers. It is based on this python library.

Getting Started

Copy __init__.py, manifest.json, sensor.py and switch.py in your Home Assistant configuration folder as below:

.homeassistant
├── automations.yaml
├── configuration.yaml
├── custom_components
│   └── tuya_lan
│       ├── __init__.py
│       ├── manifest.json
│       ├── sensor.py
│       └── switch.py

Add to configuration.yaml:

sensor:
  - platform: tuya_lan
    wifi_ssid: "<your_wifi_ssid>"
    wifi_password: "<your_wifi_password>"

You can get the device_id and the local_key by following this guide.

Contributing

Any pull request is welcome !

License

This project is licensed under the MIT License - see the LICENSE.md file for details.