rospogrigio / localtuya

local handling for Tuya devices
GNU General Public License v3.0
2.96k stars 563 forks source link

Adding Tuya Bluetooth Lights #911

Open hackintoshlover opened 2 years ago

hackintoshlover commented 2 years ago

Hi, I am trying to add bluetooth light by tuya which has colour control that can make the light go from yellow to white and reverse, also brightness control. The device is based on BT3L chip by tuya https://developer.tuya.com/en/docs/iot/br3l?id=K97rpns8f6xwh How do i add it to the integration and control it? Can you guide me through something to get started on with the same?

KTibow commented 2 years ago

As far as I know, this integration is WiFi only, and doesn't support Bluetooth.

felipecrs commented 2 years ago

It would be really nice if localtuya could implement Tuya's bluetooth protocol so that we could drop the need for bluetooth hubs.

Home Assistant has now first class support for Bluetooth-based integrations:

https://www.home-assistant.io/integrations/bluetooth/

AapoTahkola commented 1 month ago

I think I have figured out most of the what is happening with loginovo Tuya rgbwv bulb which cost <3 euro. I am using esp32 with arduino to snoop and now just trying to craft a packet to do the job. It does not seem encrypted. The chip is 16 pin package with text: b1sc we21 2414emp183 and 16 mhz crystal, could even be 8 bit microcontroller with bluetooth le, idk it looks really cheap.