Comments (32)
Yes. Sorry, I uploaded the wrong screenshot. I updated it. When I press "configure" then I have to add all the informations.
from ha_tuya_ble.
My device shows up automatically as well:
when I press "Absenden" then the configuration page for tuya login shows up.
The only difference in my case was I had the official Tuya integration installed as well with the credentials added.
An offshoot suggestion, but could you install that, configure it with the credentials, wait for few minutes for it to do its thing and then reboot home-assistant.
Once rebooted, wait for the device to show up again and configure it. It just might work for you
(p.s. I disabled the official integration after that and it kept working as normal. So you don't have to keep the official integration any more than needed)
from ha_tuya_ble.
I am facing the same issue.
Device is in the app and on the Tuya Cloud, but I still get the same error message.
EDIT : I just added it again and it worked
from ha_tuya_ble.
@MrAlucardDante what did you add where?
from ha_tuya_ble.
@MrAlucardDante what did you add where?
The Adaprox fingerbot plus. It appeared in home assistant, but when I tried to configure it, I got the same error message as you. I just click submit again and it worked
from ha_tuya_ble.
Hi, do you have some logs for your configuration attempt?
from ha_tuya_ble.
Hello, Unfortunately it's not logging anything. at least I cannot see anything in the home-assistant.log. Should it search somewhere else?
from ha_tuya_ble.
Do you have only one project on Tuya IOT platform?
from ha_tuya_ble.
yes. Only the one in the first screenshot. sorry to ask, but is a connection to the tuya cloud necessary if I have already extracted the login data with the tool from redphx?
from ha_tuya_ble.
I've just decided that it's will be the simplest way for UX. Actually I've taken part of the code from extractor Python script which you have used. It's quite strange. May be Tuya IOT server was temporary down that time. Could you please retry.
from ha_tuya_ble.
Sure. it's still the same. I also tried and reinstalled the integration. is it possible to enable a log somehow?
from ha_tuya_ble.
Just add to your configuration.yaml next lines:
logger:
default: info
logs:
custom_components.tuya_ble: debug
from ha_tuya_ble.
Well. The login seems to work:
2023-05-26 17:28:30.132 DEBUG (MainThread) [custom_components.tuya_ble.cloud] Successful login for [email protected] 2023-05-26 17:28:44.387 DEBUG (MainThread) [custom_components.tuya_ble.cloud] Successful login for [email protected] 2023-05-26 17:28:45.354 DEBUG (MainThread) [custom_components.tuya_ble.cloud] Successful login for [email protected] 2023-05-26 17:28:46.356 DEBUG (MainThread) [custom_components.tuya_ble.cloud] Successful login for [email protected]
from ha_tuya_ble.
I'm facing the same issue. Although my device is a CubeTouch II
from ha_tuya_ble.
the log
Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 85, in security_filter_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 235, in auth_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 146, in handle result = await result File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 180, in post return await super().post(request, flow_id) File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, in wrapper result = await method(view, request, data, *args, **kwargs) File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post result = await self._flow_mgr.async_configure(flow_id, data) File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 271, in async_configure result = await self._async_handle_step( File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 367, in _async_handle_step result: FlowResult = await getattr(flow, method)(user_input) File "/config/custom_components/tuya_ble/config_flow.py", line 302, in async_step_device credentials = await self._manager.get_device_credentials( File "/config/custom_components/tuya_ble/cloud.py", line 263, in get_device_credentials await self._fill_cache_item(item) File "/config/custom_components/tuya_ble/cloud.py", line 182, in _fill_cache_item factory_info = fi_response[TUYA_RESPONSE_RESULT][0] IndexError: list index out of range
from ha_tuya_ble.
Try please new version, I've added some additional checks.
from ha_tuya_ble.
I updated and restarted HA. login still seem to work and the error also still is the same:
2023-06-01 08:15:17.222 DEBUG (MainThread) [custom_components.tuya_ble.cloud] Successful login for [email protected] 2023-06-01 08:15:20.411 DEBUG (MainThread) [custom_components.tuya_ble.cloud] Successful login for [email protected] 2023-06-01 08:15:21.420 DEBUG (MainThread) [custom_components.tuya_ble.cloud] Successful login for [email protected]
from ha_tuya_ble.
Are there in log any ERROR lines related to custom_components.tuya_ble.cloud ?
from ha_tuya_ble.
unfortunately not. everytime i press the "send" button to add the device it writes the log that the login was successfull. nothing else.
from ha_tuya_ble.
And then shows in configuration form the error "Device is not registered in Tuya cloud", right?
from ha_tuya_ble.
exactly!
from ha_tuya_ble.
It must add to log line like this
2023-06-01 08:03:28.852 DEBUG (MainThread) [custom_components.tuya_ble.cloud] Retrieved: uuid: xxxxxxxxxxxxxxxx, local_key: xxxxxxxxxxxxxxxx, device_id: xxxxxxxxxxxxxxxx, category: wsdcg, product_id: ojzlzzsw, device_name: TYOS温湿度传感器, product_model: , product_name: Temperature&humidity sensor
for registered devices.
Ensure please that your device present in your project on Tuya IOT site.
from ha_tuya_ble.
So my issue got resolved like this.
Instead of going to the integration page and pressing 'Add Integration' and selecting Tuya BLE, I reinstalled the integration and let it stay as is without doing anything. After around 8-10 hours, the Tuya BLE integration found my CubeTouch itself. I then pressed configure on the newly discovered device, and it worked as usual with no error.
Before that, I would always get the "Device is not registered in Tuya cloud" error if I tried to configure manually by going to "Add Integration" and stuff
from ha_tuya_ble.
So my issue got resolved like this.
Is it with new or old version?
from ha_tuya_ble.
So my issue got resolved like this.
Is it with new or old version?
The old version
from ha_tuya_ble.
I think right now this error is due to the device being found on the cloud but the device not being in the list of devices discovered or connected to home-assistant via bluetooth
from ha_tuya_ble.
My device shows up automatically as well:
![grafik](https://private-user-images.githubusercontent.com/11703464/242507627-0189f3b2-1d06-438e-9781-8fe6d4e8822d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE4MjYxNDAsIm5iZiI6MTcyMTgyNTg0MCwicGF0aCI6Ii8xMTcwMzQ2NC8yNDI1MDc2MjctMDE4OWYzYjItMWQwNi00MzhlLTk3ODEtOGZlNmQ0ZTg4MjJkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI0VDEyNTcyMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZiOWI2ZDAzYWNkM2Y0Nzg3YWY3YzczNTUzYzAwZjViZWMwMTIzYzFiZGI5MDFlYTY4ZjZlOTI4YzIwNGRhNjkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.905rtBFoiUvyXi9-TBhjCnPefh-AUQLvgF6_siWptq4)
when I press "Absenden" then the configuration page for tuya login shows up.
![grafik](https://private-user-images.githubusercontent.com/11703464/242507299-b9f10365-f048-4239-b2c5-46c42466c380.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE4MjYxNDAsIm5iZiI6MTcyMTgyNTg0MCwicGF0aCI6Ii8xMTcwMzQ2NC8yNDI1MDcyOTktYjlmMTAzNjUtZjA0OC00MjM5LWIyYzUtNDZjNDI0NjZjMzgwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI0VDEyNTcyMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTlkMzNkZjJhOWI2ZjIyZDFhYTQ0NDIzYzJhYzE4NWMyNzk4MWE2NDljM2QwMGUyZWEzNWYxYWQ0ZWFhMDc5NjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.gFM4zDJxiv5ksukh9-8iglwfMIURwYnk9nk-0HEo_9I)
from ha_tuya_ble.
Tonight, I will try and remove the fingerbot from the tuya cloud and re-add it. maybe it helps
from ha_tuya_ble.
good suggestion! I added the official tuya and put in all my login informations. after that, this "configuration" page for "Tuya BLE" was not showing up again. So I guess tuya ble takes the login informations from the official tuya intergration. good! But the error stays the same. I will try to re-add the project and device in the tuya cloud. wish me luck.
from ha_tuya_ble.
I have the same issue. I am trying to add my temp&humidity sensor (Product Category: wsdcg), but I always get this error: "Device is not registered in Tuya cloud"
I have removed via my mobile app, and added again, but it did not help.
from ha_tuya_ble.
I have the same issue. I am trying to add my temp&humidity sensor (Product Category: wsdcg), but I always get this error: "Device is not registered in Tuya cloud" I have removed via my mobile app, and added again, but it did not help.
Do you have any logs?
from ha_tuya_ble.
Sorry for the long delay. I was away from home.
I actually just tried to add the device again and it worked somehow. I didn't change anything in the tuya cloud.
from ha_tuya_ble.
Related Issues (20)
- Support for BLE Temperature and Humidity Sensor PT216 & PT19DB-2
- Error after updating to Home Assistant 2024.2.0 update HOT 40
- Is there anybody who can merge the Pull requests?? HOT 5
- Will This work with a ESPHome Bluetooth Proxy, or does it need to connect to the Bluetooth radio on my device running home assistant? HOT 1
- How to setup this integration? HOT 3
- installation issue HOT 1
- Possible error in _handle_command_or_response()
- Device is not registered in Tuya cloud HOT 9
- Not working after update to 2024.4.0 HOT 6
- Not working: "requirements": ["tuya-iot-py-sdk==0.6.6", "pycountry>23.0.0"], HOT 11
- Error Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble HOT 11
- Question: Determine if a Fingerbot action actually completed HOT 2
- Update to tuya_sharing SDK HOT 1
- Can you please add the smart curtain robots HOT 3
- Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble HOT 3
- Error integration HOT 1
- Setup Account and Password HOT 1
- Tuya Protocol 3.4 for TH05 Support
- SGS01 (gvygg3m8) exposes soil moisture as humidity HOT 1
- Support for Divoo WT-03W
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha_tuya_ble.