jasonacox / tinytuya

Python API for Tuya WiFi smart devices using a direct local area network (LAN) connection or the cloud (TuyaCloud API).
MIT License
923 stars 165 forks source link

Unsupported T&H device #278

Open christophevielfrederic opened 1 year ago

christophevielfrederic commented 1 year ago

Hi, My T&H sensor is well processed on Tuya mobile app (trademark of the sensor : KSIX). But not recognised on Domoticz. On Device panel i get this message : "This device is not reconised, edit and run the debug_discovery with python from the tools directory and receate a issue report at https://github.com/Xenomes/Domoticz-TinyTUYA-Plugin/issues so the device can be added." So please find dump.json file attached. The concerned device is ; "id": "bf6e4369609b7e32b4aeup",

As i'm novice in this area please be comprehensive in case of i did not provide all mandatory information. regards

dump.json.txt

jasonacox commented 1 year ago

Hi @christophevielfrederic !

Are you able to see the device with TinyTuya?

# make sure you have the local keys
python3 -m tinytuya wizard

# if you have the devices.json file already run
python3 -m tinytuya scan
christophevielfrederic commented 1 year ago

Hi,

==> # make sure you have the local keys API Key= same as "Access ID/Client ID" coming from IOT Tuya Secret= same as "Access Secret/Client Secret:" coming from IOT Tuya DeviceID=bf6e4369609b7e32b4aeup Region=eu ==> # if you have the devices.json file already run.. please find "snapshot.json"

Be aware that the T&H device is pure zigbee (no Wifi)...

Thanks and regards.

Le mer. 8 févr. 2023 à 05:03, Jason Cox @.***> a écrit :

Hi @christophevielfrederic https://github.com/christophevielfrederic !

Are you able to see the device with TinyTuya?

make sure you have the local keys

python3 -m tinytuya wizard

if you have the devices.json file already run

python3 -m tinytuya scan

— Reply to this email directly, view it on GitHub https://github.com/jasonacox/tinytuya/issues/278#issuecomment-1421965137, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV6WWAGGKUMMQQJBLQ5RIILWWMLJPANCNFSM6AAAAAAUUNI6KQ . You are receiving this because you were mentioned.Message ID: @.***>

{ "timestamp": 1675852874.7798893, "devices": [ { "id": "bf95a6938253b5b84c088j", "ip": "192.168.1.4", "active": 2, "ablilty": 0, "encrypt": true, "productKey": "keyfa7hya4gfa7g9", "name": "MINI GATEWAY Zigbee", "key": "a4569c6668c1f856", "mac": "68:57:2d:31:e8:ad", "token": "", "wf_cfg": "", "dev_type": "default", "err": "Unable to poll", "type": "default", "origin": "broadcast", "ver": "3.3" }, { "id": "bfdf9aba6fb0838a7cbzcj", "ip": "192.168.1.180", "active": 2, "ablilty": 0, "encrypt": true, "productKey": "ivxawqwa79yvlwfj", "token": true, "name": "cam\u00e9ra veranda", "key": "6de06caa01dc2b40", "mac": "68:57:2d:4b:ee:ac", "wf_cfg": "", "dev_type": "default", "err": "No response", "origin": "broadcast", "ver": "3.3" }, { "id": "bf6e4369609b7e32b4aeup", "name": "Temp\u00e9rature V\u00e9randa", "key": "a4569c6668c1f856", "mac": "14:b4:57:ff:fe:16:e4:26", "category": "qt", "product_name": "Temp and Hum", "product_id": "p517vogy", "biz_type": 0, "model": "BXSHTEMPZ", "sub": true, "icon": "https://images.tuyaeu.com/smart/icon/1540907310m7lcr25209f_0.png", "uuid": "14b457fffe16e426", "node_id": "14b457fffe16e426", "parent": "bf95a6938253b5b84c088j", "ip": "", "origin": "cloud", "ver": "" } ] }