vinodsr / node-red-contrib-tuya-smart-device

a node-red module for managing tuya smart devices
https://flows.nodered.org/node/node-red-contrib-tuya-smart-device
MIT License
47 stars 15 forks source link

Feature: Instructions for getting the device id #65

Closed Matten-Matten closed 3 years ago

Matten-Matten commented 3 years ago
  1. open: https://iot.tuya.com/index/ and LogIn
  2. -> Cloud
  3. -> API Explorer (https://iot.tuya.com/cloud/explorer)
  4. ->Data Center: Europe
  5. -> Get device details
  6. -> insert device_id
  7. -> submit request

"ta...da..."

the local_key!

{
  "result": {
    "active_time": ,
    "biz_type": ,
    "category": "",
    "create_time": ,
    "icon": "smart/icon/....jpg",
    "id": "",
    "ip": "",
    "lat": "",
->  "local_key": "xxxxxxxxx",
    "lon": "",
    "name": "",
    "online": true,
    "owner_id": "",
    "product_id": "",
    "product_name": "",
    "status": [],
    "sub": ,
    "time_zone": "",
    "uid": "",
    "update_time": ,
    "uuid": ""
  },
  "success": true,
  "t": 
}

datacenter datacenter 2

Gruß Matten Matten

vinodsr commented 3 years ago

Can you please submit this as a PR.