diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2021-10-30 12:05:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-30 12:05:35 +0300 |
commit | a3bf95a25e1547744d9237897e584ad70b39fa2b (patch) | |
tree | 7c9f360e9993aaf4757709b11513f3664a56cd94 | |
parent | ff88bf8b6a95c162082a5da0e598d572d8414c49 (diff) |
Added NuGet instrucrions
-rw-r--r-- | README.md | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -6,6 +6,13 @@ This library controls and monitors [Tuya](https://en.tuya.com/) compatible WiFi Smart Devices (Plugs, Switches, Lights, Window Covers, etc.) using the local area network (LAN). [Tuya](https://en.tuya.com/) devices are designed to communicate with the TuyaCloud but most also expose a local area network API, allowing us to directly control the devices without using the cloud. +## Installation + +You can use NuGet: +``` +PM> Install-Package TuyaNet +``` + ## How communication with Tuya devices works at all Every Tuya device broadcasts to local network UDP packets with short info about itself. This data is encrypted with AES but the encryption key is the same for every device and it can be easily decrypted. This packet is sent every 5 seconds and contains data with a unique **device ID**, device type ID and protocol version. |