Xinyuan-LilyGO / T-ZigBee

Zigbee Ultra Low Power IOT Development Board
GNU Affero General Public License v3.0
76 stars 18 forks source link

ERROR - Disconnected from WiFi access point [WiFi-event] event: 5 - Credentials to use in MQTT broker #16

Closed dcseng closed 1 year ago

dcseng commented 2 years ago

Hi, I finally bought T-U2T and I flashed succesfuly the T-Zigbee with zigbee2mqtt project using platformIO.

First I burned zigbee2mqtt in ESP32-C3, after I burned TLSR8258 sampleGW_8258_20220302.bin

I changed in zigbee2mqtt project files, my SSID, and password from my WIFI and my MQTT broker (home assistant with mosquitto)

My device has the red light bright which means ZigBee is running. Also, the green light is bright, which allows zigbee sub-devices to join the gateway. It also has the blue light slow flash which means it has connected to WiFi (but I can't see it in my router), but it is not connected to mqtt server.

I need to use credentials (username and password) to connect in my MQTT server, how can I do it?

Also, I`m receiving this error below. Do you know what could be?

PlatformIO:

ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x1 (POWERON),boot:0xd (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x438
load:0x403ce000,len:0x918
load:0x403d0000,len:0x24e4
entry 0x403ce000
WiFi: Set mode to WIFI_AP_STA
Waiting for WiFi
[WiFi-event] event: 11
WiFi access point  stopped
[WiFi-event] event: 10
WiFi access point started
WiFi: softAP has been established
WiFi: please connect to the LilyGo-EECC
HTTP server started
Nothing saved yet!
[WiFi-event] event: 5
Disconnected from WiFi access point
[WiFi-event] event: 5
Disconnected from WiFi access point
[WiFi-event] event: 5
Disconnected from WiFi access point
E (11310) esp-tls: [sock=49] select() timeout
E (11310) TRANSPORT_BASE: Failed to open a new connection: 32774
E (11310) MQTT_CLIENT: Error transport connect
E (11313) APP_MQTT: Last error reported from esp-tls: 0x8006
[WiFi-event] event: 5
Disconnected from WiFi access point

Arduino:

[ 75098][V][Parsing.cpp:227] _parseRequest(): headerName: Accept-Encoding
[ 75104][V][Parsing.cpp:228] _parseRequest(): headerValue: gzip, deflate
[ 75111][V][Parsing.cpp:227] _parseRequest(): headerName: Accept-Language
[ 75118][V][Parsing.cpp:228] _parseRequest(): headerValue: pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7
[ 75127][V][Parsing.cpp:227] _parseRequest(): headerName: Cookie
[ 75131][V][Parsing.cpp:228] _parseRequest(): headerValue: __utmz=153486712.1664611653.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmc=153486712; __utma=153486712.1688212893.1664611653.1664673952.1664679155.3; __utmt=1; __utmb=153486712.4.10.1664679155
[ 75154][V][Parsing.cpp:255] _parseArguments(): args:
[ 75159][V][Parsing.cpp:238] _parseRequest(): Request: /settings
[ 75165][V][Parsing.cpp:239] _parseRequest():  Arguments:
[ 75269][E][WiFiClient.cpp:421] write(): fail on fd 49, errno: 104, "Connection reset by peer"
[ 75280][V][WebServer.cpp:294] handleClient(): New client: client.localIP()=192.168.4.1     
[ 76230][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[ 76230][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED      
[ 76238][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[ 76244][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[ 76252][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[ 76514][V][Parsing.cpp:121] _parseRequest(): method: GET url: /settings search: 
[ 76515][V][Parsing.cpp:227] _parseRequest(): headerName: Host
[ 76516][V][Parsing.cpp:228] _parseRequest(): headerValue: 192.168.4.1
[ 76522][V][Parsing.cpp:227] _parseRequest(): headerName: Connection
[ 76528][V][Parsing.cpp:228] _parseRequest(): headerValue: keep-alive
[ 76535][V][Parsing.cpp:227] _parseRequest(): headerName: Cache-Control
[ 76541][V][Parsing.cpp:228] _parseRequest(): headerValue: max-age=0
[ 76547][V][Parsing.cpp:227] _parseRequest(): headerName: DNT
[ 76552][V][Parsing.cpp:228] _parseRequest(): headerValue: 1
[ 76558][V][Parsing.cpp:227] _parseRequest(): headerName: Upgrade-Insecure-Requests
[ 76566][V][Parsing.cpp:228] _parseRequest(): headerValue: 1
[ 76571][V][Parsing.cpp:227] _parseRequest(): headerName: User-Agent
[ 76577][V][Parsing.cpp:228] _parseRequest(): headerValue: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
[ 76592][V][Parsing.cpp:227] _parseRequest(): headerName: Accept
[ 76597][V][Parsing.cpp:228] _parseRequest(): headerValue: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
[ 76614][V][Parsing.cpp:227] _parseRequest(): headerName: Referer
[ 76620][V][Parsing.cpp:228] _parseRequest(): headerValue: http://192.168.4.1/
[ 76627][V][Parsing.cpp:227] _parseRequest(): headerName: Accept-Encoding
[ 76634][V][Parsing.cpp:228] _parseRequest(): headerValue: gzip, deflate
[ 76640][V][Parsing.cpp:227] _parseRequest(): headerName: Accept-Language
[ 76646][V][Parsing.cpp:228] _parseRequest(): headerValue: pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7
[ 76656][V][Parsing.cpp:227] _parseRequest(): headerName: Cookie
[ 76661][V][Parsing.cpp:228] _parseRequest(): headerValue: __utmz=153486712.1664611653.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmc=153486712; __utma=153486712.1688212893.1664611653.1664673952.1664679155.3; __utmt=1; __utmb=153486712.4.10.1664679155
[ 76683][V][Parsing.cpp:255] _parseArguments(): args:
[ 76689][V][Parsing.cpp:238] _parseRequest(): Request: /settings
[ 76694][V][Parsing.cpp:239] _parseRequest():  Arguments:
[ 76867][V][WebServer.cpp:294] handleClient(): New client: client.localIP()=192.168.4.1
[ 76868][V][Parsing.cpp:121] _parseRequest(): method: GET url: /style.css search:
[ 76871][V][Parsing.cpp:227] _parseRequest(): headerName: Host
[ 76877][V][Parsing.cpp:228] _parseRequest(): headerValue: 192.168.4.1
[ 76883][V][Parsing.cpp:227] _parseRequest(): headerName: Connection
[ 76889][V][Parsing.cpp:228] _parseRequest(): headerValue: keep-alive
[ 76896][V][Parsing.cpp:227] _parseRequest(): headerName: User-Agent
[ 76901][V][Parsing.cpp:228] _parseRequest(): headerValue: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
[ 76916][V][Parsing.cpp:227] _parseRequest(): headerName: DNT
[ 76922][V][Parsing.cpp:228] _parseRequest(): headerValue: 1
[ 76927][V][Parsing.cpp:227] _parseRequest(): headerName: Accept
[ 76933][V][Parsing.cpp:228] _parseRequest(): headerValue: text/css,*/*;q=0.1
[ 76940][V][Parsing.cpp:227] _parseRequest(): headerName: Referer
[ 76946][V][Parsing.cpp:228] _parseRequest(): headerValue: http://192.168.4.1/settings      
[ 76953][V][Parsing.cpp:227] _parseRequest(): headerName: Accept-Encoding
[ 76960][V][Parsing.cpp:228] _parseRequest(): headerValue: gzip, deflate
[ 76966][V][Parsing.cpp:227] _parseRequest(): headerName: Accept-Language
[ 76973][V][Parsing.cpp:228] _parseRequest(): headerValue: pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7
[ 76982][V][Parsing.cpp:227] _parseRequest(): headerName: Cookie
[ 76987][V][Parsing.cpp:228] _parseRequest(): headerValue: __utmz=153486712.1664611653.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmc=153486712; __utma=153486712.1688212893.1664611653.1664673952.1664679155.3; __utmt=1; __utmb=153486712.4.10.1664679155
[ 77010][V][Parsing.cpp:255] _parseArguments(): args:
[ 77015][V][Parsing.cpp:238] _parseRequest(): Request: /style.css
[ 77020][V][Parsing.cpp:239] _parseRequest():  Arguments:
[ 77160][V][WebServer.cpp:294] handleClient(): New client: client.localIP()=192.168.4.1
[ 77161][V][Parsing.cpp:121] _parseRequest(): method: GET url: /status search: 
[ 77164][V][Parsing.cpp:227] _parseRequest(): headerName: Host
[ 77169][V][Parsing.cpp:228] _parseRequest(): headerValue: 192.168.4.1
[ 77175][V][Parsing.cpp:227] _parseRequest(): headerName: Connection
[ 77181][V][Parsing.cpp:228] _parseRequest(): headerValue: keep-alive
[ 77188][V][Parsing.cpp:227] _parseRequest(): headerName: User-Agent
[ 77194][V][Parsing.cpp:228] _parseRequest(): headerValue: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
[ 77209][V][Parsing.cpp:227] _parseRequest(): headerName: DNT
[ 77214][V][Parsing.cpp:228] _parseRequest(): headerValue: 1
[ 77219][V][Parsing.cpp:227] _parseRequest(): headerName: Accept
[ 77225][V][Parsing.cpp:228] _parseRequest(): headerValue: */*
[ 77231][V][Parsing.cpp:227] _parseRequest(): headerName: Referer
[ 77237][V][Parsing.cpp:228] _parseRequest(): headerValue: http://192.168.4.1/settings
[ 77244][V][Parsing.cpp:227] _parseRequest(): headerName: Accept-Encoding
[ 77251][V][Parsing.cpp:228] _parseRequest(): headerValue: gzip, deflate
[ 77257][V][Parsing.cpp:227] _parseRequest(): headerName: Accept-Language
[ 77264][V][Parsing.cpp:228] _parseRequest(): headerValue: pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7
[ 77273][V][Parsing.cpp:227] _parseRequest(): headerName: Cookie
[ 77278][V][Parsing.cpp:228] _parseRequest(): headerValue: __utmz=153486712.1664611653.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmc=153486712; __utma=153486712.1688212893.1664611653.1664673952.1664679155.3; __utmt=1; __utmb=153486712.4.10.1664679155
[ 77301][V][Parsing.cpp:255] _parseArguments(): args:
[ 77306][V][Parsing.cpp:238] _parseRequest(): Request: /status
[ 77311][V][Parsing.cpp:239] _parseRequest():  Arguments:
[ 78705][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[ 78705][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED
[ 78713][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[ 78720][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[ 78727][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[ 81181][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[ 81182][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED      
[ 81190][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[ 81196][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[ 81204][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[ 82244][V][WiFiGeneric.cpp:342] _arduino_event_cb(): AP Station Disconnected: MAC: 28:11:a8:83:dd:f3, AID: 1
[ 82245][D][WiFiGeneric.cpp:852] _eventCallbac[ 82248][V][WiFiGeneric.cpp:337] _arduino_event_cb(): AP Station Connected: MAC: 28:11:a8:83:dd:f3, AID: 1
k(): Arduino Event: 13 - AP_STADISCONNECTED
[ 82261][V][WiFiGeneric.cpp:347] _arduino_event_cb(): AP Station IP Assigned:192.168.4.2
[ 82860][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 12 - AP_STACONNECTED
[ 83460][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 14 - AP_STAIPASSIGNED
[ 83657][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[ 84060][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED
[ 84060][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[ 84063][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[ 84071][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
E (86442) esp-tls: [sock=50] select() timeout
E (86442) TRANSPORT_BASE: Failed to open a new connection: 32774
E (86442) MQTT_CLIENT: Error transport connect
E (86445) APP_MQTT: Last error reported from esp-tls: 0x8006
[ 86523][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[ 86523][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED      
[ 86531][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[ 86538][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[ 86545][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[ 88997][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[ 88997][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED      
[ 89005][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[ 89012][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[ 89019][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[ 91476][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[ 91476][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED      
[ 91484][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[ 91491][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[ 91498][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[ 93951][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[ 93951][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED      
[ 93959][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[ 93966][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[ 93973][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[ 96428][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[ 96429][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED
[ 96436][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[ 96443][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[ 96450][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[ 98519][V][WebServer.cpp:294] handleClient(): New client: client.localIP()=192.168.4.1
[ 98904][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[ 98904][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED
[ 98912][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[ 98919][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[ 98926][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[ 99188][V][Parsing.cpp:121] _parseRequest(): method: POST url: /settings search: 
[ 99189][V][Parsing.cpp:154] _parseRequest(): headerName: Host
[ 99190][V][Parsing.cpp:155] _parseRequest(): headerValue: 192.168.4.1
[ 99196][V][Parsing.cpp:154] _parseRequest(): headerName: Connection
[ 99202][V][Parsing.cpp:155] _parseRequest(): headerValue: keep-alive
[ 99209][V][Parsing.cpp:154] _parseRequest(): headerName: Content-Length
[ 99215][V][Parsing.cpp:155] _parseRequest(): headerValue: 79
[ 99221][V][Parsing.cpp:154] _parseRequest(): headerName: Cache-Control
[ 99227][V][Parsing.cpp:155] _parseRequest(): headerValue: max-age=0
[ 99233][V][Parsing.cpp:154] _parseRequest(): headerName: Origin
[ 99239][V][Parsing.cpp:155] _parseRequest(): headerValue: http://192.168.4.1
[ 99247][V][Parsing.cpp:154] _parseRequest(): headerName: Upgrade-Insecure-Requests
[ 99253][V][Parsing.cpp:155] _parseRequest(): headerValue: 1
[ 99258][V][Parsing.cpp:154] _parseRequest(): headerName: DNT
[ 99264][V][Parsing.cpp:155] _parseRequest(): headerValue: 1
[ 99269][V][Parsing.cpp:154] _parseRequest(): headerName: Content-Type
[ 99275][V][Parsing.cpp:155] _parseRequest(): headerValue: application/x-www-form-urlencoded
[ 99284][V][Parsing.cpp:154] _parseRequest(): headerName: User-Agent
[ 99290][V][Parsing.cpp:155] _parseRequest(): headerValue: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
[ 99305][V][Parsing.cpp:154] _parseRequest(): headerName: Accept
[ 99310][V][Parsing.cpp:155] _parseRequest(): headerValue: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
[ 99327][V][Parsing.cpp:154] _parseRequest(): headerName: Referer
[ 99333][V][Parsing.cpp:155] _parseRequest(): headerValue: http://192.168.4.1/settings      
[ 99341][V][Parsing.cpp:154] _parseRequest(): headerName: Accept-Encoding
[ 99347][V][Parsing.cpp:155] _parseRequest(): headerValue: gzip, deflate
[ 99354][V][Parsing.cpp:154] _parseRequest(): headerName: Accept-Language
[ 99360][V][Parsing.cpp:155] _parseRequest(): headerValue: pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7
[ 99369][V][Parsing.cpp:154] _parseRequest(): headerName: Cookie
[ 99374][V][Parsing.cpp:155] _parseRequest(): headerValue: __utmz=153486712.1664611653.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmc=153486712; __utma=153486712.1688212893.1664611653.1664673952.1664679155.3; __utmt=1; __utmb=153486712.5.10.1664679155
[ 99398][V][Parsing.cpp:255] _parseArguments(): args: ssid=MYSSID&password=MYPASSWORD&ntp_server=192.168.0.26&ntp_timezone=1883
[ 99409][V][Parsing.cpp:273] _parseArguments(): args count: 4
[ 99414][V][Parsing.cpp:281] _parseArguments(): pos 0 =@4 &@15
[ 99420][V][Parsing.cpp:292] _parseArguments(): arg 0 key: ssid value: MYSSID
[ 99427][V][Parsing.cpp:281] _parseArguments(): pos 16 =@24 &@37
[ 99433][V][Parsing.cpp:292] _parseArguments(): arg 1 key: password value: MYPASSWORD
[ 99440][V][Parsing.cpp:281] _parseArguments(): pos 38 =@48 &@61
[ 99446][V][Parsing.cpp:292] _parseArguments(): arg 2 key: ntp_server value: 192.168.0.26   
[ 99454][V][Parsing.cpp:281] _parseArguments(): pos 62 =@74 &@-1
[ 99460][V][Parsing.cpp:292] _parseArguments(): arg 3 key: ntp_timezone value: 1883
[ 99467][V][Parsing.cpp:299] _parseArguments(): args count: 4
[ 99473][V][Parsing.cpp:197] _parseRequest(): Plain: ssid=MYSSID&password=MYPASSWORD&ntp_server=192.168.0.26&ntp_timezone=1883
[ 99484][V][Parsing.cpp:238] _parseRequest(): Request: /settings
[ 99490][V][Parsing.cpp:239] _parseRequest():  Arguments: ssid=MYSSID&password=MYPASSWORD&ntp_server=192.168.0.26&ntp_timezone=1883
[100669][V][WebServer.cpp:294] handleClient(): New client: client.localIP()=192.168.4.1
[101389][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[101390][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED
[101397][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[101404][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[101411][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[103868][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[103869][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED
[103876][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[103883][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[103891][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[105683][V][WebServer.cpp:294] handleClient(): New client: client.localIP()=192.168.4.1
[105684][V][Parsing.cpp:121] _parseRequest(): method: GET url: /style.css search: 
[105687][V][Parsing.cpp:227] _parseRequest(): headerName: Host
[105693][V][Parsing.cpp:228] _parseRequest(): headerValue: 192.168.4.1
[105699][V][Parsing.cpp:227] _parseRequest(): headerName: Connection
[105705][V][Parsing.cpp:228] _parseRequest(): headerValue: keep-alive
[105712][V][Parsing.cpp:227] _parseRequest(): headerName: User-Agent
[105717][V][Parsing.cpp:228] _parseRequest(): headerValue: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
[105732][V][Parsing.cpp:227] _parseRequest(): headerName: DNT
[105738][V][Parsing.cpp:228] _parseRequest(): headerValue: 1
[105743][V][Parsing.cpp:227] _parseRequest(): headerName: Accept
[105749][V][Parsing.cpp:228] _parseRequest(): headerValue: text/css,*/*;q=0.1
[105756][V][Parsing.cpp:227] _parseRequest(): headerName: Referer
[105762][V][Parsing.cpp:228] _parseRequest(): headerValue: http://192.168.4.1/settings      
[105769][V][Parsing.cpp:227] _parseRequest(): headerName: Accept-Encoding
[105776][V][Parsing.cpp:228] _parseRequest(): headerValue: gzip, deflate
[105782][V][Parsing.cpp:227] _parseRequest(): headerName: Accept-Language
[105789][V][Parsing.cpp:228] _parseRequest(): headerValue: pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7
[105798][V][Parsing.cpp:227] _parseRequest(): headerName: Cookie
[105803][V][Parsing.cpp:228] _parseRequest(): headerValue: __utmz=153486712.1664611653.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmc=153486712; __utma=153486712.1688212893.1664611653.1664673952.1664679155.3; __utmt=1; __utmb=153486712.5.10.1664679155
[105826][V][Parsing.cpp:255] _parseArguments(): args:
[105831][V][Parsing.cpp:238] _parseRequest(): Request: /style.css
[105836][V][Parsing.cpp:239] _parseRequest():  Arguments:
[106330][V][WebServer.cpp:294] handleClient(): New client: client.localIP()=192.168.4.1
[106332][V][Parsing.cpp:121] _parseRequest(): method: GET url: /status search:
[106334][V][Parsing.cpp:227] _parseRequest(): headerName: Host
[106340][V][[106341][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[106352][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED
[106360][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[106367][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[106374][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
Parsing.cpp:228] _parseRequest(): headerValue: 192.168.4.1
[106390][V][Parsing.cpp:227] _parseRequest(): headerName: Connection
[106395][V][Parsing.cpp:228] _parseRequest(): headerValue: keep-alive
[106402][V][Parsing.cpp:227] _parseRequest(): headerName: User-Agent
[106408][V][Parsing.cpp:228] _parseRequest(): headerValue: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
[106423][V][Parsing.cpp:227] _parseRequest(): headerName: DNT
[106428][V][Parsing.cpp:228] _parseRequest(): headerValue: 1
[106434][V][Parsing.cpp:227] _parseRequest(): headerName: Accept
[106439][V][Parsing.cpp:228] _parseRequest(): headerValue: */*
[106445][V][Parsing.cpp:227] _parseRequest(): headerName: Referer
[106451][V][Parsing.cpp:228] _parseRequest(): headerValue: http://192.168.4.1/settings      
[106458][V][Parsing.cpp:227] _parseRequest(): headerName: Accept-Encoding
[106465][V][Parsing.cpp:228] _parseRequest(): headerValue: gzip, deflate
[106471][V][Parsing.cpp:227] _parseRequest(): headerName: Accept-Language
[106478][V][Parsing.cpp:228] _parseRequest(): headerValue: pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7
[106487][V][Parsing.cpp:227] _parseRequest(): headerName: Cookie
[106492][V][Parsing.cpp:228] _parseRequest(): headerValue: __utmz=153486712.1664611653.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmc=153486712; __utma=153486712.1688212893.1664611653.1664673952.1664679155.3; __utmt=1; __utmb=153486712.5.10.1664679155
[106515][V][Parsing.cpp:255] _parseArguments(): args:
[106520][V][Parsing.cpp:238] _parseRequest(): Request: /status
[106525][V][Parsing.cpp:239] _parseRequest():  Arguments:
[106573][V][WebServer.cpp:294] handleClient(): New client: client.localIP()=192.168.4.1
[108824][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[108825][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED
[108833][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[108839][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[108847][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[108910][V][WiFiGeneric.cpp:342] _arduino_event_cb(): AP Station Disconnected: MAC: 28:11:a8:83:dd:f3, AID: 1
[109459][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 13 - AP_STADISCONNECTED
[109741][V][WiFiGeneric.cpp:337] _arduino_event_cb(): AP Station Connected: MAC: 28:11:a8:83:dd:f3, AID: 1
[109754][V][WiFiGeneric.cpp:347] _arduino_event_cb(): AP Station IP Assigned:192.168.4.2
[110059][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 12 - AP_STACONNECTED
[110659][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 14 - AP_STAIPASSIGNED
[111301][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[111302][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED      
[111310][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[111316][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[111324][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
E (111452) esp-tls: [sock=50] select() timeout
E (111452) TRANSPORT_BASE: Failed to open a new connection: 32774
E (111452) MQTT_CLIENT: Error transport connect
E (111455) APP_MQTT: Last error reported from esp-tls: 0x8006
[111916][V][WiFiGeneric.cpp:347] _arduino_event_cb(): AP Station IP Assigned:192.168.4.2
[111936][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 14 - AP_STAIPASSIGNED
[113778][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[113779][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED      
[113786][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[113793][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[113801][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[116259][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[116259][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED
[116267][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[116274][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[116281][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[118731][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[118731][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED      
[118739][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[118746][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[118753][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[121203][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[121204][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED      
[121212][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[121218][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[121226][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[123679][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[123680][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED      
[123687][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[123694][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[123702][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[126153][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[126153][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED      
[126161][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[126168][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[126175][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[128631][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[128632][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED      
[128639][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[128646][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[128654][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[131108][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[131109][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED
[131116][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[131123][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[131130][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[133582][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[133582][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED      
[133590][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[133597][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[133604][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[136060][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[136061][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED
[136069][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[136075][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[136083][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
E (136462) esp-tls: [sock=49] select() timeout
E (136462) TRANSPORT_BASE: Failed to open a new connection: 32774
E (136462) MQTT_CLIENT: Error transport connect
E (136465) APP_MQTT: Last error reported from esp-tls: 0x8006
[138537][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[138537][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED
[138545][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[138552][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[138559][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[141019][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[141020][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED      
[141027][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[141034][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[141042][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[143499][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[143499][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED      
[143507][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[143514][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[143521][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[145976][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[145976][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED
[145984][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[145991][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[145998][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[148454][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[148454][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED      
[148462][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[148469][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[148476][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[150931][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[150931][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED
[150939][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[150946][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[150953][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[153408][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[153409][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED      
[153417][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[153423][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[153431][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[155887][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[155888][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED      
[155895][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[155902][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[155910][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[158364][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[158364][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED      
[158372][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[158379][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[158386][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[160840][V][WiFiGeneric.cpp:300] _arduino_event_cb(): STA Disconnected: SSID: ChinaNet-A179, BSSID: 00:00:00:00:00:00, Reason: 201
[160840][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED
[160848][W][WiFiGeneric.cpp:873] _eventCallback(): Reason: 201 - NO_AP_FOUND
[160855][D][WiFiGeneric.cpp:898] _eventCallback(): WiFi AutoReconnect Running
[160862][V][WiFiGeneric.cpp:96] set_esp_interface_ip(): Configuring Station static IP: 0.0.0
dcseng commented 2 years ago

I also follow this burning guide: https://zbhci.readthedocs.io/en/latest/user-guide/burning.html

First, I installed examples/factory_test in ESP32-C3 using using T-U2T in platformIO and after that, I installed sampleGW_8258_20220302.bin in TLSR8258 using using T-U2T in Google Chrome + TlsrComSwireWriter. Both with success and I saw the red light fixed.

After that, I returned the DIP switch to the ESP32-C3 image

I connected again in my computer, using T-U2T for the serial monitor.

Looks like it is not find any SSID / WIFI.. what is going on? Is my board not working well? image

WIFI Scan Test Results:

PS: My board has two antennas connected and it is really close from the wifi2.4G

dcseng commented 1 year ago

@LilyGO @liangyingy @swkim01 (image

I recorded a video on youtube following your guide and my device has a problem or, at least, your example project doesn't work. Could you help us to understand what is going on? My goal is to use it in Home Assistant through zigbee2mqtt, using Mosquito Broker MQTT.

I would like to have one to be a zigbee router and another to be a bridge/zigbee extender

zigbee2mqtt project doesn't work https://youtu.be/OmtmtGZHcNg

lbuque commented 1 year ago

The save button is used to save the current configuration information. The update button is used to refresh the current configuration information and verify that the save button is correct to save the configuration information.

They seem to give you ambiguity.

image

lbuque commented 1 year ago

image

You can also modify the relevant configuration items at the 1 mark, and then click the button at the 3 mark to upload, and the configuration will take effect.

lbuque commented 1 year ago

There is a bug in setting mqtt using the web page, which has been fixed at present. see eff375bc96dd4ebabf9cbb29e7898dd4190ab44c.

dcseng commented 1 year ago

I will try it tonight, thanks.

Btw, how can I connect in a mqtt server using credentials? I don't find any password and username fields.

Thanks

lbuque commented 1 year ago

No credentials required

swkim01 commented 1 year ago

I will try it tonight, thanks.

Btw, how can I connect in a mqtt server using credentials? I don't find any password and username fields.

Thanks

If required, you can add those fields at app_mqtt.cpp as follows.

…
extern String mqtt_server;
extern uint32_t mqtt_port;
char username[16] = "mqtt";
char password[16] = "mqtt";
…
void mqtt_app_start(void)
{
    esp_mqtt_client_config_t mqtt_cfg = {
        // .uri = MQTT_BROKER_URL,
        .host = mqtt_server.c_str(),
        .port = mqtt_port,
        .username = username,
        .password = password
    };
…
dcseng commented 1 year ago

Now it is connected to MQTT and in my wifi connection.

I'm trying to have AirQuality Zigbee in Home Assistant, MQTT integration there.

I tried to pair the device and it looks in terminal that it was recognized but nothing happen to me in Home Assistant, need I to config something more?

Reconnecting to COM3     Connected!
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x1 (POWERON),boot:0xd (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x438
load:0x403ce000,len:0x918
load:0x403d0000,len:0x24e4
entry 0x403ce000
WiFi: Set mode to WIFI_AP_STA
Waiting for WiFi
[WiFi-event] event: 11
WiFi access point  stopped
[WiFi-event] event: 10
WiFi access point started
WiFi: softAP has been established
WiFi: please connect to the LilyGo-EECC
HTTP server started
Nothing saved yet!
[WiFi-event] event: 5
Disconnected from WiFi access point
[WiFi-event] event: 4
Connected to access point
[WiFi-event] event: 7
Obtained IP address: 192.168.0.142
E (11297) esp-tls: [sock=49] select() timeout
E (11297) TRANSPORT_BASE: Failed to open a new connection: 32774
E (11297) MQTT_CLIENT: Error transport connect
[ 11271][E][app_mqtt.cpp:203] log_error_if_nonzero(): [APP_MQTT] Last error reported from esp-tls: 0x8006
Guru Meditation Error: Core  0 panic'ed (Load access fault). Exception was unhandled.

Core  0 register dump:
MEPC    : 0x40058fb4  RA      : 0x42005490  SP      : 0x3fcb6400  GP      : 0x3fc8e400
TP      : 0x3fc94dcc  T0      : 0xa5a5a5a5  T1      : 0x3fc93c4c  T2      : 0xa5a5a5a5  
S0/FP   : 0x00000000  S1      : 0x3c0c1000  A0      : 0x0000000b  A1      : 0x3c0c143c
A2      : 0x00000015  A3      : 0x3c0c143c  A4      : 0x00000000  A5      : 0x0000000b  
A6      : 0x00000000  A7      : 0x00000000  S2      : 0x3c0c1000  S3      : 0x3c0c1000
S4      : 0x3c0c1000  S5      : 0x0000000b  S6      : 0x00000000  S7      : 0x00000003  
S8      : 0x00000005  S9      : 0x00000000  S10     : 0x00000000  S11     : 0x00000000
T3      : 0x3fc8e400  T4      : 0x00000000  T5      : 0x403899dc  T6      : 0x4200687e  
MSTATUS : 0x00001881  MTVEC   : 0x40380001  MCAUSE  : 0x00000005  MTVAL   : 0x0000000b
MHARTID : 0x00000000

Stack memory:
3fcb6400: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x00098048 0xa5a5a5a5 0xfe6265df 0xcc86ecff
3fcb6420: 0x00000000 0x00000000 0x0000008e 0x00000000 0x00000044 0x00000000 0x00000000 0x00000000
3fcb6440: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb6460: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb6480: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb64a0: 0x00000000 0x00000000 0x00000000 0x00000000 0x0020ffe2 0x00000001 0x0000001f 0x00000000
3fcb64c0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb64e0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb6500: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb6520: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x0020ffe4 0x00000001
3fcb6540: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb6560: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb6580: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb65a0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb65c0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb65e0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb6600: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb6620: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb6640: 0x00000000 0x00000000 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fcb6660: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fcb6680: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fcb66a0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fcb66c0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fcb66e0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fcb6700: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fcb6720: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fcb6740: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fcb6760: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fcb6780: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fcb67a0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fcb67c0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fcb67e0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5

ELF file SHA256: 0000000000000000

Rebooting...
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0xd (SPI_FAST_FLASH_BOOT)
Saved PC:0x40381976
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x438
load:0x403ce000,len:0x918
load:0x403d0000,len:0x24e4
entry 0x403ce000
WiFi: Set mode to WIFI_AP_STA
Waiting for WiFi
[WiFi-event] event: 11
WiFi access point  stopped
[WiFi-event] event: 10
WiFi access point started
WiFi: softAP has been established
WiFi: please connect to the LilyGo-EECC
HTTP server started
[WiFi-event] event: 5
Disconnected from WiFi access point
[WiFi-event] event: 4
Connected to access point
[WiFi-event] event: 7
Obtained IP address: 192.168.0.142
E (11306) esp-tls: [sock=49] select() timeout
E (11306) TRANSPORT_BASE: Failed to open a new connection: 32774
E (11306) MQTT_CLIENT: Error transport connect
[ 11280][E][app_mqtt.cpp:203] log_error_if_nonzero(): [APP_MQTT] Last error reported from esp-tls: 0x8006

Device: image image image

Home Assistant: image

image

lbuque commented 1 year ago

@camnop

Currently only the following devices are supported:

image

dcseng commented 1 year ago

@camnop

Currently only the following devices are supported:

image

Is there any guide or tip about how to support new devices?

Is possible to use the lilygo board like a remote adapter in zigbee2mqtt (Home Assistant)?

https://www.zigbee2mqtt.io/advanced/remote-adapter/connect_to_a_remote_adapter.html#_2-b-configure-ser2net-4-0

Connect to a remote adapter
This how-to explains how to run Zigbee2MQTT with an adapter on a remote location. We will use ser2net for this which allows to connect to a serial port over TCP. In this way you can e.g. setup a Raspberry Pi Zero with the adapter connected while running Zigbee2MQTT on a different system. The instructions below have to be executed on the system where the adapter is connected to.

image

lbuque commented 1 year ago

@camnop zigbee2mqtt.io supports ti and silicon coordinators, lilygo uses telink, their serial port protocols are different, and remote adapter cannot be used.

lbuque commented 1 year ago

@camnop Can you provide the sniffer file for the AirQuality Zigbee device? So I can try to adapt it.

dcseng commented 1 year ago

Are you saying this code?

If not, how can I have this sniffer file?

Core  0 register dump:
MEPC    : 0x40058fb4  RA      : 0x42005490  SP      : 0x3fcb6400  GP      : 0x3fc8e400
TP      : 0x3fc94dcc  T0      : 0xa5a5a5a5  T1      : 0x3fc93c4c  T2      : 0xa5a5a5a5  
S0/FP   : 0x00000000  S1      : 0x3c0c1000  A0      : 0x0000000b  A1      : 0x3c0c143c
A2      : 0x00000015  A3      : 0x3c0c143c  A4      : 0x00000000  A5      : 0x0000000b  
A6      : 0x00000000  A7      : 0x00000000  S2      : 0x3c0c1000  S3      : 0x3c0c1000
S4      : 0x3c0c1000  S5      : 0x0000000b  S6      : 0x00000000  S7      : 0x00000003  
S8      : 0x00000005  S9      : 0x00000000  S10     : 0x00000000  S11     : 0x00000000
T3      : 0x3fc8e400  T4      : 0x00000000  T5      : 0x403899dc  T6      : 0x4200687e  
MSTATUS : 0x00001881  MTVEC   : 0x40380001  MCAUSE  : 0x00000005  MTVAL   : 0x0000000b
MHARTID : 0x00000000

Stack memory:
3fcb6400: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x00098048 0xa5a5a5a5 0xfe6265df 0xcc86ecff
3fcb6420: 0x00000000 0x00000000 0x0000008e 0x00000000 0x00000044 0x00000000 0x00000000 0x00000000
3fcb6440: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb6460: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb6480: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb64a0: 0x00000000 0x00000000 0x00000000 0x00000000 0x0020ffe2 0x00000001 0x0000001f 0x00000000
3fcb64c0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb64e0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb6500: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb6520: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x0020ffe4 0x00000001
3fcb6540: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb6560: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb6580: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb65a0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb65c0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb65e0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb6600: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb6620: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcb6640: 0x00000000 0x00000000 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fcb6660: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fcb6680: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fcb66a0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fcb66c0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fcb66e0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fcb6700: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fcb6720: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fcb6740: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fcb6760: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fcb6780: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fcb67a0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fcb67c0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fcb67e0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5

ELF file SHA256: 0000000000000000
lbuque commented 1 year ago

@camnop The acquisition of sniffing files can be done through this tool. https://www.zigbee2mqtt.io/advanced/zigbee/04_sniff_zigbee_traffic.html#with-cc2531

dcseng commented 1 year ago

Thanks, I will post it tomorrow

dcseng commented 1 year ago

HI @lbuque

I sniffed zigbee traffic from TS0601 Air Quality Sensor - TuYa - 0xA41D - 0xcc86ecfffe6265df

WIRESHARK SNIFFED FILE: TS0601_air_quality_sensor_TuYa_0xA41D_0xcc86ecfffe6265df.zip

image

{
    "co2": 370,
    "formaldehyd": 2,
    "humidity": 5.8,
    "linkquality": 86,
    "temperature": 25.5,
    "voc": 1
}

image

image

image

Do you think you can adapt it to work in T-Zigbee? May next time you cold give us a guide about how to adapt new devices.

lbuque commented 1 year ago

This device uses the transparent transmission protocol. At present, I am not sure whether T-ZigBee can receive this transparent data (this transparent data may be discarded by the gateway and will not be sent to esp32-c3). I have a similar device on hand, I can try to adapt it.

If you want to know the specific definition of this transparent data, you can refer to the link: https://www.zigbee2mqtt.io/advanced/support-new-devices/03_find_tuya_data_points.html

pawilli commented 1 year ago

I will try it tonight, thanks. Btw, how can I connect in a mqtt server using credentials? I don't find any password and username fields. Thanks

If required, you can add those fields at app_mqtt.cpp as follows.

…
extern String mqtt_server;
extern uint32_t mqtt_port;
char username[16] = "mqtt";
char password[16] = "mqtt";
…
void mqtt_app_start(void)
{
    esp_mqtt_client_config_t mqtt_cfg = {
        // .uri = MQTT_BROKER_URL,
        .host = mqtt_server.c_str(),
        .port = mqtt_port,
        .username = username,
        .password = password
    };
…

Thank you very much for providing this tip [swkim01] since most of us have to pass username and password to the mqtt server. However, when we use this suggested code it causes a panic'ed (Load access fault). Can you share your complete app_mqtt.cpp with us please?

Also I have found it easier to just edit the ..\T-ZigBee-main\examples\zigbee2mqtt\data\db.json file and adding in your wifi and mqtt details as waiting for the AP and web interface is too slow and buggy...

`{ "sta": {

    "ssid": "myssid",

    "pwd": "mypassword"

},

"zigbee": {

    "channel": 25

},

"mqtt": {

    "server": "10.X.X.X",

    "port": 1883

        }`
lbuque commented 1 year ago

@pawilli The ability to use Credentials for MQTT has been added. 3b9ba552b492afed7f105db72d39d0140aa6af11

pawilli commented 1 year ago

@lbuque Thank you for updating the code. However it does not work... a) There is no interface to enter the user and password for the mqtt server

name: ssid args: XXXXXX name: password args: xxxxxx name: server args: ########## name: port args: 1883

Also when you hard code the data in new fields created in ...\examples\zigbee2mqtt\data\db.json it does not connect.

E (289762) MQTT_CLIENT: MQTT connect failed

My work-around for now is to hardcode the user and password in the mqtt URI line in ...\examples\zigbee2mqtt\app_mqtt.cpp line 105 replace sprintf(uri, "mqtt://%s:%d", mqtt_server.c_str(), mqtt_port);

with

"mqtt://username:password@###.##.#.###:1883"

image

lbuque commented 1 year ago

@pawilli you need to re-flash littlefs.

pawilli commented 1 year ago

@pawilli you need to re-flash littlefs.

@lbuque

Thank you for your quick reply.

Confirmed working.

Notes for others who need help re-flashing littlefs...

Run the following from the terminal in platformio after you clean and build the new platformio.ini:

pio run -e zigbee2mqtt -t upload
pio run -e zigbee2mqtt -t uploadfs

Don't forget to hardcode your mqtt username and password in ...\examples\zigbee2mqtt\data\db.json