-
Notifications
You must be signed in to change notification settings - Fork 143
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
Device is not registered in Tuya cloud #119
Comments
same issue here |
I was having this issue, but just solved it. As soon as I enabled a free trial of IOT Core, it registered instantly (to me it wasn't clear in any doco that this was required but I guess it is). If you get this error message and this far you at least know the tuya creds etc. are working. To enable IOT core I did this. Cloud > Development. Hope this helps someone |
Mine was already enabled, even I tried to delete old one and add authorisation again (only one auth. allowed) it didnt work for me. Thanks anyway. |
Already did, nothing change. :( |
Same problem here :-( |
1 similar comment
Same problem here :-( |
Same, trying to use a SGS01 soil sensor. Have tried multiple different forks, all the same issue. |
Looks like they changed trial period and you have to update it. Go to Cloud -> Cloud Services -> IoT Core -> Subscribe to resource pack. After some time everything should work. |
Having just managed to get this going after receiving "Device is not registered in Tuya Cloud" It's not always as simple as just enabling the IoT core (Mine is already active and running until July). But after adding these it wasn't still working, the device was recognising as "Configure" but would never see it in Tuya cloud despite showing in Cloud Explorer for "Get Device Details" on Smart Home Device Management. I added some extra logger lines into cloud.py around line #166:
(remove the # to enable them) which allowed me to see that I was logging in (default debug log) but not see anything in the array from the API when it looks to find the device in question. I historically had 2 accounts registered on the Tuya App Link (one had 0 items and was before I swapped stuff from the Tuya app to SmarLife app) so i unlinked this (Be aware this page can take multiple attempts to get the data showing) Deleting the extra, made it that when I re-tried, i got invalid credentials error this time which hadn't happened before. Other details: Hopefully that will help someone else narrow down their "not in cloud" issues. |
@AaronIsFab I followed your instructions to add debug logging, which was very helpful. Yet I wasn't able to add my device. I'm using the markusg1234 fork/branch. Adding the BLE device, after entering my credentials, the dialog shows: "Device is not registered in Tuya cloud" But that's not correct, the Tuya Development Platform under my Linked App Account clearly shows 1 Linked Device and it's the same I'm trying to add. Trying to troubleshoot the situation with debug logging: But in practice I'm getting the error mentioned above, as if it weren't registered.
I looked at the It would seem that the URL changed I've trying changing the URL to Which seems to yield results, at least I'm getting an array from fi_response_result: But the initial error persisted, still "Device is not registered in Tuya cloud" in the form. I dug further, somehow the mac address was being garbled up, the final credentials array had the address stored as
And then I was able to add the device successfully. Seems to me that the API changed somehow between April and now. To sum up:
Hope this helps somebody. |
@thkrmr This totally worked, thank you! Hope it will be updated in the main build
|
Update: Below the original post.
Hope someone is able to provide some further guidance. Thank you! |
Same challenges, however started working for me when I delete everything on
tiya cloud and started from scratch with a new email address (blessed be
the dot trick on gmail accounts)
…On Fri, Sep 13, 2024 at 4:08 PM webmediart-github ***@***.***> wrote:
Hi, I still face the issue of getting the error
image.png (view on web)
<https://github.com/user-attachments/assets/152f631b-34ac-4156-a4ad-227a80a34ff2>
in the second step of configuration.
I assume I followed all steps described in #119 (comment)
<#119 (comment)>
and #119 (comment)
<#119 (comment)>
correctly, as the first step is accepted and the device is showing up? In
addition I added this line to the manifest.json file
"loggers": ["custom_components.tuya_ble"]
However, I don't know how or where to enable the debugging (as above is my
only device, and I cant access the UI button to make use of above line) nor
access the log files where these would be now captured. I am a bit stuck.
Summary of what I have/did:
- Tuya dev cloud setup and verified that device is linked/listed
- official Tuya integration setup in HA (logged in via SmartLife App,
QR code)
- Adjusted const.py
- Altered cloud.py
- Added lines to allow for debugging (logger) to both cloud.py and
manifest.json
- Restarted HA
Hope someone is able to provide some further guidance. Thank you!
—
Reply to this email directly, view it on GitHub
<#119 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BCZLFJTP76QOVDEA6YLMYIDZWNH3XAVCNFSM6AAAAABEOIHZHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJQGIYTANBWGA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I think I might lack a bit of general "Tuya" knowledge, but are you able to describe the detailed steps how you setup the device itself? I went like this:
Although it shows now in HA, I suspect that it is not connected to HA via bluetooth as its entities are unavailable?
|
If it shows in HA and you have no entities (or in my case just the signal
entity), then it is likely that your tuta product isn’t supported yet.
Every tuta product seems to have a category ID and a Product ID, you’ll
find them in one of the .py files (I think the devices.py). If your isn’t
there then you are out of luck (like me).
The developers of this integration seem to have disappeared recently, there
are a few forks but they don’t seem active either.
Theoretically it isn’t too difficult to add if you have category ID,
Product ID but I got into a few issues and I have an open ask for someone
better than me to support.
Sorry I can’t help much more
…On Fri, Sep 13, 2024 at 4:55 PM webmediart-github ***@***.***> wrote:
I think I might lack a bit of general "Tuya" knowledge, but are you able
to describe the detailed steps how you setup the device itself? I went like
this:
1. Open SmartLife App and add device for tuya cloud connection
2. Reset Device to disconnect from phone via reset button
Although it shows now in HA, I suspect that it is not connected to HA via
bluetooth as its entities are unavailable?
Same challenges, however started working for me when I delete everything
on tiya cloud and started from scratch with a new email address (blessed be
the dot trick on gmail accounts)
—
Reply to this email directly, view it on GitHub
<#119 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BCZLFJTV5FFAWZWXL2I75JDZWNNNJAVCNFSM6AAAAABEOIHZHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJQGM4TINRQHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
After inserting the following code in devices.py i can see my sensors. Seems my SGS01 sensors have a different category and product. Inserted the code at around line 287.
|
I was searching for a solution for this problem and tried different options from this issue. Now I got it working! The problem was the App that I used for connecting the sensors. I used Smart Life becuase I used it for all my tuya devices (which also connected to HA). |
Hi, Thanks for all the input provided here, much appreciated! Meanwhile the device is at least showing up, also containing all necessary entities, But this is the same for most of my devices (besides one all are offline in the cloud) and they are all working fine in HA. Via the App the Fingerbot is working fine and can be controlled I did all changes mentioned here, also the necessary "riecov42"/"kg" additions as usual, but it's still not working. |
@Moe555 I had issues with devices showing as unavailable, when two things were out of whack: So I fixed the range issue by placing the proxy close and subsequently fixed the ESPHome BT proxy issues. Now when I check the ESPHome log (wirelessly) of a particular proxy, I see in the logs that BLE packets are being proxied. This correlates with my Tuya BLE devices working quite stable. When this all wasn't working well, I had no log entries of proxied BLE packets. I also turned off BT on my machine completely, all BT communication for Tuya BLE is done via the ESPHome BT proxies. I initially used Wemos D1 mini boards and the switched to M5Stack ATOMS3 Lite boards. The BT proxies are also proxying SwitchBot Curtain motors in parallel to the Tuya BLE bits without a hitch. Your mileage may vary, but I had pretty good success with this setup, surviving updates to HA, updates to ESPHome and even the switch from Wemos to M5Stack. Good luck. |
@thkrmr Thanks for the detailed explanation. Besides that, other Tuya BLE devices (like a plant sensor) are shown offline in the Tuya Cloud as well, I guess I messed something up during all the manual modifications which are necessary, BR |
What does this error mean? Because I can see the device online
The text was updated successfully, but these errors were encountered: