SlimeVR/SlimeVR-Tracker-ESP

Trackers not connecting without WiFi reboot

ButterscotchV opened this issue · 5 comments

Discussion is on Discord: https://discord.com/channels/817184208525983775/1027559999574114376

There seems to be an issue with specific routers where a reboot is required to get Slime trackers to connect.

Routers known to have this issue:

  • TP-Link Archer C4000 (AC4000)

Routers that might work using a workaround introduced in firmware version 0.3.0 (WIFI_PHY_MODE_11G):

  • TP-Link Archer AXE75 (AXE5400)
  • ASUS RT-AX56U
  • ASUS RT-AC66U
  • ASUS RT-AC68U
  • ASUS ROG AX11000
  • ASUS ROG AXE11000
  • ASUS ZenWiFi AX Mini (XD4)

Routers that require to be set to "Legacy" Wireless Mode:

  • ASUS TUF-AX5400
  • ASUS RT-AX55
  • ASUS RT-AX82U
  • ASUS RT-AX88U
  • ASUS RT-AX92U

Screenshot_20221007-002639.jpg
(From Loler920a-Frank)

Routers that do not have this issue:

  • ASUS RT-AX58U

seem to be related: esp8266/Arduino#8412

Stumbled upon a possible solution from the esp8266 thread, apparently these issues are fixed in the latest esp8266 Arduino version and you can switch to that in PlatformIO by changing the board config in platformio.ini

From

[env:esp12e]
platform = espressif8266
board = esp12e
; Comment out this line below if you have any trouble uploading the firmware
; and if it has a CP2102 on it (a square chip next to the usb port): change to 3000000 (3 million) for even faster upload speed
upload_speed = 921600

to

[env:esp12e]
platform = espressif8266
board = esp12e
; Comment out this line below if you have any trouble uploading the firmware
; and if it has a CP2102 on it (a square chip next to the usb port): change to 3000000 (3 million) for even faster upload speed
upload_speed = 921600
platform_packages =
  platformio/framework-arduinoespressif8266 @ https://github.com/esp8266/Arduino.git

Should be fixed with release 0.3.0

Re-opening at the request of @nullstalgia, the source of the problem still isn't quite found

image

I am able to connect without the fallback by switching to 20MHz simply. Perhaps this chip is not compatible with 40MHz? ESP32 is fine though.

Before on 20/40MHz
image

After:
image

Might be relevant: https://www.hackster.io/news/esp8266-or-esp32-connectivity-woes-check-your-wi-fi-channel-suggests-olimex-s-tsvetan-usunov-d6d4791884d3