unfoldedcircle / feature-and-bug-tracker

Feature and bug tracker repository for Unfolded Circle products
25 stars 0 forks source link

[bug] Issues with WiFi #391

Open JoaoPPCastelo opened 3 months ago

JoaoPPCastelo commented 3 months ago

Is there an existing issue for this?

Description

I switched my remote to a new WiFi and after that started to have connectivity issues between the remote and the dock like getting an error message when sending IR commands from the dock. I checked on the Docks screen and the status was always "Reconnecting" but the connection was never successful. Tried to do a factory reset on the dock but same issue.

Ended up doing a factory reset on the dock and remote and now i can't connect to a password protected WiFi. Tested 2 different networks (the old one and the new) but can't connect. Tried to connect to an open WiFi and it worked.

How to Reproduce

  1. Perform a factory reset on the remote
  2. Go through the setup screens (lang: eng; country: portugal; timezone: lisbon; setup a pin; name the remote; name the profile)
  3. Try to connect to a password protected network -> Fail
  4. Try again -> Fail. Checked the UniFi console there's an entry with Manufacturer Murata Manufacturing Co., Ltd. (no other device being connected, so assume it's the remote)
  5. Click on "Set up later" -> Done -> Close
  6. Go to the settings screen -> WiFi & Bluetooth. Below the line with "WiFi" and the toggle On/Off there's just a X and the icon of WiFi greyed out
  7. Click on the X and it shows empty mac address and ip address
  8. Click on delete -> Error "Failed to delete network. WiFi network does not exist"
  9. Click close and try to connect to the WiFi from the list below -> after a few seconds the process fails

Expected behavior

Being able to connect to password protected networks and properly see them on the WiFi & Bluetooth screen

System version

1.7.14

What part of the system affected by the problem?

Overall system

Additional context

No response

JoaoPPCastelo commented 3 months ago

I dropped the WiFi on the UniFi Console and recreated and after a factory reset was able to connect the remote to the WiFi. Had to perform a factory reset because was getting the "Failed to delete network. WiFi network does not exist" when trying to delete the connection. Maybe the real bug is a connection that was not successful is being added to the list but it can't be deleted? 🤔

zehnm commented 3 months ago

I will try to reproduce it. The it shows empty mac address and ip address is a good hint. Most likely the wifi network configuration entry is in some weird state because it could not connect to the access point. @martonborzak the API provides the del_all_wifi_networks to completely clear the network configuration. What do you think about adding this to the remote-ui app? This would provide an easy way to reset everything.