tuya / tuya-homebridge

Homebridge custom plugin for controlling Powered by Tuya (PBT) devices in HomeKit. This plugin is officially maintained by the Tuya Developer Team.
MIT License
332 stars 168 forks source link

Attention⚠️ ⚠️ ⚠️ ! You get an error! Failed to get device information. Please check if the config.json is correct. #293

Closed llllacuna closed 1 year ago

llllacuna commented 1 year ago

Hi guys I am new here my tuya door lock won't show on the Homebridge Accessories and after turning on the debug logging its shows this error : Attention⚠️ ⚠️ ⚠️! You get an error! Failed to get device information. Please check if the config.json is correct.

i don't know how to solve this plz help

llllacuna commented 1 year ago

this is my config.json : note : I'm covering date with # and I'm from Saudi Arabia { "bridge": { "name": "Homebridge 589A", "username": "0E:13:A5:9E:58:9A", "port": 51319, "pin": "807-43-061", "advertiser": "bonjour-hap" }, "accessories": [], "platforms": [ { "name": "Config", "port": 8581, "platform": "config" }, { "options": { "username": "layan####@gmail.com", "password": "M123#######n", "accessId": "rafycap#####ryp3xnw38stm", "accessKey": "8d48#####27173f12fcb2c8", "lang": "en", "projectType": "2", "appSchema": "tuyaSmart", "countryCode": 96, "debug": true }, "name": "TuyaPlatform", "_bridge": { "username": "0E:46:CC:08:D8:35", "port": 33714 }, "platform": "TuyaPlatform" } ] }

dswarne commented 1 year ago

Same exact issue here, Im suspecting it is related to the API authorization, I have contacted TUYA support will let you know when I receive anything.

If you have come right since, please share

djzgfx commented 1 year ago

Same issue here as well. Just started this morning.

dswarne commented 1 year ago

Hi All, I’ve looked into it and seemed to have resolved the issue. What I did was recreate a project in Tuya IOT making sure to authorize the “device development Notification “ API

let me know how you get on.

mmaslen commented 1 year ago

Hi All, I’ve looked into it and seemed to have resolved the issue. What I did was recreate a project in Tuya IOT making sure to authorize the “device development Notification “ API

let me know how you get on.

where exactly is that authorised, I couldn't find it

dswarne commented 1 year ago

Please follow the below.

At your Tuya IOT page, select Cloud from the left then development. DFC4F149-2BE1-438A-B9CD-52D573A591DA

Open your project that is linked to your Homebridge, generally the one you created when you first setup your plugin C5871CF6-676D-4DA1-9966-0145E7EF290C

Select the Service API tab ABE9AD63-81B5-43CD-8773-02CD308D236B

And check that you have the “device status notification” service. If not select “Go to Authorize” and assign it to your project E8F23FB5-9939-4683-B794-6A39643BB328

03E3262E-FF31-4F25-9BF2-EEFC6B04E4D3 189BC790-F2BC-48C1-A0B3-62DC13DC6E52

mmaslen commented 1 year ago

Please follow the below.

Thank you for your help, I followed your instructions - problem remains

mmaslen commented 1 year ago

Tuya are now asking me to extend my trial period - is that normal?

coolweb commented 1 year ago

For the IoT Core was expired, I extend the trial and it is working.

github-actions[bot] commented 1 year ago

Stale issue. we will close the issue soon. If this issue has not been resolved, please update the issue and contact us in time.