![]() Therefore, you must first connect the devices with an active internet connection, grab each device localkey, and implement the block. If you only block outbound internet, then the device will sit in a zombie state it will refuse / not respond to any connections with the localkey. ![]() NOTE 2: If you plan to integrate these devices on a network that has internet and blocking their internet access, you must also block DNS requests (to the local DNS server, e.g. A good place to start getting info is or. If you choose not to do it, there are several ways to obtain the local_keys depending on your environment and the devices you own. The easiest way is to configure the Cloud API account in the integration. NOTE: You must have your Tuya device's Key and ID in order to use LocalTuya. You may need to create the custom_components folder and then copy the localtuya folder and all of its contents into it. If you are running Home Assistant Supervised, the custom_components folder might be located at /usr/share/hassio/homeassistant. If you are running Hass.io, use SAMBA to copy the folder over. This folder is usually inside your /config folder. ![]() The easiest way, if you are using HACS, is to install LocalTuya through HACS.įor manual installation, copy the localtuya folder and all of its contents into your Home Assistant's custom_components folder. This repository's development began as code from and Their code was then deeply refactored to provide proper integration with Home Assistant environment, adding config flow and other features. The following Tuya device types are currently supported:Įnergy monitoring (voltage, current, watts, etc.) is supported for compatible devices.Ĭurrently, Tuya protocols from 3.1 to 3.4 are supported. Cloud API calls are performed only at startup, and when a local_key update is needed. NOTE: The Cloud API account configuration is not mandatory (LocalTuya can work also without it) but is strongly suggested for easy retrieval (and auto-update after re-pairing a device) of local_keys. The integration also supports the Tuya IoT Cloud APIs, for the retrieval of info and of the local_keys of the devices. This custom integration updates device status via pushing updates instead of polling, so status updates are fast (even when manually operated). A Home Assistant custom Integration for local handling of Tuya-based devices.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |