Skip to content
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

Fingerbot (ltak7e1p) Not supported #9

Closed
Cres09 opened this issue Apr 30, 2023 · 7 comments
Closed

Fingerbot (ltak7e1p) Not supported #9

Cres09 opened this issue Apr 30, 2023 · 7 comments

Comments

@Cres09
Copy link

Cres09 commented Apr 30, 2023

Integration doesn't create any switch or controls for my Fingerbot (ltak7e1p), only the signal strength sensor
Captura

Data points:
Switch:"2"
kanjis I can't copy:"130"
Click:"101"
Mode:"8"
Down movement:"9"
Sustain time:"10"
Invert:"11"
Battery level:"12"
Up movement:"15"
自定时编程:"111"
自定周编程1:"112"
Tap enable:"17"
自定周编程2:"113"
自定周编程3:"114"
自定周编程4:"115"
运动统计:"150"

Is this the info you need?

@PlusPlus-ua
Copy link
Owner

Yes, thank you.

Has your device button for manual control?

@Cres09
Copy link
Author

Cres09 commented Apr 30, 2023

Yes it have one.
image0

@PlusPlus-ua
Copy link
Owner

It looks like original Fingerbot, there is Fingerbot Plus with sensor button on the top:

image

So, I'm going to add it.

@PlusPlus-ua
Copy link
Owner

Please check version 0.1.4

@Cres09
Copy link
Author

Cres09 commented Apr 30, 2023

Installed and tested. It returns an error:
Captura

``Este error se originó a partir de una integración personalizada.

Logger: homeassistant
Source: custom_components/tuya_ble/cloud.py:182
Integration: Tuya BLE
First occurred: 13:58:03 (1 occurrences)
Last logged: 13:58:03

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/discovery_flow.py", line 95, in async_start
await gather_with_concurrency(
File "/usr/src/homeassistant/homeassistant/util/async
.py", line 178, in gather_with_concurrency
return await gather(
File "/usr/src/homeassistant/homeassistant/util/async_.py", line 176, in sem_task
return await task
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 840, in async_init
flow, result = await task
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 868, in _async_init
result = await self._async_handle_step(flow, flow.init_step, data)
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 233, in async_step_bluetooth
await self._manager.build_cache()
File "/config/custom_components/tuya_ble/cloud.py", line 214, in build_cache
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
`

Este error se originó a partir de una integración personalizada.

Logger: custom_components.tuya_ble.tuya_ble.tuya_ble
Source: custom_components/tuya_ble/tuya_ble/tuya_ble.py:525
Integration: Tuya BLE
First occurred: 13:59:04 (3 occurrences)
Last logged: 14:03:50

mac adress: Device unexpectedly disconnected; RSSI: None

Este error se originó a partir de una integración personalizada.

Logger: homeassistant.config_entries
Source: custom_components/tuya_ble/tuya_ble/tuya_ble.py:652
Integration: Tuya BLE
First occurred: 13:59:29 (3 occurrences)
Last logged: 14:04:12

Error setting up entry Fingerbot ACBCC5 for tuya_ble
Traceback (most recent call last):
File "/config/custom_components/tuya_ble/tuya_ble/tuya_ble.py", line 640, in _ensure_connected
if not await self._send_packet_while_connected(
File "/config/custom_components/tuya_ble/tuya_ble/tuya_ble.py", line 893, in _send_packet_while_connected
await asyncio.wait_for(future, RESPONSE_WAIT_TIMEOUT)
File "/usr/local/lib/python3.10/asyncio/tasks.py", line 432, in wait_for
await waiter
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/tuya_ble/init.py", line 44, in async_setup_entry
await device.initialize()
File "/config/custom_components/tuya_ble/tuya_ble/tuya_ble.py", line 272, in initialize
await self.update()
File "/config/custom_components/tuya_ble/tuya_ble/tuya_ble.py", line 312, in update
await self._send_packet(TuyaBLECode.FUN_SENDER_DEVICE_STATUS, bytes())
File "/config/custom_components/tuya_ble/tuya_ble/tuya_ble.py", line 843, in _send_packet
await self._ensure_connected()
File "/config/custom_components/tuya_ble/tuya_ble/tuya_ble.py", line 652, in _ensure_connected
except [BLEAK_EXCEPTIONS, BleakNotFoundError]:
TypeError: catching classes that do not inherit from BaseException is not allowed

@aportillo365
Copy link

Installed and tested. It returns an error: Captura

``Este error se originó a partir de una integración personalizada.

Logger: homeassistant Source: custom_components/tuya_ble/cloud.py:182 Integration: Tuya BLE First occurred: 13:58:03 (1 occurrences) Last logged: 13:58:03

Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/discovery_flow.py", line 95, in async_start await gather_with_concurrency( File "/usr/src/homeassistant/homeassistant/util/async.py", line 178, in gather_with_concurrency return await gather( File "/usr/src/homeassistant/homeassistant/util/async_.py", line 176, in sem_task return await task File "/usr/src/homeassistant/homeassistant/config_entries.py", line 840, in async_init flow, result = await task File "/usr/src/homeassistant/homeassistant/config_entries.py", line 868, in _async_init result = await self._async_handle_step(flow, flow.init_step, data) 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 233, in async_step_bluetooth await self._manager.build_cache() File "/config/custom_components/tuya_ble/cloud.py", line 214, in build_cache 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 `

Este error se originó a partir de una integración personalizada.

Logger: custom_components.tuya_ble.tuya_ble.tuya_ble Source: custom_components/tuya_ble/tuya_ble/tuya_ble.py:525 Integration: Tuya BLE First occurred: 13:59:04 (3 occurrences) Last logged: 14:03:50

mac adress: Device unexpectedly disconnected; RSSI: None

Este error se originó a partir de una integración personalizada.

Logger: homeassistant.config_entries Source: custom_components/tuya_ble/tuya_ble/tuya_ble.py:652 Integration: Tuya BLE First occurred: 13:59:29 (3 occurrences) Last logged: 14:04:12

Error setting up entry Fingerbot ACBCC5 for tuya_ble Traceback (most recent call last): File "/config/custom_components/tuya_ble/tuya_ble/tuya_ble.py", line 640, in _ensure_connected if not await self._send_packet_while_connected( File "/config/custom_components/tuya_ble/tuya_ble/tuya_ble.py", line 893, in _send_packet_while_connected await asyncio.wait_for(future, RESPONSE_WAIT_TIMEOUT) File "/usr/local/lib/python3.10/asyncio/tasks.py", line 432, in wait_for await waiter asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/tuya_ble/init.py", line 44, in async_setup_entry await device.initialize() File "/config/custom_components/tuya_ble/tuya_ble/tuya_ble.py", line 272, in initialize await self.update() File "/config/custom_components/tuya_ble/tuya_ble/tuya_ble.py", line 312, in update await self._send_packet(TuyaBLECode.FUN_SENDER_DEVICE_STATUS, bytes()) File "/config/custom_components/tuya_ble/tuya_ble/tuya_ble.py", line 843, in _send_packet await self._ensure_connected() File "/config/custom_components/tuya_ble/tuya_ble/tuya_ble.py", line 652, in _ensure_connected except [BLEAK_EXCEPTIONS, BleakNotFoundError]: TypeError: catching classes that do not inherit from BaseException is not allowed

0.1.4 worked for me, and I have also a Fingerbot with "product_id": "ltak7e1p":
1

2

Did you tried to unbind the device on SmartLife/Tuya App and bind again? After a reboot in Home assistant, that was the key step, before that I cannot add the device to the tuya_ble integration as well

Thanks again to the creators!!!

@Cres09
Copy link
Author

Cres09 commented Apr 30, 2023

That did the trick! Always forget to restart everything. Thank you very much. And many many thanks to the developer!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants