Xenomes / Domoticz-TUYA-Plugin

Implements the special Tuya Home Assistant API.
22 stars 8 forks source link

no devices detected #10

Closed GAUTIER44530 closed 2 years ago

GAUTIER44530 commented 3 years ago

Hello, none of my devices added, there is no error in the log. can you help me ?

image

Xenomes commented 3 years ago

The device count is 0, so there are no devices in your account or there is somting wrong. Please configure and run the debug_discovery.py from the tools directory and post the json output here.

GAUTIER44530 commented 3 years ago

hello, here is the screenshot. Thank you for your help

image

Xenomes commented 3 years ago

that is not good, it is a Python script, please rerun as python3 ./debug_discovery.py also I see the tuyaha folder in the plugin map please remove and use the install guide for correct install.

GAUTIER44530 commented 3 years ago

hello, here is the result

image

Xenomes commented 3 years ago

It looks like you didn't configure the debug_discovery.py or the credentials are incorrect.

Xenomes commented 3 years ago

Problem solved?

GAUTIER44530 commented 3 years ago

hello, sorry for my late reply, but i have been very busy. I configured the debug, here is the return. thank you

image

GAUTIER44530 commented 3 years ago

I found part of my error, I edit the file directly on my Rpi1, despite this I still have a password error. off I check it several times.

image

GAUTIER44530 commented 3 years ago

I have configured the debug like this, is there something else?

image

Xenomes commented 3 years ago

Config is looking good, is the BIZ_TYPE correct? I know there are some issue with a special symbols in a password, if you have one in the password that can be the problem.

GAUTIER44530 commented 3 years ago

Hello TO TEST MY ACCESS I use the user and password from https://www.tuya.com/

?

Xenomes commented 3 years ago

It must be the credentials of the app you are using.