Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/tuyanet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2021-10-30 12:05:35 +0300
committerGitHub <noreply@github.com>2021-10-30 12:05:35 +0300
commita3bf95a25e1547744d9237897e584ad70b39fa2b (patch)
tree7c9f360e9993aaf4757709b11513f3664a56cd94
parentff88bf8b6a95c162082a5da0e598d572d8414c49 (diff)
Added NuGet instrucrions
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index 3837bde..765494c 100644
--- a/README.md
+++ b/README.md
@@ -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.