-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
devices not adding #41
Comments
this is actally an error i found ' or 'null'. |
Hi @adorabletechguy ,We have known your situation. |
Im having the exact same issue. Its not throwing any errors, but when the plug in is added I get HB supervisor and it appears to be running in service mode. Account, passwords, access ID and keys are all correct. |
You linked me to an issue response to check my credentials, I have checked my credentials, and I can confirm they are correct. I also created a new account to verify, and it still isn't working. |
Hi @PNWOregon @adorabletechguy ,Sorry for the bad experience. |
TuyaOpenAPI request: method = post, endpoint = https://openapi.tuyaus.com, path = /v1.0/iot-01/associated-users/actions/authorized-login, params = null, body = {"country_code":1,"username":"","password":"","schema":"tuyaSmart"}, headers = {"t":"1624638139850","client_id":"*******************","nonce":"8330b2a0-d5d1-11eb-9d4f-013f2b056eff","Signature-Headers":"client_id","sign":"875F825388B227F2ABF377D5DB22C9CCAF71F59E3634E996D54C222BF03D2AE2","sign_method":"HMAC-SHA256","access_token":"","lang":"en","dev_lang":"javascript","dev_channel":"homebridge","devVersion":"1.2.1"} |
TuyaOpenAPI response: {"code":2406,"msg":"skill id invalid","success":false,"t":1624640281450} path = /v1.0/iot-01/associated-users/actions/authorized-login |
Any assistance? |
Hi @adorabletechguy @PNWOregon ,Sorry for the late reply. |
Hi @adorabletechguy , Please try this #45 (comment) |
I tried that yesterday, and a few other things. I also recreated a whole new account despite the fact that my other account is a week old. [7/2/2021, 8:50:31 AM] [TuyaWebPlatform] Missing required |
i then do a restart TuyaOpenAPI request: method = post, endpoint = https://openapi.tuyaus.com, path = /v1.0/iot-01/associated-users/actions/authorized-login, params = null, body = {"country_code":1,"username":"spazpasz@gmail.com","password":"3b5125607a7f34543c0cb9beffebc1d6","schema":"tuyaSmart"}, headers = {"t":"1625230342093","client_id":"v7jmxdsgapug3m8fhkc8","nonce":"5715f050-db34-11eb-8554-df7330dff46b","Signature-Headers":"client_id","sign":"72AFAB0359F50BB1F5EB7182C733A5DA9A83822175923ED4D5AD114C7945BD84","sign_method":"HMAC-SHA256","access_token":"","lang":"en","dev_lang":"javascript","dev_channel":"homebridge","devVersion":"1.2.1"} |
Any fix for this yet? No changes with mine. |
Hi @adorabletechguy @PNWOregon ,Please try again for code 1004, And check error code for code 2406. |
it works, but missing devices |
Hi @adorabletechguy , Please show the devices details log. |
Hi, I modified TUYASHOPENAPI.JS files with that: All my credential is correct and i create a new cloud Projet tonight (after 25 may 2021). Now this is the message on my console: Initializing TuyaPlatform... TuyaOpenAPI response: {"code":1010,"msg":"token is expired","success":false,"t":1625802078937} path = /v1.0/iot-01/associated-users/devices My JSON config is: Any suggest??? |
Hi @rikray02 ,access_token expires every two hours And need to re-request the token. Please restore the previous code to ensure that the token you are using is not expired. expire is simply an expiration time that determines if a token is to be rerequested. |
Hi Hanh94,
I have reinstalled the plugin from GitHub source files. I reconfigure the pluggin and now, i have this message:
Initializing TuyaPlatform...
TuyaOpenAPI request: method = post, endpoint = https://openapi-ueaz.tuyaus.com, path = /v1.0/iot-01/associated-users/actions/authorized-login, params = null, body = ***@***.******@***.***>","password":"e8ea5c947c5d8918d13f9404dad3a325","schema":"tuyaSmart"}, headers = {"t":"1625886265876","client_id":"gsr393rvaqjlhzmjhrh7","nonce":"886d2630-e12b-11eb-b0d7-89309f93bae4","Signature-Headers":"client_id","sign":"02D9B4CABBCB3E31B0D15CC506FC7771996EE592FC1FF70A94854487003CEB25","sign_method":"HMAC-SHA256","access_token":"","lang":"en","dev_lang":"javascript","dev_channel":"homebridge","devVersion":"1.2.1"}
Preparing Advertiser for 'Homebridge E1A5' using ciao backend!
And the other one
TuyaOpenAPI response: {"code":1106,"msg":"permission deny","success":false,"t":1625886266467} path = /v1.0/iot-01/associated-users/actions/authorized-login
Please confirm that the Access ID and Access Secret of the Smart Home PaaS project you are using were created after May 25, 2021.
Please linked devices by using Tuya Smart or Smart Life app in your cloud project.
I really don’t understand why it’s doesn’t work because all my credentials are good.
Thanks for your help.
Richard
Le 9 juill. 2021 à 03:06, Hanh94 ***@***.******@***.***>> a écrit :
I modified TUYASHOPENAPI.JS files with that:
Hi @rikray02<https://github.com/rikray02> ,access_token expires every two hours And need to re-request the token. Please restore the previous code to ensure that the token you are using is not expired. expire is simply an expiration time that determines if a token is to be rerequested.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#41 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKFTTIO3MARPM5OYUF3VENLTW2NYBANCNFSM47EEXRQA>.
|
Hi @rikray02 , |
Hi Hanh94, After many unsuccessful attempts, multiple tests and updates, post on the forums, finally, as you can see, tonight it finally works. Thanks for your help. Now, what happens after one year of TRIAL subscription? Will i need to create a new account with an other email address or it will be possible ton renew a TRIAL subscription? FIRST MESSAGE SECOND MESSAGE |
Hi @rikray02 , glad to hear that. |
Glad to hear you got it up and running! What was the trick? I haven’t time lately to tinker with mine, but I’m planning on it later this week. |
Not sure what changed honestly, but it was an easy setup today without any issues. Thanks for your help @Hanh94! |
Hi @adorabletechguy , Have you solved the problem you encountered? If not, please submit the relevant log information according to the issue template format. |
Hi guys, Since we haven't received your reply for a long time, we think our latest version should have solved your problem. We will close this issue first. If there is any problem, you can contact us at any time. |
I setup the api key and all that in the guide, I see my project is under cloud which is different than the screen shot, i am in us and set my county code to 1, i am not seeing errors, but none of my devices are appearing whilst they are in the cloud dashboard. I am not sure what i am doing incorrectly.
The text was updated successfully, but these errors were encountered: