Skip to content

EMW3080/RTL8710BN: WiFi connection failure after upgrade to LT1.0.1 #113

@hn

Description

@hn

I upgraded from LibreTuya to LibreTiny via OTA and the EMW3080 stick did not reconnect to network. Analysis via serial port showed:

[wifi:258]: WiFi Connecting to 'MY-WIFI'...
[   1697.075] WIFI: Connection failed; ret=-1
[W][wifi_lt:119]: esp_wifi_connect failed! 4
[E][wifi:304]: wifi_sta_connect_ failed!
[W][wifi_lt:288]: Event: Disconnected ssid='' bssid=00:00:00:00:00:00 reason='Unspecified'

I took the stick out of the room where the solar inverter is located and placed it near the router antenna. With this, the stick gets an IP address but restarts shortly after during the boot process.

With LibreTuya the WiFi connection never was a problem (even in the room where the solar inverter is stored).

For now, I re-flashed an old LibreTuya firmware bin and everything is working fine again.

Processing solis-inv (board: generic-rtl8710bx-4mb-980k; framework: arduino; platform: libretiny)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
HARDWARE: RTL8710BN 125MHz, 256KB RAM, 980KB Flash
 - framework-arduino-api @ 2022.8.24+sha.237b10a 
 - framework-realtek-amb1 @ 0.0.0+v2022.06.21.sha.c4e44ef 
 - library-flashdb @ 1.2.0+sha.d5c892f 
 - library-freertos @ 8.1.2+sha.776ae6c 
 - library-freertos-port @ 2023.3.13+sha.bd96e82 
 - library-lwip @ 2.1.3-amb1+sha.6297b80 
 - library-printf @ 6.1.0+sha.28a79bd 
 - tool-ltchiptool @ 4.0.0+sha.788ba4e 
PLATFORM VERSIONS:
 - libretiny @ 1.0.1+sha.d332315
 - ltchiptool @ 4.0.1
CUSTOM OPTIONS:
 - fw_name = esphome
 - fw_version = 2023.5.0-dev
Dependency Graph
|-- ESPAsyncWebServer-esphome @ 3.0.0+sha.9f822c0
|   |-- AsyncTCP-esphome @ 2.0.0+sha.aab1fe4
|-- DNSServer @ 1.1.0
Compiling .pioenvs/solis-inv/src/main.cpp.o

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions