I added a Tuya bluetooth Fingerbot to HA using the Tuya Integration.
The device was discovered and added to HA, but I can’t control the actual switch since it’s inactive/greyed out.
At a first glance I couldn’t see any option to fix this (but I’m also quite new to HA…).
Is there any option to actually make this usable via Tuya HA?
Or do I need to use the custom Tuya BLE integration to be able to actually use the fingerbot (and not just getting displayed a state)?
First thing, I would check is whether it is (or not) greyed out in the Tuya App on your phone. This is just to make sure that the problem is in HA.
If in HA then try to reload the Tuya Integration and/or restart HA.
So maybe there is a misunderstanding on my end…
Do I need to have an actual Tuya gateway (“in hardware”) in my network to be able to control Tuya Bluetooth devices via the HA Tuya Integration?
I expected the communication works:
HA via Tuya Integration → BL adapter → Fingerbot.
But it’s actually:
HA via Tuya integration → Cloud → Tuya Gateway → Fingerbot?
So I guess I could fix this only by using the Cusom Tuya Local integration?
(or setting up an actual Tuya Gateway in my network of course )
That is the right way, though I am not sure what you mean with Tuya Gateway.
When you set up the Tuya Integration it asks you for a Q-code to be read by the Tuya App on your phone. Once that is done, the HA Tuya Integration should read and control your Tuya Wifi devices.
Tuya Zigbee devices are added as any other Zigbee device and not through the Tuya App on yout phone.
I have one smart plug, which is showing up and working fine (I’m also able to switch it via HA).
But it’s a wifi plug, so I guess it’s actually not fully comparable.
(Also I have a Zigbee Fingerbot, which is working fine in HA, but is not paired with my App on the phone.)
With Tuya Gateway I mean an “actual” Tuya Gateway bought on Aliexpress or similar and being integrated as such in my Tuya Cloud account e.g. via the Phone App and being connected to my network via cable as well .
OK, let’s forget about the Zigbee and Wifi stuff, since it’s working fine in general and leads to confusion I think
I’m just having trouble with the Bluetooth device.
So should it work
HA (on Raspi) via Tuya Integration → (Raspi integrated) BL adapter → Fingerbot.
Or is this not possible?
(I have the feeling it’s not, since there was never an actual contact with my HA as per the diag info.)
For Tuya Bluetooth devices to work with the Tuya integration, you need a Tuya multimode (Zigbee/Bluetooth) gateway, unless you use a custom integration (E.g. the one I linked before for the fingerbot)
Thanks!
This actually looks like a solution and fits my theory.
I downloaded/installed the Tuya BLE Integration via HACS,
but when trying to actually add the Integration to HA
(via Settings → Device & Services → Add Integration → Tuya BLE)
I get this:
Config flow could not be loaded: {“message”:“Invalid handler specified”}
But when checking the files in custom_components/tuya_ble
there is actually a config_flow.py which looks fine to me
Did you experience a similar issue?
(Sorry if this is a stupid question, but I’m quite new to HA )
It seems that this is a common issue, since the project was kind of abandonded by the dev (as far as I understand).
A possible solution is described here, but unfortunately it doesn’t work for me…I guess due to newer HA version:
Edit:
…and there is even a fork by somebody integrating the known fixes, but it seems that the current HA release is always ahead of those fixes as well
Seems this whole Tuya BLE custom integration is quite a mess at the moment unfortunately.