-
Notifications
You must be signed in to change notification settings - Fork 136
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
Can't get Bluetooth Fingerbot to work #92
Comments
P.S. Here are the "Diagnostics" from The HA: Note the "unavailable". |
If anyone has this working, please help! |
I'm running into the same issue, I also added the device identifier (riecov42) into devices.py and that didn't fix it either. |
I went to the tuya iot platform, opened inspector, found:
I'll try to give it a go but I don't know if it will work. Hopefully someone can chime in to let me know if I'm on the right track or not. following #103, trying now, crossing my fingers this works edit: take a look at 0c0d291 edit2: OK, I got it working (at least the press, not the other settings for some reason). follow the link above, add the ID (riecov42) in the following files: button.py, devices.py, number.py, select.py, sensor.py, switch.py, text.py I had to move the fingerbot next to my rpi4 to get it detected, even just several steps away it did not detect the device -_- edit3: after waiting a few more mins the other options like down position worked too |
There are no replies at all...
It appears this package is unsupported.
…On Thu, Jan 11, 2024 at 1:12 AM Snuupy ***@***.***> wrote:
I went to the tuya iot platform, opened inspector, found:
{
"result": [
{
"dpName": "Switch",
"dpId": 1
},
{
"dpName": "Mode",
"dpId": 101
},
{
"dpName": "Down Movement",
"dpId": 102
},
{
"dpName": "Sustain Time",
"dpId": 103
},
{
"dpName": "Reverse",
"dpId": 104
},
{
"dpName": "battery_percentage",
"dpId": 105
},
{
"dpName": "Up Movement",
"dpId": 106
},
{
"dpName": "Touch Control",
"dpId": 107
},
{
"dpName": "Click",
"dpId": 108
},
{
"dpName": "custom_prog",
"dpId": 109
},
{
"dpName": "factory_data",
"dpId": 110
},
{
"dpName": "total_movement",
"dpId": 111
},
{
"dpName": "custom_timer",
"dpId": 112
},
{
"dpName": "custom_week_prog_1",
"dpId": 113
},
{
"dpName": "custom_week_prog_2",
"dpId": 114
},
{
"dpName": "custom_week_prog_3",
"dpId": 115
},
{
"dpName": "custom_week_prog_4",
"dpId": 116
},
{
"dpName": "Calibrate",
"dpId": 117
},
{
"dpName": "Resistance",
"dpId": 118
},
{
"dpName": "Resistance",
"dpId": 119
},
{
"dpName": "Adaptive Movement",
"dpId": 121
},
{
"dpName": "上升增益补偿",
"dpId": 122
}
],
"t": 1704960168919,
"success": true,
"status": "ok"
}
I'll try to give it a go but I don't know if it will work. Hopefully
someone can chime in to let me know if I'm on the right track or not.
—
Reply to this email directly, view it on GitHub
<#92 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADFMVIVEIMJEN4Z33JMMFPDYN6NGTAVCNFSM6AAAAABA6EHSQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBWGU4DKOBXGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I just told you I got it working and how to get it working. |
Oh, I misunderstood. Could you provide a bit mor detail? Much
appreciated!
…On Sat, Jan 13, 2024, 12:21 PM Snuupy ***@***.***> wrote:
I just told you I got it working and how to get it working.
—
Reply to this email directly, view it on GitHub
<#92 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADFMVIS3W777Y3QGRRANG7TYOLNCVAVCNFSM6AAAAABA6EHSQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJQG42DKNRTG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Did you read this in my previous comment? What about the instructions in edit2 would you like more detail about? |
. The commits at 0c0d291 do not seem to include "riecov42". Where in these
files do I add "riecov42"?
. Is that commit something I need to apply to my existing tuya_ble?
. I.e., do I need to update the tuya_ble custom component? I currently
show version 0.1.8 (from manifest.json).
. Or are you saying I need to manually edit each of these: button.py,
devices.py, number.py, select.py, sensor.py, switch.py, text.py? I.e., add
"riecov42" to dict.fromkeys in each file?
Sorry for my confusion and thanks for your help!
…On Sat, Jan 13, 2024 at 6:14 PM Snuupy ***@***.***> wrote:
Oh, I misunderstood. Could you provide a bit mor detail? Much appreciated!
… <#m_6299963020165777210_>
On Sat, Jan 13, 2024, 12:21 PM Snuupy *@*.*> wrote: I just told you I got
it working and how to get it working. — Reply to this email directly, view
it on GitHub <#92 (comment)
<#92 (comment)>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADFMVIS3W777Y3QGRRANG7TYOLNCVAVCNFSM6AAAAABA6EHSQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJQG42DKNRTG4
<https://github.com/notifications/unsubscribe-auth/ADFMVIS3W777Y3QGRRANG7TYOLNCVAVCNFSM6AAAAABA6EHSQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJQG42DKNRTG4>
. You are receiving this because you authored the thread.Message ID: @.*>
edit: take a look at 0c0d291
<0c0d291>
edit2: OK, I got it working (at least the press, not the other settings
for some reason). follow the link above, add the ID (riecov42) in the
following files: button.py, devices.py, number.py, select.py, sensor.py,
switch.py, text.py
I had to move the fingerbot next to my rpi4 to get it detected, even just
several steps away it did not detect the device -_- [image: image]
<https://private-user-images.githubusercontent.com/964538/296016559-b5ad68ff-4075-4ef4-bdef-e9051ca55f73.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDUxOTUwNzQsIm5iZiI6MTcwNTE5NDc3NCwicGF0aCI6Ii85NjQ1MzgvMjk2MDE2NTU5LWI1YWQ2OGZmLTQwNzUtNGVmNC1iZGVmLWU5MDUxY2E1NWY3My5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwMTE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDExNFQwMTEyNTRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zNGIwMjY1ZDc4MjQ0OGEzNzhiMmI4MTQ2MmE5YTVhY2RhZTgwMDQzYmZkYmMwNjZhOWIwNzczY2FlZDJmMTBlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Ju1qJOSJNo7ncmtu4UAfa8-qnn3-XJkgYw38Q1ytOkY>
edit3: after waiting a few more mins the other options like down position
worked too
Did you read this in my previous comment? What about the instructions in
edit2 would you like more detail about?
—
Reply to this email directly, view it on GitHub
<#92 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADFMVIQ2IKAH2BQ43ATPIWLYOMWQLAVCNFSM6AAAAABA6EHSQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJQHAYTGNRRHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Please don't reply by email, your email client is formatting the message terribly. Use the github website please.
No, to the fork: https://github.com/Snuffy2/ha_tuya_ble - add this into HACS, remove existing ha_tuya_ble addon.
Yes, with the forked repo.
Yes, you need to obtain the fork, then make the edits to the files listed aboe to add your new ID ( |
Got it! I had no idea... :)
I don't have an existing ha_tuya_ble addon. I will delete my existing tuya_ble addon and add ha_tuya_ble addon through HACS.
I will add "riecov42" to the dict.fromkeys structure in each file in the ha_tuya_ble addon (which I assume will appear in ~/.homeassistant/custom_components/ha_tuya_ble). And that's it? I should just restart HA and it should work? Many thanks!!! |
P.S. Why didn't (or don't) you add riecov42 to the ha_tuya_ble addon so it will already be there when installes via HACS? |
If you've added it to the 7 files to the fork I listed (yes, it is annoying but needed for it to work), in the appropriate classes, it should work. It does for me.
There are currently 10 open PRs that have not been merged and the maintainer is AWOL it seems. If I open another PR it will likely not be merged. I can fork the forked repo (or do a PR to the forked repo) but I currently do not have the time. |
I understand, re: the PR's... Thanks for explaining. You say update the "appropriate classes". Is there something other than " dict.fromkeys". Is there a string (like another id) whcich I can search for to be sure I get it updated in all the right places? Thanks again... |
For example, in
You see how he added
Then repeat for all 7 files. Usually it has |
My HACS does not find ha_tuya_ble. Searching for "tuya_ble" or "ha_tuya_ble", it just lists:
I will just download and install it manually from: https://github.com/PlusPlus-ua/ha_tuya_ble. Let me know if there is any problem with this approach. |
I'm running into problems getting the new tuya_ble to load. I successfully edited the 7 files, but a restart of home assistant now shows the fillowing errors (which appear to be unrelated to the 7 edits):
These errors do not occur with the old tuya_ble. If it is relevant, I do have this in the homeassistant: section of configuration.yaml.
Also, I don't seem to have any file named: homeassistant.const I am running Home Assistand Version: 2023.12.4 Can you offer any advice? Thanks! |
Wrong repo. See my above comment.
Try https://my.home-assistant.io/redirect/hacs_repository/?owner=Snuffy2&repository=ha_tuya_ble&category=integration or add a custom repo into HACS with https://github.com/Snuffy2/ha_tuya_ble url |
Thanks... I recognized my mistake earlier and had already reinstalled the correct tuya_ble. Here is the manifest.json for the current tuya_ble I am using:
The errors shown in: #92 (comment) |
you need to update to latest home assistant (2024.1.2 or something like that) |
I mean, you can try removing it you can also try a stock HA config and add each part of your config to set what breaks it |
I'll try that... Thanks |
I added all the edits to this repo: https://github.com/kappuchino/ha_tuya_ble/tree/dev, if you add this url to hacs as a custom rep, the specific bluetooth fingerbot should work. |
That's good! I'll try it... However, I have gotten distracted by another project. I'll get back to this as soon as I can. Thanks! |
Hey |
@Nirolator |
No, I gave up and bought a Ziggy fingerbot.
…On Fri, Jun 28, 2024, 2:26 PM oded106e ***@***.***> wrote:
@Nirolator <https://github.com/Nirolator>
Exact my issue, did you solved it?
—
Reply to this email directly, view it on GitHub
<#92 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADFMVIVFQVW4WMNABPTEVETZJXBH7AVCNFSM6AAAAABA6EHSQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJXGYYDGOJZGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
One question. Where should the finger bot appear? As any other newly discovered device? |
fyi https://github.com/airy10/ha_tuya_ble works for me (press, not configure) |
Home Assistant Version: 2023.1.7 (manually installed)
I am running a Beelink Gemini (Intel based, NUC like server) with Home Assistant. It works great and has been for years now. I just bought a Fingerbot 2 (Bluetooth version), installed it with the Tuya App. It works fine using the Tuya App.
I use the HomeAssistant/Tuya integration with 20 devices (mostly wifi) with no problem. I installed the "tuya_ble" integration using HACS and is shows up in ~homeassistant/.homeassistant/custom_components/tuya_ble with the manifest.json showing "version": "0.1.8".
"lsusb" shows:
"bluetoothctl devices" shows:
which is the correct MAC address of the Fingerbot.
I succesfully installed bluetooth-adapters with: pip install bluetooth-adapters. But when I restart Home Assistant, I get the following:
In Home Assistant the Device shows up as:
But the entity "switch.fingerbot_2_switch_1" is "Unavailable", and I can't get it to beecome available.
Any help is greatly appreciated... Thanks!
The text was updated successfully, but these errors were encountered: