Skip to content
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

Battery-powered device support #98

Open
pavel211 opened this issue Jun 23, 2022 · 5 comments
Open

Battery-powered device support #98

pavel211 opened this issue Jun 23, 2022 · 5 comments

Comments

@pavel211
Copy link

pavel211 commented Jun 23, 2022

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.

@dskw
Copy link

dskw commented Oct 10, 2022

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
Copy link

dskw commented Nov 14, 2022

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

@btsimonh
Copy link
Collaborator

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....

@bernd-wechner
Copy link

I have a set of Tuya sensors with CBU chips:

image

and I've logged their uptime reports from (using the Tuya developers portal):

image

That's with the standard firmware of course, and if reflashed we'd want comparable performance for battery conservation.

@dskw
Copy link

dskw commented May 18, 2023

EDIT:
Noticed my message does not belong in here.
I've instead made a new post in the Elektroda forums:
https://www.elektroda.com/rtvforum/viewtopic.php?p=20585724#20585724

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants