Repository navigation
- What devices work with UnTuyaOS3?
- Why is there no OpenBeken firmware for T1?
- How do I put my device into slow-blink AP mode?
- Is it possible to backup the firmware first?
There is no simple answer for this, as the knowledge required to know generally requires serial access to the device. A wiki page for Device Compatibility has been added, but for discussion about individual devices, please see the discussions area. The short answer is most T1 (BK7238) devices, and a handful of specific BK7231N and RTL8720CF devices.
OpenBeken does not currently support the Tuya bootloader or OTA format. Their BK7238 support is currently limited to the BDK bootloader and OTA format, which requires serial flashing for Tuya devices. There isn't currently a way to change the bootloader via OTA. It would technically be possible to package a special UG image, however all subsequent OTA attempts would fail, and you'd be stuck on that version. Therefor, it is generally not advised to attempt to install OpenBeken in it's current state on Tuya based devices without serial access.
First, it is important to distinguish that there are two Tuya pairing modes:
-
EZ Modewhich makes the device blink quickly, sometimes referred to smart pairing mode. -
AP Modewhich makes the device blink slowly and broadcast a unsecured AP (ex: SmartLife-1A2B)
Every device must be put into EZ Mode before it can be put into AP Mode. Most devices can be put into pairing mode in one of two ways:
- Devices with buttons: long press (press and hold) the primary button, usually the power or toggle button, until the device starts blinking
- Devices without buttons: power-cycle the device by turning them off for approximately one second, followed by on for approximately 1 second, a set number of times. Usually this number is 3, but some device required 4 or 5, consult the instructions that came with your device.
Once a device is in EZ Mode, you must repeat the same process, and the device should switch to AP Mode
Some devices allow you to go straight to AP Mode by doing the off/on process 6 times without pausing, but some do not.
See https://support.tuya.com/en/help/_detail/K9hut3w10nby8 for more information.
If you are unsure of the reset procedure and the device already has a profile, you can view the profile at https://upk.libretiny.eu/ and search the input data for rstnum, which will indicate either how many times you must power cycle or how many seconds you must hold a button to switch between join modes.
Not via wireless methods, at least not on bk72xx platforms. Tuya-Convert allowed backups because ESP8266 had an OTA1/OTA2 partition layout, but bk72xx have a dedicated application and OTA partition, which means the old app does not survive a successful OTA process to later backup. Tuya-Convert flashed an intermediate app that would read the inactive partition. If having a backup is critical, you should do it via a serial dump.
For RTL8720CF, you can read the inactive partition if you flash ESPHome-kickstart, which has flash-reading functions built in, though tooling may currently only support storage area extraction, you can manually request larger ranges, see the hub_api external component if that is functionality you need. As soon as you do a subsequent OTA, both partitions will have been overridden and backup would no longer be possible.