p.kaczmarek2 wrote:So you can open connection to port 80 but it sends nothing?
this seems to be the case. port is open...
Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tam
Error:HTTP:Created HTTP SV thread with (stack=2048)
ADDLOG_ERROR(LOG_FEATURE_HTTP, "TCP will process packet of len %i\n", request.receivedLen );
Error:HTTP:TCP will process packet of len 479
ADDLOG_ERROR(LOG_FEATURE_HTTP, "TCP sending reply len %i\n", lenret);
ADDLOG_ERROR(LOG_FEATURE_HTTP, "TCP sending reply len %i\n", lenret);
http://192.168.0.163/testmsg
#define OUR_CUSTOM_SYSINFO_ADR PRJCONF_SYSINFO_ADDR
p.kaczmarek2 wrote:https://github.com/openshwprojects/FlashDumps/commit/b52dbd6579eec97b94533ce9b0094b130fa082be
p.kaczmarek2 wrote:please open a PR if it wasn't opened and merged yet.
p.kaczmarek2 wrote:but then make sure your change is in #if PLATFORM_XR806 so we dont break other XRs, there are now 3 of them (XR809, XR806, XR872)
TL;DR: With 320 KB SRAM and a quoted breakthrough — "XR auth disabled" — this FAQ shows XR806/WXU thermostat modders how to open Tuya TRVs, dump firmware, build XR806 SDK demos, and understand why OpenBeken now boots and serves a web UI, while Wi‑Fi stability and TuyaMCU work still need fixes. [#21524634]
Why it matters: This thread turns a vague "WXU might be XR806" hunch into a repeatable path for teardown, flashing, SDK builds, and first-boot OpenBeken testing on real Tuya thermostats.
| Option | Result in thread | Main limitation |
|---|---|---|
| Stock Tuya WXU firmware on original device | Boots, exposes TuyaOS logs, Wi‑Fi + BLE seen | Closed firmware, no alternative control path proven |
| Dumped WXU image flashed onto XR809 | Did not boot | XR806/XR809 firmware mismatch |
| XR806 SDK demos | hello_demo and Wi‑Fi demos built and ran | menuconfig options needed |
| OpenBeken on XR806/WXU | Boots and later serves web UI | Wi‑Fi, config, MAC, and TuyaMCU issues remained during testing |
Key insight: The project stopped being blocked by flashing and basic booting. The real breakthroughs were proving that WXU is XR806-class hardware in practice, and then finding that the missing XR806 web GUI was caused by HTTP auth behavior, not a dead HTTP server.
make menuconfig, then make build or make image. This flow worked under WSL2 after GCC and ncurses were fixed. [#21432260]lwip/netif.h failure appeared while building at_demo, and enabling lwIP, WLAN, AP/STA options, and OTA made the build progress. The thread also called out CONFIG_WLAN_AP, CONFIG_WLAN_STA, CONFIG_WLAN_MONITOR, and PRJCONF_NET_EN as required for full WLAN command support. [#21430812]ERR_CONNECTION_TIMED_OUT or ERR_EMPTY_RESPONSE. That proved the failure was in request handling or response generation, not in AP mode or TCP accept itself. [#21524592]HTTP packet with auth fail messages. After changing the XR806 auth behavior, logs switched to XR auth disabled and postany: send ..., and the custom OpenBeken page finally loaded. That was the first confirmed custom HTTP page running on XR806 in the thread. [#21524634]upgrade command that could avoid manual boot-pin grounding. In practice, it was the main tool for dumping firmware, restoring backups, and verifying whether new XR806 builds booted. [#21430654]