logo elektroda
logo elektroda
X
logo elektroda

[W600] ESP-01W WIS600 freestrong W600 WinnerMicro OpenBeken support

ginpachi981 3573 7
ADVERTISEMENT
  • OpenApp works on W600 after RX1-to-GND flash

    #1 20394174
    ginpachi981
    Level 2  
    Posts: 2
    Bought this one off aliexpress (similar link) a few years ago by mistake, there was only scarce micropython library that didn't support much. Found OpenApp today and was pleasantly surprised.
    [W600] ESP-01W WIS600 freestrong W600 WinnerMicro OpenBeken support
    [W600] ESP-01W WIS600 freestrong W600 WinnerMicro OpenBeken support
    [W600] ESP-01W WIS600 freestrong W600 WinnerMicro OpenBeken support
    [W600] ESP-01W WIS600 freestrong W600 WinnerMicro OpenBeken support
    [W600] ESP-01W WIS600 freestrong W600 WinnerMicro OpenBeken support
    [W600] ESP-01W WIS600 freestrong W600 WinnerMicro OpenBeken support
    Not really a teardown, but OpenApp does work flawlessly. Flashed it by pulling RX1 to GND with FTL232 using wmtools.exe. Idea is for this topic to pop up if someone googles it :)
  • ADVERTISEMENT
  • #2 20394224
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14797
    Help: 659
    Rate: 12954
    Nice, thanks, I didnt even know there is a such W600 form board. I assume the pinout is the same as in the famous ESP board?

    Btw, have you tried "PowerSave" command? As far as I know, it works even on W600 platform (on Beken as well!)

    @iprak should be proud, it's his contribution to our project (porting, fixing, Ha Discovery and much more)
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 20394400
    ginpachi981
    Level 2  
    Posts: 2
    Yeah, it is similar to ESP-01, except it doesn't have nor need CH_EN, which adds one more pin for broad use. I tried powersave and it works nicely. OTA worked with JavaScript app
    Thank you :D
  • ADVERTISEMENT
  • #4 21813940
    caizhenbing
    Level 2  
    Posts: 3
    This device UARTTCP can't load
  • Enable UartTCP in obk_config.h and rebuild

    #5 21814006
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14797
    Help: 659
    Rate: 12954
    Driver UARTTCP is not included in default builds. You need to enable it in obk_config.h and rebuild. Luckily, OpenBeken features a very flexible build system that allows you to build binaries directly on GitHub - no toolchains required!
    https://github.com/openshwprojects/OpenBK7231T_App/blob/main/src/obk_config.h
    Please consult this guide to see how to use online builds:
    https://www.elektroda.com/rtvforum/topic4033833.html
    Long story short, you basically edit obk_config.h and create your own branch/fork, you can also open it as a pull request, and binaries will be build there as "GitHub artifacts".

    For related #define, see our docs there:
    https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/drivers.md
    Quote:

    UartTCP UART to TCP bridge, mainly for WiFi Zigbee coordinators.
    Enabled by defining "ENABLE_DRIVER_UART_TCP" for your platform in obk_config.h (for Details see here).
    See also UartTCP on forum.
    Helpful post? Buy me a coffee.
  • W600 boot log and JSON config example

    #6 21814474
    caizhenbing
    Level 2  
    Posts: 3
    I aready to do that
    https://github.com/openshwprojects/OpenBK7231T_App/issues/1952

    {
    "vendor": "Tuya",
    "bDetailed": "0",
    "name": "Full Device Name Here",
    "model": "enter short model name here",
    "chip": "W600",
    "board": "TODO",
    "flags": "1024",
    "keywords": [
    "TODO",
    "TODO",
    "TODO"
    ],
    "pins": {
    "10": "WifiLED_n;0"
    },
    "command": "",
    "image": "https://obrazki.elektroda.pl/YOUR_IMAGE.jpg",
    "wiki": "https://www.elektroda.com/rtvforum/topic_YOUR_TOPIC.html"
    }

    Info:MAIN:Main_Init_Before_Delay
    Info:CFG:####### Boot Count 104 #######
    Info:CFG:####### HAL_FlashVars_GetBootFailures= 1
    Warn:CFG:CFG_InitAndLoad: Correct config has been loaded with 176 changes count.
    Info:NTP:CLOCK driver initialized.
    Error:CMD:no file early.bat err -2
    Info:GEN:PIN_SetupPins pins have been set up.
    Info:MAIN:Main_Init_Before_Delay done
    Info:MAIN:Main_Init_Delay
    Info:MAIN:Main_Init_Delay done
    Info:MAIN:Main_Init_After_Delay
    Info:MAIN:Using SSID []
    Info:MAIN:Using Pass []
    Error:HTTP:Created HTTP SV thread with (stack=2048)
    Info:MQTT:MQTT_RegisterCallback called for bT w600CD32ACB4/ subT w600CD32ACB4/+/set
    Info:MQTT:MQTT_RegisterCallback called for bT w600s/ subT w600s/+/set
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/w600CD32ACB4/ subT cmnd/w600CD32ACB4/+
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/w600s/ subT cmnd/w600s/+
    Info:MQTT:MQTT_RegisterCallback called for bT w600CD32ACB4/ subT w600CD32ACB4/+/get
    Info:MQTT:MQTT_RegisterCallback called for bT homeassistant/ subT homeassistant/+
    Info:CMD:CMD_StartScript: started @startup at the beginning
    Info:CMD:LFS_ReadFile: failed to file autoexec.bat
    Info:CMD:CMD_StartScript: failed to get file autoexec.bat
    Info:MAIN:Main_Init_After_Delay done


    OpenW600_CD32ACB4
    0 drivers active, total: 6
    Cfg size: 2016, change counter: 254, ota counter: 0, incomplete boots: 1
    Chip temperature: 35.7°C
    Wifi RSSI: Fair (-60dBm)
    MQTT State: not configured
  • #7 21814948
    insmod
    Level 31  
    Posts: 1432
    Help: 168
    Rate: 455
    It hangs right as UART_TCP_TRX_Thread is created.
    Unknown why. OS problems?
  • ADVERTISEMENT
  • #8 21814962
    caizhenbing
    Level 2  
    Posts: 3
    insmod wrote:
    It hangs right as UART_TCP_TRX_Thread is created.
    Unknown why. OS problems?


    When the UARTTCP loading instruction is entered, the device stops responding and reboots. The specific reason is unclear.

Topic summary

LABEL_AI_GENERATED
A W600-based ESP-01W / WIS600 Freestrong module from AliExpress was successfully flashed with OpenBeken/OpenApp using wmtools.exe by pulling RX1 to GND through an FTL232 adapter. The board is similar to an ESP-01 but does not require CH_EN, and PowerSave mode works correctly. OTA update also worked via the JavaScript app. Later discussion focused on OpenBeken support for UARTTCP on W600: the driver is not included in default builds and must be enabled in obk_config.h and rebuilt, but attempts to load UARTTCP caused the device to hang or reboot when UART_TCP_TRX_Thread started.
AI summary based on the discussion. May contain errors.
ADVERTISEMENT