logo elektroda
logo elektroda
X
logo elektroda

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

ginpachi981 3060 7
ADVERTISEMENT
  • #1 20394174
    ginpachi981
    Level 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
    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  
    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
  • #4 21813940
    caizhenbing
    Level 2  
    This device UARTTCP can't load
  • #5 21814006
    p.kaczmarek2
    Moderator Smart Home
    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.
  • ADVERTISEMENT
  • #6 21814474
    caizhenbing
    Level 2  
    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 30  
    It hangs right as UART_TCP_TRX_Thread is created.
    Unknown why. OS problems?
  • ADVERTISEMENT
  • #8 21814962
    caizhenbing
    Level 2  
    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

The discussion revolves around the W600 module, specifically the ESP-01W variant, which the user purchased mistakenly. Initially, the user found limited support for MicroPython, but later discovered OpenApp, which works effectively with the module. The user successfully flashed the device using FTL232 and wmtools.exe. Other participants noted that the W600's pinout is similar to the ESP-01, with the added benefit of not requiring the CH_EN pin, allowing for broader usage. The "PowerSave" command was confirmed to function on the W600 platform, and over-the-air (OTA) updates were successfully performed using a JavaScript application.
Summary generated by the language model.
ADVERTISEMENT