Hello,
i have a Tuya/Smart Life ceiling fan with the following structure:
- WiFi module: CBU / BK7231N
- external MCU: RD 32F030GMS58
- OpenBeken: OpenBK7231N_QIO_1.18.288
- Original firmware works: Remote control, light, fan and direction change work perfectly
- OBK basically works: WLAN/WebUI is online
- P24 and P26 control the two light channels WW/CW via PWM
- no other tested GPIO controls the fan
- i therefore assume that the fan and direction change run via the external MCU
Problem:
The TuyaMCU driver in OpenBeken starts, but I do not get any valid TuyaMCU frames.
Tested commands:
startDriver TuyaMCU
tuyaMcu_defWiFiState 4
tuyaMcu_sendQueryState
tuyaMcu_setBaudRate 9600
tuyaMcu_setBaudRate 115200
Also tested:
- Flag 26 activated and deactivated, each with reboot
- ExtraDebug activated
- GPIO Doctor: all GPIOs tested; only P24/P26 affect the light
- no heartbeat response
- no product information
- no DPIDs
- no 55-AA frames in the log
The log only shows the meaning:
Starting TuyaMCU
Started TuyaMCU
After that nothing more comes from TuyaMCU.
My key question:
Is flag 26 the right way to do this, or is there another command, flag or possibly a special build?
I can provide photos of the board, logs and also the original backup if needed.
What exact make/model is the ceiling fan or is there a nameplate/listing link?
Fan Light HLF-002
i have a Tuya/Smart Life ceiling fan with the following structure:
- WiFi module: CBU / BK7231N
- external MCU: RD 32F030GMS58
- OpenBeken: OpenBK7231N_QIO_1.18.288
- Original firmware works: Remote control, light, fan and direction change work perfectly
- OBK basically works: WLAN/WebUI is online
- P24 and P26 control the two light channels WW/CW via PWM
- no other tested GPIO controls the fan
- i therefore assume that the fan and direction change run via the external MCU
Problem:
The TuyaMCU driver in OpenBeken starts, but I do not get any valid TuyaMCU frames.
Tested commands:
startDriver TuyaMCU
tuyaMcu_defWiFiState 4
tuyaMcu_sendQueryState
tuyaMcu_setBaudRate 9600
tuyaMcu_setBaudRate 115200
Also tested:
- Flag 26 activated and deactivated, each with reboot
- ExtraDebug activated
- GPIO Doctor: all GPIOs tested; only P24/P26 affect the light
- no heartbeat response
- no product information
- no DPIDs
- no 55-AA frames in the log
The log only shows the meaning:
Starting TuyaMCU
Started TuyaMCU
After that nothing more comes from TuyaMCU.
My key question:
Is flag 26 the right way to do this, or is there another command, flag or possibly a special build?
I can provide photos of the board, logs and also the original backup if needed.
What exact make/model is the ceiling fan or is there a nameplate/listing link?
Fan Light HLF-002