homebridge-tuya-plus 3.14.0-dev.26 → 3.14.0-dev.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Readme.MD CHANGED
@@ -110,7 +110,7 @@ If you have new accessory logic for a new device, please add a function defined
110
110
 
111
111
  #
112
112
 
113
- Go check out my other Homebridge plugins:
113
+ Check out my other Homebridge plugins:
114
114
 
115
115
  * [homebridge-futurehome](https://github.com/adrianjagielak/homebridge-futurehome) ([npm](https://npmjs.com/package/homebridge-futurehome))
116
116
  * [homebridge-tuya-plus](https://github.com/adrianjagielak/homebridge-tuya-plus) ([npm](https://npmjs.com/package/homebridge-tuya-plus))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homebridge-tuya-plus",
3
- "version": "3.14.0-dev.26",
3
+ "version": "3.14.0-dev.28",
4
4
  "description": "A community-maintained Homebridge plugin for controlling Tuya devices in HomeKit. LAN-first, with an optional Tuya Cloud fallback for any device the LAN can't reach.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -33,11 +33,27 @@ In the project, go to **Service API → Go to Authorize** and make sure these ar
33
33
 
34
34
  Still in the project: **Devices → Link App Account → Add App Account**, then in the **Tuya Smart / Smart Life** app go to **Me → ⊞ (scan icon, top-right)** and scan the QR code. Your irrigation timer should now appear under **Devices → All Devices**.
35
35
 
36
- ## 4. Find the device ID
37
-
38
- **Devices All Devices** → click your device → copy its **Device ID** (a string like `bfae6739…tfx`). (You can also find it in Tuya/Smart Life apps: device → ✎/⚙ → *Device Information*.)
39
-
40
- ---
36
+ ## 4. Configure the plugin
37
+
38
+ Add a **top-level `cloud` block** with your credentials:
39
+
40
+ ```json5
41
+ {
42
+ "platform": "TuyaLan",
43
+ "cloud": {
44
+ "accessId": "your-access-id",
45
+ "accessKey": "your-access-secret",
46
+ "region": "eu", // eu / us / cn / in / sg / eu-w / us-e
47
+ "username": "you@example.com", // your Tuya/Smart Life app login
48
+ "password": "your-app-password",
49
+ "countryCode": "48", // your phone country code (e.g. 1, 44, 48)
50
+ "schema": "tuyaSmart" // or "smartlife" if you use the Smart Life app
51
+ },
52
+ "devices": [
53
+ // ...
54
+ ]
55
+ }
56
+ ```
41
57
 
42
58
  ### Security note
43
59