OpenBK7231T_App icon indicating copy to clipboard operation
OpenBK7231T_App copied to clipboard

Battery-powered device support

Open pavel211 opened this issue 2 years ago • 1 comments

Hi!

Can your program work with battery-powered devices, such as a door opening sensor?

For example, this: https://templates.blakadder.com/TY01.html

I bought several such sensors with CB3S controllers, but it is impossible to link them locally with the standard firmware, no TUYA-MQTT converters work, the device simply does not have time to respond to the request and turns off.

pavel211 avatar Jun 23 '22 08:06 pavel211

Hi, I have just bought some previously ESP8266 equipped window/door sensors and they also got switched for a new generation by now.

Looks like more and more devices are being exchanged by now which makes it more interesting to have battery powered device support built into the OpenBeken firmware.

This device in particular uses a CB3S chip which hosts a BK7231N and bluetooth capabilities. I was able to flash the firmware through the pins on the module as a test and get a reed sensor status update through the tuyaMCU driver on channel 2.

I don't know enough about the tuyaMCU driver or how to extend it's implementation to do it myself, but I could try to have a look once I find some time on my hands. Any hints where to start? Can I just cross compare the implementation with Tasmota and remap pins or something?

image

dskw avatar Oct 10 '22 14:10 dskw

bump because Tuya integration in HA is really crappy right now and the device is flashable, but lacks software support for deepsleep etc.

dskw avatar Nov 14 '22 21:11 dskw

for door sensors, I use the MI BLE version, 2032 lasts about a year. I use TAS on ESP32 to listen to the BLE adverts....

btsimonh avatar Nov 15 '22 05:11 btsimonh