OpenBK7231T_App icon indicating copy to clipboard operation
OpenBK7231T_App copied to clipboard

Is it possible to wake up deep sleeping Tuya CBU either by time or button press ?

Open deepcoder opened this issue 1 year ago • 3 comments

I am interested in creating a battery powered device that will wake up either via the DeepSleep command set to 5 minutes or if a button is pressed on the device via PinDeepSleep command. Is it possible to have both events active on a CBU BK7231N Tuya device? I would like to repurpose a Door/Window device that does NOT have a Tuya MCU for this project.

How would I script this in the autoexec.bat ?

Thx!

deepcoder avatar Jan 26 '24 01:01 deepcoder

We have it in SDK, but it's not yet integrated to OBK: https://github.com/openshwprojects/OpenBK7231N/pull/18 I need to find a moment to do that, or would you like to try?

openshwprojects avatar Jan 27 '24 23:01 openshwprojects

Thank you for the reply, info and your work.

If by 'would you like to try' you mean testing a .bin firmware file with this function, yes I would be happy and interested to try it on the project I am attempting. Please let me know how I can effectively test it for you.

deepcoder avatar Jan 27 '24 23:01 deepcoder

I would like to see this implemented in OBK too, I keep an eye here.

logon84 avatar Feb 27 '24 14:02 logon84