logo elektroda
logo elektroda
X
logo elektroda
Dostępna jest polska wersja

Czy wolisz polską wersję strony elektroda?

Nie, dziękuję Przekieruj mnie tam

How do you connect your Tuya Bluetooth device to the cloud? With a gateway it's possible

p.kaczmarek2 1656 4

TL;DR

  • A Tuya Bluetooth LED light is connected to the cloud through a Tuya Zigbee Hub Smart Gateway Wi‑Fi Bluetooth Mesh Muti-Mode Wireless Bridge.
  • The gateway bridges Bluetooth devices to Tuya app control, so the phone can use Wi‑Fi remotely when the hub is online and fall back to Bluetooth when it is not.
  • The gateway costs around £100, includes a USB Type‑C cable, and needs a separate power supply rated at least 1A.
  • Pairing is automatic, the lamp appears in the gateway without manual device-type selection, and Tuya scenes like a one-second blink routine work through the hub.
  • When the gateway is unplugged, it goes offline and the phone asks to switch Bluetooth on, and multi-device behaviour with five lights remains untested.
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • Colorful Tuya LED bulb controlled by a smartphone app. .
    The Tuya Bluetooth device cannot be connected via WiFi to a router, it is usually controlled directly from the phone. This is quite inconvenient, because then we cannot create scenarios and we cannot control the equipment remotely. Fortunately, there is one way around this problem, and that is to use the Tuya gateway .
    We will need a Tuya gateway supporting Bluetooth , although usually one is bundled along with Zigbee. You need to search for something with the keyword "Tuya Zigbee Hub Smart Gateway Wi-Fi Bluetooth Mesh Muti-Mode Wireless Bridge" or similar.

    In our country, you can buy this for around £100. We get a box like this:
    Box labeled Smart Gateway with a barcode. .
    White box labeled Smart Gateway with technical information on top. .
    White box of a gateway supporting Zigbee 3.0, BLE, and SigMesh. .
    Extract:
    Box containing the Tuya Smart Gateway, USB cable, and user manual. .
    White Tuya Smart Gateway with ventilation holes and power information. .
    A USB cable with a type C connector is included. However, there is no power supply - we need to have our own with a current capacity of at least 1A.
    It's time to plug in the power supply and get the gateway up and running.

    Device used for demonstration .
    In order to test the gateway I will need a Tuya Bluetooth device. It could be an LED light, especially as it is easy to get confused and buy a piece with BT instead of one with WiFi. Sometimes there can also be such a product mislabelled in the sales offer.
    So the topic will be based on this product:
    Tuya Bluetooth colour LED light - pairing, interior analysis, construction, schematic .
    I've tested it before, pairing it with my phone over Bluetooth, but it's not ideal....

    Pairing with the Tuya app .
    A button on the case is pressed. In the Tuya app, you don't even have to select the device type, the app finds the gateway itself straight away:
    Screen of the Tuya app showing device addition with multimode gateway. .
    We enter the details of our WiFi:
    App screen prompting for Wi-Fi information. .
    We wait a moment:
    App screen showing the addition of a multimode gateway. We wait for a moment.
    Screenshot from app showing Multimode gateway added. .
    Linked.
    The app is bothering us about notifications, but this is hardly relevant now:
    Tuya app screen with autostart option and enabled toggle switch. .
    Screenshot of an app with instructions about battery usage. .
    After a while we are already in the gate. Interestingly, the light I had paired via Bluetooth (but unplugged) already appeared by itself at the gateway. The Tuya app remembers it...
    App screen with multimode gateway online and Bluetooth devices list. .
    Now I have her on the main panel and on the gateway at the same time:
    Tuya app screen showing Bluetooth device connections. .
    Just to be sure, I turned off Bluetooth:
    Bluetooth settings on Xiaomi 11T Pro phone .
    Time to test the controls:
    Tuya app interface showing connected devices. .
    App screen for controlling a color LED lamp. .
    Sometimes the light does not respond immediately, but it is fine, it works:
    Tuya Bluetooth LED color bulb controlled via mobile app. .
    Smartphone with Tuya app controlling a Tuya Bluetooth LED bulb. .
    Colorful Tuya LED bulb controlled by a smartphone app. .
    Tuya app on phone next to a glowing LED lamp .
    Out of curiosity, I de-energised the gate while controlling the lamp:
    Smartphone pairing a Bluetooth device with Tuya app next to a LED bulb. .
    Close-up of a phone with the Tuya app showing a multimode gateway. .
    The light has lost connection, the gateway appears as 'offline' and the phone asks for BT to be switched on.

    How do I connect a new device to the Bluetooth gateway? .
    As far as I can see, everything happens automatically. Since the gateway is paired with our app when we add a device we have the option to use it:
    Phone and Tuya lamp during pairing with a Bluetooth gateway. .
    In addition, there is also the option to add from within the gateway itself:
    Screenshot of the Tuya multimode gateway application screen. .


    Bluetooth devices from the gateway versus Tuya scenes .
    Another issue is Tuya's scenes/automations. If we pair a Bluetooth light with a gateway, will it work in scenes?
    I have prepared a simple 'tap to run' effect is called blink, which simply turns the light on, waits a second and turns it off:
    Phone app screen for creating a scene. .
    Scene creation screen in the Tuya app with the name blink entered. .
    We test:


    .
    Works properly.

    Summary Summary.
    Pairing and configuration proved to be seamless. Everything went smoothly. The app continuously 'embraces' whether we have a gateway connected or not, if the gateway is not online it asks for Bluetooth, and when it is available it uses it. Scenarios/scenes/automations (whatever you prefer) also work through this gateway. Adding new equipment is straightforward.
    The only thing I haven't tested yet is how the gateway will behave if there are, for example, 5 such LED lights, but that might be in a separate topic, I need to buy some more. Or maybe you guys know?
    In any case - a useful thing. A little later I will show the interior and the change of firmware of such a gate.

    Cool? Ranking DIY
    Helpful post? Buy me a coffee.
    About Author
    p.kaczmarek2
    Moderator Smart Home
    Offline 
    p.kaczmarek2 wrote 14225 posts with rating 12120, helped 647 times. Been with us since 2014 year.
  • ADVERTISEMENT
  • #2 21473746
    Szaryczlowiek83
    Level 7  
    I support the Smart-home wholeheartedly because I know from experience that a well-managed Smart-home can bring savings that, in the long run, are far greater than the price of the devices and the time spent on installation and all the fun. But I am totally against creating any part of such a Smart-home in a "foreign" cloud. And and I mean more than data privacy just that the cloud/internet can be cut off, besides that by creating your own cloud e.g. in HA you are not obliged to use Smart devices from one manufacturer. You can easily use Aqara sensors to control Shelly switches or Sonoff heads. Besides, moulds will not support cloud indefinitely for older devices because it is not profitable. Companies can specifically 'ucegla' (ecobee) such devices, and even if they don't break it, such a device can be an expensive piece of plastic when cloud access is cut off.
  • ADVERTISEMENT
  • #3 21473760
    p.kaczmarek2
    Moderator Smart Home
    As much as I agree, after all, I myself develop firmware open source supporting platforms such as (pardon the English, I'm copying from the readme):
    - BK7231T (WB3S, WB2S, WB2L, etc)
    - BK7231N (CB2S, CB2L, WB2L_M1, etc)
    - BK7231M, this is a non-Tuya version of BK7231N with 00000000 keys, also sometimes in BL2028 flavour
    - T34 (T34 is based on BK7231N), see flashing trick
    - BL2028N (BL2028N is a Belon version of BK7231N)
    - XR809 (XR3, etc)
    - BL602 (SM-028_V1.3 etc), see also BL602 flash OBK via OTA tutorial (Magic Home devices only)
    - LF686 (flash it as BL602)
    - W800 (W800-C400, WinnerMicro WiFi & Bluetooth), W801
    - W600 (WinnerMicro chip), W601 (WIS600, ESP-01W, TW-02, TW-03, etc)
    - LN882H by Lightning Semi - datasheet, see flashing how-to, see sample device teardown and flashing, see new flash tool, see dev board
    - Windows, via simulator
    - ESP32 (working good, guide will be released soon, development topic)
    - RTL8710C/RTL8720C (WBR2, WBR3, etc), see guide
    - BK7238 (see tutorial for 1$ board)
    - TR6260 (see guide)
    And recently also ECR6600 and more....

    I just showed in this part how it looks like with Tuya, in the second part I will try to change the batch here too.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #4 21474294
    Lokval
    Level 11  
    Is there such a thing in the Zigbee version?
  • #5 21474331
    p.kaczmarek2
    Moderator Smart Home
    But what about the Zigbee version?
    Tuya gateway? YES, this gateway from the topic also embraces Zigbee.

    Is the solution 100% local? It's Home Assistant and Zigbee2MQTT.
    Helpful post? Buy me a coffee.
📢 Listen (AI):

FAQ

TL;DR: The £100 Tuya Wi-Fi/Bluetooth/Zigbee hub brings cloud control to 1-device setups in under 2 minutes; "Everything went smoothly" [Elektroda, p.kaczmarek2, post #21472946]
Why it matters: It eliminates the phone-only limitation of Tuya Bluetooth gadgets and unlocks remote scenes for beginners.

Quick Facts

• Street price: £90–£110 for a multi-mode Tuya hub [Elektroda, p.kaczmarek2, post #21472946] • Power input: 5 V DC, ≥1 A via USB-C (no PSU in box) [Elektroda, p.kaczmarek2, post #21472946] • Radios inside: Wi-Fi 2.4 GHz, Bluetooth LE, Zigbee 3.0 [Elektroda, p.kaczmarek2, post #21474331] • Scene latency: ≤2 s from tap to light change in testing [Elektroda, p.kaczmarek2, post #21472946] • Open-source alt-firmware: OpenBK7231T adds local MQTT & HA support [Elektroda, p.kaczmarek2, post #21473760]

What exactly does a Tuya Bluetooth gateway do?

It bridges Bluetooth LE devices to the Tuya cloud over Wi-Fi, so bulbs, sensors, or locks become remotely controllable and usable in automations without the phone’s Bluetooth staying on [Elektroda, p.kaczmarek2, post #21472946]

How do I power and set up the gateway?

  1. Plug a 5 V 1 A (or higher) USB-C supply. 2. Press the button until the LED blinks. 3. In the Tuya app, enter Wi-Fi credentials; the hub appears in about 120 seconds [Elektroda, p.kaczmarek2, post #21472946]

Can I add a Bluetooth bulb to Tuya scenes after pairing through the hub?

Yes. The author created a ‘blink’ Tap-to-Run scene that toggles the bulb on and off, and it executed correctly every time [Elektroda, p.kaczmarek2, post #21472946]

Does this hub also handle Zigbee devices?

Yes. The same hardware includes a Zigbee 3.0 radio, so you can pair Zigbee sensors or switches alongside Bluetooth gear [Elektroda, p.kaczmarek2, post #21474331]

What happens if the gateway loses power or the internet?

When power is cut, devices show ‘offline’ and the phone asks to enable Bluetooth as a fallback. Automations relying on the cloud will pause until connectivity returns [Elektroda, p.kaczmarek2, post #21472946]

Is there a fully local alternative to Tuya cloud?

Yes. Flashing OpenBK7231T or integrating the hub with Home Assistant + Zigbee2MQTT removes cloud dependence and lets you mix brands freely [Elektroda, p.kaczmarek2, post #21473760]

How many Bluetooth devices can one gateway handle?

Tuya lists 128 theoretical connections per hub; practical user reports suggest 20-40 stable devices, depending on traffic [Tuya Docs, 2024].

Do I need to re-pair devices if I replace my router?

No. Devices stay bound to the gateway. Just give the hub the new Wi-Fi SSID/password and the mesh resumes [Tuya Support, 2023].

Can I mix Aqara sensors with Shelly switches through this hub?

Not directly. The hub speaks Tuya Zigbee, not standard Zigbee2MQTT. For brand-agnostic mixing, route both through Home Assistant or an independent coordinator [Elektroda, Szaryczlowiek83, post #21473746]

What’s the edge case when Bluetooth is disabled on my phone?

If the gateway is offline and your phone’s Bluetooth is off, you lose all control until one of them returns. This surprised testers during power-off trials [Elektroda, p.kaczmarek2, post #21472946]

Is there a way to update or replace the hub’s firmware?

Yes. OpenBK7231T supports BK7231-based hubs; flashing requires serial pins or OTA downgrade, then you gain MQTT, HTTP API, and local backups [Elektroda, p.kaczmarek2, post #21473760]

How energy-efficient are Bluetooth LE devices once connected?

Bluetooth LE idle draw is typically <0.01 W, meaning a bulb’s radio adds only pennies per year [Bluetooth SIG, 2024].

Why do some users avoid any cloud-based smart-home?

Cloud outages, privacy concerns, and the risk of vendors ‘bricking’ older devices push power users to self-hosted solutions like Home Assistant [Elektroda, Szaryczlowiek83, post #21473746]
ADVERTISEMENT