Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tamInfo:MAIN:Main_Init_Before_Delay
Info:CFG:####### Boot Count 63 #######
Warn:CFG:CFG_InitAndLoad: Correct config has been loaded with 63 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 [Pandora]
Info:MAIN:Using Pass [oxajfi12]
Info:MQTT:MQTT_RegisterCallback called for bT obkTH08B/ subT obkTH08B/+/set
Info:MQTT:MQTT_RegisterCallback called for bT TH08B/ subT TH08B/+/set
Info:MQTT:MQTT_RegisterCallback called for bT cmnd/obkTH08B/ subT cmnd/obkTH08B/+
Info:MQTT:MQTT_RegisterCallback called for bT cmnd/TH08B/ subT cmnd/TH08B/+
Info:MQTT:MQTT_RegisterCallback called for bT obkTH08B/ subT obkTH08B/+/get
Info:CMD:CMD_StartScript: started autoexec.bat at the beginning
Info:MAIN:Main_Init_After_Delay done
Info:MAIN:Started TuyaMCU.
Info:MAIN:Started tmSensor.
Info:NTP:NTP driver initialized with server=217.147.223.78, offset=0
Info:MAIN:Started NTP.
Info:NTP:NTP offset set
Info:MAIN:Time 1, idle 267682/s, free 78392, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 2, idle 189145/s, free 78392, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 3, idle 189464/s, free 78392, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 4, idle 189460/s, free 78392, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 5, idle 189155/s, free 78392, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:ssid:Pandora key:#######
Info:MAIN:Time 6, idle 190557/s, free 73040, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Boot complete time reached (5 seconds)
Info:CFG:####### Set Boot Complete #######
Info:MAIN:Time 7, idle 182770/s, free 73040, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 8, idle 82748/s, free 73192, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 9, idle 0/s, free 73192, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 10, idle 0/s, free 73192, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:GEN:dhcp=0 ip=0.0.0.0 gate=0.0.0.0 mask=0.0.0.0 mac=c8:47:8c:00:00:00
Info:GEN:sta: 0, softap: 0, b/g/n
Info:MAIN:Main_OnWiFiStatusChange - WIFI_STA_CONNECTING - 1
Info:MAIN:Main_OnWiFiStatusChange - WIFI_STA_CONNECTED - 4
Info:NTP:NTP_SendRequest: Unable to send message
Info:MAIN:Time 11, idle 93625/s, free 73448, MQTT 0(0), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Main_OnWiFiStatusChange - WIFI_STA_CONNECTED - 4
Info:MAIN:Time 12, idle 188009/s, free 73208, MQTT 0(0), bWifi 1, secondsWithNoPing -1, socks 3/38
Info:MQTT:mqtt_host empty, not starting mqtt
Info:NTP:Seconds since Jan 1 1900 = 3919318114
Info:NTP:Unix time : 1710340114
Info:NTP:Local Time : 2024/03/13 14:28:34
Info:MAIN:Time 13, idle 185562/s, free 73400, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 14, idle 197120/s, free 73400, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 15, idle 187190/s, free 73424, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 16, idle 188647/s, free 73384, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 17, idle 191322/s, free 73384, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 18, idle 201176/s, free 64768, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 3/38
Info:MAIN:Time 19, idle 186662/s, free 73384, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 20, idle 188613/s, free 73384, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:GEN:dhcp=0 ip=192.168.31.28 gate=192.168.31.1 mask=255.255.255.0 mac=c8:47:8c:00:00:00
Info:GEN:sta: 1, softap: 0, b/g/n
Info:GEN:sta:rssi=-33,ssid=Pandora,bssid=88:c3:97:51:c0:02,channel=13,cipher_type:CCMP
Info:MAIN:Time 21, idle 188097/s, free 73384, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 22, idle 189483/s, free 73384, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 23, idle 191107/s, free 73384, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 24, idle 191274/s, free 73384, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 25, idle 190417/s, free 73384, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 26, idle 191533/s, free 73384, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 27, idle 190010/s, free 73384, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 28, idle 190606/s, free 73384, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MQTT:mqtt_host empty, not starting mqtt
Info:MAIN:Time 29, idle 191917/s, free 73384, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 30, idle 190709/s, free 73384, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:GEN:dhcp=0 ip=192.168.31.28 gate=192.168.31.1 mask=255.255.255.0 mac=c8:47:8c:00:00:00
Info:GEN:sta: 1, softap: 0, b/g/n
Info:GEN:sta:rssi=-33,ssid=Pandora,bssid=88:c3:97:51:c0:02,channel=13,cipher_type:CCMP
Info:MAIN:Time 31, idle 188271/s, free 73384, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 32, idle 190187/s, free 73384, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 33, idle 191900/s, free 73384, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 34, idle 191917/s, free 73384, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 35, idle 189111/s, free 64768, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 3/38
Info:MAIN:Time 36, idle 192628/s, free 73384, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 37, idle 190271/s, free 73384, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 38, idle 189940/s, free 73384, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 39, idle 189214/s, free 73384, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 40, idle 200672/s, free 73384, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:GEN:dhcp=0 ip=192.168.31.28 gate=192.168.31.1 mask=255.255.255.0 mac=c8:47:8c:00:00:00
Info:GEN:sta: 1, softap: 0, b/g/n
Info:GEN:sta:rssi=-34,ssid=Pandora,bssid=88:c3:97:51:c0:02,channel=13,cipher_type:CCMP
Info:MAIN:Time 41, idle 188222/s, free 73384, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 42, idle 190989/s, free 73384, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 43, idle 187511/s, free 73384, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 44, idle 189768/s, free 73384, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MQTT:mqtt_host empty, not starting mqtt
Info:MAIN:Time 45, idle 191667/s, free 73384, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 46, idle 193924/s, free 73384, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 47, idle 187959/s, free 73384, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 48, idle 190248/s, free 73384, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 49, idle 381095/s, free 73384, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 50, idle 188932/s, free 73384, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:GEN:dhcp=0 ip=192.168.31.28 gate=192.168.31.1 mask=255.255.255.0 mac=c8:47:8c:00:00:00
Info:GEN:sta: 1, softap: 0, b/g/n
Info:GEN:sta:rssi=-34,ssid=Pandora,bssid=88:c3:97:51:c0:02,channel=13,cipher_type:CCMP
Info:MAIN:Time 51, idle 185990/s, free 64768, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 3/38
Info:MAIN:Time 52, idle 188907/s, free 73384, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 53, idle 191372/s, free 73400, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 54, idle 189481/s, free 73400, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 55, idle 188529/s, free 73400, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 56, idle 191285/s, free 73400, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 57, idle 189013/s, free 73400, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 58, idle 192858/s, free 73400, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 59, idle 187314/s, free 73400, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 60, idle 193778/s, free 73400, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:GEN:dhcp=0 ip=192.168.31.28 gate=192.168.31.1 mask=255.255.255.0 mac=c8:47:8c:00:00:00
Info:GEN:sta: 1, softap: 0, b/g/n
Info:GEN:sta:rssi=-36,ssid=Pandora,bssid=88:c3:97:51:c0:02,channel=13,cipher_type:CCMP
Info:MQTT:mqtt_host empty, not starting mqtt
Info:MAIN:Time 61, idle 186099/s, free 73400, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 62, idle 193551/s, free 73400, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 63, idle 187095/s, free 73400, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 64, idle 190241/s, free 73400, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 65, idle 191354/s, free 73400, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 66, idle 192053/s, free 73400, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 67, idle 187450/s, free 73400, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 68, idle 191469/s, free 73400, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 69, idle 188985/s, free 73400, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 70, idle 191476/s, free 73400, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:GEN:dhcp=0 ip=192.168.31.28 gate=192.168.31.1 mask=255.255.255.0 mac=c8:47:8c:00:00:00
Info:GEN:sta: 1, softap: 0, b/g/n
Info:GEN:sta:rssi=-34,ssid=Pandora,bssid=88:c3:97:51:c0:02,channel=13,cipher_type:CCMP
Info:MAIN:Time 71, idle 183426/s, free 73400, MQTT 0(4), bWifi 1, secondsWithNoPing 1, socks 2/38
Info:MAIN:Time 72, idle 374243/s, free 73400, MQTT 0(4), bWifi 1, secondsWithNoPing 2, socks 2/38
Info:MAIN:Time 73, idle 189739/s, free 73208, MQTT 0(4), bWifi 1, secondsWithNoPing 3, socks 3/38
Info:NTP:Seconds since Jan 1 1900 = 3919318175
Info:NTP:Unix time : 1710340175
Info:NTP:Local Time : 2024/03/13 14:29:35
Info:MAIN:Time 74, idle 192862/s, free 73400, MQTT 0(4), bWifi 1, secondsWithNoPing 4, socks 2/38
Info:MAIN:Time 75, idle 187500/s, free 73400, MQTT 0(4), bWifi 1, secondsWithNoPing 5, socks 2/38
Info:MAIN:Time 76, idle 192820/s, free 73400, MQTT 0(4), bWifi 1, secondsWithNoPing 6, socks 2/38
Info:MQTT:mqtt_host empty, not starting mqtt
Info:MAIN:Time 77, idle 195126/s, free 73400, MQTT 0(5), bWifi 1, secondsWithNoPing 7, socks 2/38
Info:MAIN:Time 78, idle 207614/s, free 73400, MQTT 0(5), bWifi 1, secondsWithNoPing 8, socks 2/38
Info:MAIN:Time 79, idle 189786/s, free 73400, MQTT 0(5), bWifi 1, secondsWithNoPing 9, socks 2/38
Info:MAIN:Time 80, idle 191716/s, free 73400, MQTT 0(5), bWifi 1, secondsWithNoPing 10, socks 2/38
Info:GEN:dhcp=0 ip=192.168.31.28 gate=192.168.31.1 mask=255.255.255.0 mac=c8:47:8c:00:00:00
Info:GEN:sta: 1, softap: 0, b/g/n
Info:GEN:sta:rssi=-49,ssid=Pandora,bssid=88:c3:97:51:c0:02,channel=13,cipher_type:CCMP
Info:MAIN:Time 81, idle 184588/s, free 73400, MQTT 0(5), bWifi 1, secondsWithNoPing 11, socks 2/38
Info:MAIN:Time 82, idle 188320/s, free 73400, MQTT 0(5), bWifi 1, secondsWithNoPing 12, socks 2/38
Info:MAIN:Time 83, idle 187871/s, free 73400, MQTT 0(5), bWifi 1, secondsWithNoPing 13, socks 2/38
Info:MAIN:Time 84, idle 189231/s, free 73400, MQTT 0(5), bWifi 1, secondsWithNoPing 14, socks 2/38
Info:MAIN:Time 85, idle 191211/s, free 73400, MQTT 0(5), bWifi 1, secondsWithNoPing 15, socks 2/38
Info:MAIN:Time 86, idle 192831/s, free 73400, MQTT 0(5), bWifi 1, secondsWithNoPing 16, socks 2/38
Info:MAIN:Time 87, idle 381320/s, free 72704, MQTT 0(5), bWifi 1, secondsWithNoPing 17, socks 2/38
Info:MAIN:Time 88, idle 191371/s, free 73400, MQTT 0(5), bWifi 1, secondsWithNoPing 18, socks 2/38
#######
Warn:CFG:CFG_InitAndLoad: Correct config has been loaded with 63 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 [Pandora]
Info:MAIN:Using Pass [oxajfi12]
Info:MQTT:MQTT_RegisterCallback called for bT obkTH08B/ subT obkTH08B/+/set
Info:MQTT:MQTT_RegisterCallback called for bT TH08B/ subT TH08B/+/set
Info:MQTT:MQTT_RegisterCallback called for bT cmnd/obkTH08B/ subT cmnd/obkTH08B/+
Info:MQTT:MQTT_RegisterCallback called for bT cmnd/TH08B/ subT cmnd/TH08B/+
Info:MQTT:MQTT_RegisterCallback called for bT obkTH08B/ subT obkTH08B/+/get
Info:CMD:CMD_StartScript: started autoexec.bat at the beginning
Info:MAIN:Main_Init_After_Delay done
Info:MAIN:Started TuyaMCU.
Info:MAIN:Started tmSensor.
Info:NTP:NTP driver initialized with server=217.147.223.78, offset=0
Info:MAIN:Started NTP.
Info:NTP:NTP offset set
Info:MAIN:Time 1, idle 265744/s, free 78392, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 2, idle 188027/s, free 78392, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 3, idle 188230/s, free 78392, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 4, idle 190686/s, free 78392, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 5, idle 188237/s, free 78392, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:ssid:Pandora key:#######
Info:MAIN:Time 6, idle 181368/s, free 73040, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Boot complete time reached (5 seconds)
Info:CFG:####### Set Boot Complete #######
Info:MAIN:Time 7, idle 184061/s, free 73040, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 8, idle 82064/s, free 73192, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 9, idle 0/s, free 73192, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 10, idle 0/s, free 73192, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:GEN:dhcp=0 ip=0.0.0.0 gate=0.0.0.0 mask=0.0.0.0 mac=c8:47:8c:00:00:00
Info:GEN:sta: 0, softap: 0, b/g/n
Info:MAIN:Main_OnWiFiStatusChange - WIFI_STA_CONNECTING - 1
Info:MAIN:Time 11, idle 105531/s, free 71752, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 12, idle 187351/s, free 73600, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 13, idle 190128/s, free 73600, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 14, idle 187887/s, free 73600, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 15, idle 186047/s, free 73600, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 16, idle 191461/s, free 73600, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 17, idle 187856/s, free 73600, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 18, idle 188013/s, free 73600, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 19, idle 190411/s, free 73600, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 20, idle 187945/s, free 73600, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:GEN:dhcp=0 ip=0.0.0.0 gate=0.0.0.0 mask=0.0.0.0 mac=c8:47:8c:00:00:00
Info:GEN:sta: 0, softap: 0, b/g/n
Info:MAIN:Main_OnWiFiStatusChange - WIFI_STA_AUTH_FAILED - 3
Info:MAIN:Time 21, idle 182123/s, free 72920, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 22, idle 187689/s, free 72296, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Main_OnWiFiStatusChange - WIFI_STA_CONNECTING - 1
Info:MAIN:Time 23, idle 193737/s, free 71032, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Main_OnWiFiStatusChange - WIFI_STA_CONNECTED - 4
Info:MAIN:Main_OnWiFiStatusChange - WIFI_STA_CONNECTED - 4
Info:MAIN:Time 24, idle 176689/s, free 73136, MQTT 0(0), bWifi 1, secondsWithNoPing -1, socks 3/38
Info:NTP:Seconds since Jan 1 1900 = 3919318253
Info:NTP:Unix time : 1710340253
Info:NTP:Local Time : 2024/03/13 14:30:53
Info:MAIN:Time 25, idle 191239/s, free 73368, MQTT 0(0), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MQTT:mqtt_host empty, not starting mqtt
Info:MAIN:Time 26, idle 188631/s, free 73368, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 27, idle 185670/s, free 73368, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 28, idle 193429/s, free 73368, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 29, idle 188206/s, free 73368, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 30, idle 189510/s, free 73368, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:GEN:dhcp=0 ip=192.168.31.28 gate=192.168.31.1 mask=255.255.255.0 mac=c8:47:8c:00:00:00
Info:GEN:sta: 1, softap: 0, b/g/n
Info:GEN:sta:rssi=-47,ssid=Pandora,bssid=88:c3:97:51:c0:02,channel=13,cipher_type:CCMP
Info:MAIN:Time 31, idle 185908/s, free 73368, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 32, idle 189776/s, free 64744, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 3/38
Info:MAIN:Time 33, idle 190178/s, free 73368, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 34, idle 189835/s, free 73368, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 35, idle 187132/s, free 73368, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 36, idle 193501/s, free 73368, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 37, idle 190840/s, free 73368, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 38, idle 190119/s, free 73368, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 39, idle 187269/s, free 73368, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 40, idle 194026/s, free 73368, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:GEN:dhcp=0 ip=192.168.31.28 gate=192.168.31.1 mask=255.255.255.0 mac=c8:47:8c:00:00:00
Info:GEN:sta: 1, softap: 0, b/g/n
Info:GEN:sta:rssi=-46,ssid=Pandora,bssid=88:c3:97:51:c0:02,channel=13,cipher_type:CCMP
Info:MAIN:Time 41, idle 185987/s, free 73368, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MQTT:mqtt_host empty, not starting mqtt
Info:MAIN:Time 42, idle 188846/s, free 73368, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 43, idle 191110/s, free 73368, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 44, idle 190862/s, free 73368, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 45, idle 189804/s, free 73368, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 46, idle 202709/s, free 73368, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 47, idle 187879/s, free 73368, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 48, idle 187981/s, free 73368, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 49, idle 192201/s, free 73136, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 3/38
Info:MAIN:Time 50, idle 189457/s, free 73368, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:GEN:dhcp=0 ip=192.168.31.28 gate=192.168.31.1 mask=255.255.255.0 mac=c8:47:8c:00:00:00
Info:GEN:sta: 1, softap: 0, b/g/n
Info:GEN:sta:rssi=-47,ssid=Pandora,bssid=88:c3:97:51:c0:02,channel=13,cipher_type:CCMP
Info:MAIN:Time 51, idle 185453/s, free 64744, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 3/38
Info:MAIN:Time 52, idle 189330/s, free 73368, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 53, idle 188168/s, free 73368, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 54, idle 192079/s, free 73368, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 55, idle 187597/s, free 73136, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 3/38
Info:MAIN:Time 56, idle 189361/s, free 73368, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 57, idle 191165/s, free 73368, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MQTT:mqtt_host empty, not starting mqtt
Info:MAIN:Time 58, idle 192415/s, free 73368, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 59, idle 185648/s, free 73368, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 60, idle 188581/s, free 73368, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:GEN:dhcp=0 ip=192.168.31.28 gate=192.168.31.1 mask=255.255.255.0 mac=c8:47:8c:00:00:00
Info:GEN:sta: 1, softap: 0, b/g/n
Info:GEN:sta:rssi=-47,ssid=Pandora,bssid=88:c3:97:51:c0:02,channel=13,cipher_type:CCMP
Info:MAIN:Time 61, idle 186725/s, free 73368, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 62, idle 189695/s, free 73368, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 63, idle 187878/s, free 73368, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 64, idle 204484/s, free 73368, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 65, idle 189145/s, free 73368, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 66, idle 191963/s, free 73368, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 67, idle 190913/s, free 73368, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 68, idle 186634/s, free 73368, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 69, idle 189421/s, free 73368, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 70, idle 191914/s, free 73368, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:GEN:dhcp=0 ip=192.168.31.28 gate=192.168.31.1 mask=255.255.255.0 mac=c8:47:8c:00:00:00
Info:GEN:sta: 1, softap: 0, b/g/n
Info:GEN:sta:rssi=-46,ssid=Pandora,bssid=88:c3:97:51:c0:02,channel=13,cipher_type:CCMP
Info:MAIN:Time 71, idle 183441/s, free 73368, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 72, idle 186955/s, free 73368, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 73, idle 193565/s, free 73368, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MQTT:mqtt_host empty, not starting mqtt
Info:MAIN:Time 74, idle 190305/s, free 73368, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 75, idle 187225/s, free 73368, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 76, idle 187706/s, free 73368, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 77, idle 188520/s, free 73368, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 78, idle 191506/s, free 73368, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 79, idle 191794/s, free 73368, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 80, idle 184305/s, free 73368, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:GEN:dhcp=0 ip=192.168.31.28 gate=192.168.31.1 mask=255.255.255.0 mac=c8:47:8c:00:00:00
Info:GEN:sta: 1, softap: 0, b/g/n
Info:GEN:sta:rssi=-47,ssid=Pandora,bssid=88:c3:97:51:c0:02,channel=13,cipher_type:CCMP
Info:MAIN:Time 81, idle 187750/s, free 73368, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 82, idle 192015/s, free 73368, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 83, idle 190882/s, free 73368, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 84, idle 187594/s, free 73368, MQTT 0(4), bWifi 1, secondsWithNoPing 1, socks 2/38
Info:MAIN:Time 85, idle 192973/s, free 73176, MQTT 0(4), bWifi 1, secondsWithNoPing 2, socks 3/38
Info:NTP:Seconds since Jan 1 1900 = 3919318314
Info:NTP:Unix time : 1710340314
Info:NTP:Local Time : 2024/03/13 14:31:54
Info:MAIN:Time 86, idle 187945/s, free 73368, MQTT 0(4), bWifi 1, secondsWithNoPing 3, socks 2/38
Info:MAIN:Time 87, idle 189721/s, free 73368, MQTT 0(4), bWifi 1, secondsWithNoPing 4, socks 2/38
Info:MAIN:Time 4, idle 190149/s, free 77120, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:TuyaMCU:TUYAMCU received: 55 AA 00 01 00 24 7B 22 70 22 3A 22 6C 66 33 36 79 35 6E 77 62 38 6A 6B 78 77 67 67 22 2C 22 76 22 3A 22 31 2E 30 2E 30 22 7D 99
Info:TuyaMCU:TuyaMCU_ProcessIncoming[ver=0]: processing command 1 (QueryProductInformation) with 43 bytes
Info:TuyaMCU:TuyaMCU_ParseQueryProductInformation: received {"p":"lf36y5nwb8jkxwgg","v":"1.0.0"}
Info:MAIN:Time 5, idle 191246/s, free 77120, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:ssid:******** key:******** Info:TuyaMCU:Received: 55 AA 00 02 00 00 01
Info:TuyaMCU:ProcessIncoming[v=0]: cmd 2 (MCUconf) len 7
Info:TuyaMCU:ProcessIncoming: TUYA_CMD_MCU_CONF, TODO!
Info:TuyaMCU:Received: 55 AA 00 0B 00 00 0A
Info:TuyaMCU:ProcessIncoming[v=0]: cmd 11 (QuerySignalStrngth) len 7
Info:TuyaMCU:ProcessIncoming: received TUYA_V0_CMD_QUERYSIGNALSTRENGTH, so sending back signal
Info:TuyaMCU:Received: 55 AA 00 05 00 15 01 02 00 04 00 00 01 08 02 02 00 04 00 00 00 0B 03 04 00 01 02 46
Info:TuyaMCU:ProcessIncoming[v=0]: cmd 5 (WiFiSelect) len 28
Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: processing id 1, dataType 2-val and 4 data bytes
Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: int32 264
Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: processing id 2, dataType 2-val and 4 data bytes
Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: int32 11
Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: processing id 3, dataType 4-enum and 1 data bytes
Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: byte 2
startDriver TuyaMCU
startDriver tmSensor
startDriver NTP
ntp_setServer 150.214.94.5
ntp_timeZoneOfs 1
setChannelType 1 temperature_div10
linkTuyaMCUOutputToChannel 1 val 1
setChannelType 2 Humidity
linkTuyaMCUOutputToChannel 2 val 2
setChannelType 3 ReadOnlyLowMidHigh
linkTuyaMCUOutputToChannel 3 val 3
setChannelLabel 3 BatteryLevelInfo:HTTP_CLIENT:HTTPClient_Async_SendGet for http://192.168.31.90/RemoteSensorData?Temperature=$CH1&Humidity=$CH2&BatteryLevel=$CH3, sizeof(httprequest_t) == 160!SendGet http://192.168.31.90/RemoteSensorData?Temperature=$CH1&Humidity=$CH2&BatteryLevel=$CH3# Add HTTP POST and GET handlers
def web_add_handler()
webserver.on('/RemoteSensorData', / -> self.on_http_get(), webserver.HTTP_GET)
end
def on_http_get()
webserver.content_response("{\"OK\":[]}")
end//static byte g_hello[] = { 0x55, 0xAA, 0x00, 0x01, 0x00, 0x00, 0x00 };
//static byte g_request_state[] = { 0x55, 0xAA, 0x00, 0x02, 0x00, 0x01, 0x04, 0x06 };
TuyaMCU_Send_RawBuffer(g_hello,sizeof(g_hello));
or
TuyaMCU_Send_RawBuffer(g_request_state,sizeof(g_request_state));bogovik wrote:In your photo there is a green wire connected to the left side of the CBU. Why is it needed?
spin55 wrote:To flash the CBU module it is not necessary to connect a cable to the TX2 pin, but it is convenient to monitor this pin once flashed to see the boot process and detect the cause of any malfunction. Please note that on battery powered devices with TuyaMCU chip you have no control over the disconnection time and it is so fast that you often do not have access to the OpenBeken web log.
bogovik wrote:To preserve battery charge, Tuya MCU turns off the power to the WiFi module. How does the WiFi module turn off technically? Does the MSU stop supplying voltage to the corresponding CBU pins (VDD and ground) or use the DeepSleep command to sleep?
bogovik wrote:During my experiments, I specified the command "DeepSleep 60" in Autoexec.bat. As a result, the CBU module was unavailable, the web interface also did not work, and the settings could not be changed. I had to re-flash the module to disable the DeepSleep command in Autoexec.bat.
bogovik wrote:Can this be checked by connecting to the TX2 pin? Will I be able to see if the CBU power supply is being turned off or if deep sleep is being used?
SendGet http://192.168.31.90/RemoteSensorData?Temperature=$CH1&Humidity=$CH2&BatteryLevel=$CH3DeepSleep 120bogovik wrote:How else can I increase the time after which the WiFi module will turn off?
fjcns wrote:bogovik, I want to do the same as you, but I'm sending the data out via mqtt to Homeassistant
A relay will be controlled by Homeassistant to turn the boiler on or off
alias SendHTTPData SendGet http://192.168.31.90/RemoteSensorData?Temperature=$CH1&Humidity=$CH2&BatteryLevel=$CH3
startDriver TuyaMCU
tuyaMcu_setBaudRate 115200
startDriver tmSensor
startDriver NTP
ntp_timeZoneOfs +3:00
setChannelType 1 temperature_div10
linkTuyaMCUOutputToChannel 1 val 1
setChannelType 2 Humidity
linkTuyaMCUOutputToChannel 2 val 2
setChannelType 3 ReadOnlyLowMidHigh
linkTuyaMCUOutputToChannel 3 enum 3
setChannelLabel 3 Battery
tuyaMcu_sendQueryState
waitFor WiFiState 4
delay_s 2
// addRepeatingEvent [IntervalSeconds][RepeatsOr-1][CommandToRun]
addRepeatingEvent 4 3 SendHTTPData bogovik wrote:Lay a wire route directly from the battery compartment to the power legs of the WiFi module
bogovik wrote:How else can I increase the time after which the WiFi module will turn off?
startDriver TuyaMCU
tuyaMcu_setBaudRate 115200 <== Delete this
startDriver tmSensorbogovik wrote:As soon as I deleted the command "tuyaMcu_setBaudRate 115200 " from Autoexec.bat, Tuya MCU began communicating with the WiFi module.
kkarmah wrote:I have to press the physical button for a few seconds and it connects to the wifi but disconnects very quickly. it won't let me change anything... How can I solve it?
startDriver TuyaMCU
startDriver tmSensor
startDriver NTP
ntp_setServer 192.168.1.198
ntp_timeZoneOfs 1
setChannelType 1 temperature_div10
linkTuyaMCUOutputToChannel 1 val 1
setChannelType 2 Humidity
linkTuyaMCUOutputToChannel 2 val 2
setChannelType 3 ReadOnlyLowMidHigh
linkTuyaMCUOutputToChannel 3 val 3
setChannelLabel 3 BatteryLevel
Info:NTP:NTP_CheckForReceive: Error while receiving server's msg
startDriver TuyaMCU
startDriver tmSensor
startDriver NTP
//ntp_setServer 192.168.1.198
ntp_timeZoneOfs 1
setChannelType 1 temperature_div10
linkTuyaMCUOutputToChannel 1 val 1
setChannelType 2 Humidity
linkTuyaMCUOutputToChannel 2 val 2
setChannelType 3 ReadOnlyLowMidHigh
linkTuyaMCUOutputToChannel 3 val 3
setChannelLabel 3 BatteryLevelTL;DR: “Flashing succeeds 100 % when CEN, RX and TX are isolated” and the Wi-Fi module stays powered just 18 s per cycle [Elektroda, spin55, post #20804765] Unit switch is dpID 9; send
55AA001000070101090400010026to force °C [Elektroda, smoeller95s, post #21550660] Battery life rises from 3 days to 6 weeks after v1.17.302 fix [Elektroda, morgan_flint, post #20796796]
Why it matters: correct pinout, dpIDs and flags avoid soft-brick loops and halve power drain.
• MCU board rev V3.7 (2023-11-06) uses step-down RT8008-like regulator, 2.3–3.6 V out [Elektroda, bogovik, post #21007162] • Default Tuya baud: 9 600 bps; do not force 115 200 on battery models [Elektroda, bogovik, post #21007162] • Wi-Fi on-time: 10–18 s (after dpCache fix) [Elektroda, p.kaczmarek2, post #20796796] • Battery thresholds: High ≥ 4 V, Medium 4–3.1 V, Low < 3.1 V [Elektroda, morgan_flint, post #20804228] • dpIDs: 1 Temp, 2 RH, 3 Batt-state, 4 Batt-%, 9 Unit, 10–13 limits, 14–15 alarms, 17–20 report/sensitivity [Elektroda, divadiow, post #21357234]
ntp_setServer 217.147.223.78 and keep ntp_timeZoneOfs correct. Each failed packet logs NTP_SendRequest: Unable to send message [Elektroda, spin55, post #21074156]delay_s 2uartSendHex 55AA00100007010109040001002600 gives °C; 01 gives °F [Elektroda, smoeller95s, post #21550660]temperature_div10 splits the MCU value and HA divides it again, giving 2.2 °C instead of 22 °C [Elektroda, p.kaczmarek2, post #21377733]setChannelType 4 BatteryLevelPercentlinkTuyaMCUOutputToChannel 4 val 4SetStartValue <ch> -1 and add 1 at the end of linkTuyaMCUOutputToChannel … to include it in the dpCache reply packet 0x10 [Elektroda, p.kaczmarek2, post #21385904]