-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
[BUG/Missing] [BK7231N / CB3S] deep sleep support #134
Comments
Correct - deep sleep is not supported yet. It will be, in the future. Let's keep this issue open. |
Thanks for the reply kuba! |
This repo, the one where you're posting this issue (kuba2k2/libretiny) will stay - it's the base platform of the port. However, adding new features like this needs to be done in both of these repos. The base platform needs to expose a common API (C/C++ headers and classes) for a particular feature. Then, it can be implemented within the ESPHome HAL. |
Oh dang.. should have noticed this.. Sorry, I got confused with the repo links. In that case I'll have a look if I can get something in. Worst case will have to wait for another contributor with more knowledge of the code base. |
Hello,
I'm experimenting with libretiny and a battery powered door/window sensor.
My initial tries were done using OpenBeken, documented on this page:
https://www.elektroda.com/rtvforum/viewtopic.php?p=20586001#20586001
It uses the CB3S board with a BK7231N chip and no additional Tuya MCU, running on a battery.
After finding out about libretiny I wanted to give it a try as well.
So far the sensors work fine and connections can be established fast.
Deep Sleep support seems to be missing though.
The chip supports wake up on pin interrupt like ESP32, but it is not supported on libretiny yet.
And even when using the regular time based deep sleep it instantly wakes up again:
Device config:
bkwindow1.yaml.txt
The text was updated successfully, but these errors were encountered: