So, if the device is plugged in via battery, it is almost impossible to do any meaningful configuration with because the MCU powers off so soon. Almost immediately after gaining an IP address, the device will power off. This is all I manage to capture:
Info:MAIN:Main_Init_Before_Delay
Info:CFG:####### Boot Count 128 #######
Warn:CFG:CFG_InitAndLoad: Correct config has been loaded with 16 changes count.
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 [****]
Info:MQTT:MQTT_RegisterCallback called for bT obk8C428848/ subT obk8C428848/+/set
Info:MQTT:MQTT_RegisterCallback called for bT obks/ subT obks/+/set
Info:MQTT:MQTT_RegisterCallback called for bT cmnd/obk8C428848/ subT cmnd/obk8C428848/+
Info:MQTT:MQTT_RegisterCallback called for bT cmnd/obks/ subT cmnd/obks/+
Info:MQTT:MQTT_RegisterCallback called for bT obk8C428848/ subT obk8C428848/+/get
Info:MQTT:MQTT_RegisterCallback called for bT homeassistant/ subT homeassistant/+
Info:CMD:CMD_StartScript: started @startup at the beginning
Info:CMD:CMD_StartScript: started autoexec.bat at the beginning
Info:MAIN:Started TuyaMCU.
Info:MAIN:Started tmsensor.
Info:GEN:Channel 1 type changed to temperature_div10
Info:GEN:Channel 2 type changed to Humidity
Info:MAIN:Main_Init_After_Delay done
Info:HTTP:TCP server listening
Info:MAIN:Time 1, idle 219987/s, free 131536, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/24
Info:TuyaMCU:Received: 55 AA 03 01 00 46 7B 22 70 22 3A 22 70 78 72 6D 78 79 35 7A 7A 7A 68 66 6B 6C 78 68 22 2C 22 76 22 3A 22 31 2E 30 2E 30 22 2C 22 6D 22 3A 31 2C 22 6D 74 22 3A 31 2C 22 6E 22 3A 30 2C 22 6C 6F 77 22 3A 31 2C 22 73 6D 22 3A 30 7D D7
Info:TuyaMCU:ProcessIncoming[v=3]: cmd 1 (QueryProductInformation) len 77
Info:TuyaMCU:ParseQueryProductInformation: received {"p":"pxrmxy5zzzhfklxh","v":"1.0.0","m":1,"mt":1,"n":0,"low":1,"sm":0}
Info:MAIN:Time 2, idle 161633/s, free 131536, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/24
Info:MAIN:Time 3, idle 171659/s, free 131536, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/24
Info:MAIN:Boot complete time reached (2 seconds)
Info:CFG:####### Set Boot Complete #######
Info:MAIN:Time 4, idle 165226/s, free 131536, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/24
Info:MAIN:Time 5, idle 168785/s, free 131536, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/24
Info:MAIN:Registered for wifi changes
Info:MAIN:Connecting to SSID [****]
Info:MAIN:Time 6, idle 0/s, free 120168, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/24
Info:MAIN:Time 7, idle 0/s, free 118664, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/24
Info:MAIN:Main_OnWiFiStatusChange - WIFI_STA_CONNECTED - 4
Info:MAIN:Time 8, idle 82475/s, free 124120, MQTT 0(0), bWifi 1, secondsWithNoPing -1, socks 2/24
Info:TuyaMCU:Received: 55 AA 03 02 00 00 04
Info:TuyaMCU:ProcessIncoming[v=3]: cmd 2 (MCUconf) len 7
Info:TuyaMCU:ProcessIncoming: TUYA_CMD_MCU_CONF, TODO!
Info:MAIN:Time 9, idle 182450/s, free 123536, MQTT 0(0), bWifi 1, secondsWithNoPing -1, socks 3/24
Info:MQTT:mqtt_userName mqtt_user
mqtt_pass ********
mqtt_clientID obk8C428848
mqtt_host 192.168.10.240:1883
Info:MAIN:Time 10, idle 184234/s, free 118376, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/24
Info:GEN:dhcp=0 ip=192.168.20.189 gate=192.168.20.1 mask=255.255.255.0 mac=c8:47:8c:42:88:48
Info:GEN:sta: 1, softap: 0, b/g/n
Info:GEN:sta:rssi=-48,ssid=****t,bssid=a6:93:09:15:10:40,channel=6,cipher_type:MIXED3
Info:MQTT:mqtt_connection_cb: Successfully connected
Info:MQTT:mqtt_subscribed to obk8C428848/+/set
Info:MQTT:mqtt_subscribed to obks/+/set
Info:MQTT:mqtt_subscribed to cmnd/obk8C428848/+
Info:MQTT:mqtt_subscribed to cmnd/obks/+
Info:MQTT:mqtt_subscribed to obk8C428848/+/get
Info:MQTT:mqtt_subscribed to homeassistant/+
Info:MAIN:Time 11, idle 167978/s, free 118464, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/24
Info:TuyaMCU:Received: 55 AA 03 02 00 00 04
Info:TuyaMCU:ProcessIncoming[v=3]: cmd 2 (MCUconf) len 7
Info:TuyaMCU:ProcessIncoming: TUYA_CMD_MCU_CONF, TODO!
Info:MAIN:Time 12, idle 189110/s, free 118464, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/24
Info:MAIN:Time 13, idle 186308/s, free 118464, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/24
Info:MAIN:Time 14, idle 182745/s, free 118464, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/24
Info:MAIN:Time 16, idle 188996/s, free 118464, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/24
Info:MAIN:Time 19, idle 180665/s, free 118464, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/24
TempSensor and Humidity output still 0 on index page.