Closed TroLoos closed 3 years ago
Mine all reconnect after a wifi disconnect.
Anything interesting in serial logs? Does the setup AP appear?
Mine all reconnect after a wifi disconnect.
Anything interesting in serial logs?
What do you mean by serial logs? I can share it with you, let me know how to do it.
Does the setup AP appear?
No, it doesn't reset itself, just disappears. To reconnect I have to power cycle NodeMCU. Then it all goes back to normal.
Perhaps it's something proprietary to Ubiquiti UniFi device set, I'm not sure... but it seems like the reconnection could be more "forceable" or aggressive...
You can do it through the Arduino IDE. I prefer a terminal with platformio device monitor
.
https://arduino-esp8266.readthedocs.io/en/latest/Troubleshooting/debugging.html
Gotcha.
Could be. All of the WiFi reconnection stuff is handled by the SDK (i.e., below EspMH). It works on both my router (dd-wrt) and my phone's hotspot. Probably doesn't hurt to have a more aggressive reconnect, but would want to see that there's some precedent.
I have the same issue with my D-Link dap-2695 AP. I've tries all kinds of stuff to optimize the AP but nothing helps.
Also see the same behaviour on my esp8266 milight hub. Ubiquiti AP-AC-Lite in use here too.
This is caused by the SDK version used. I'd have the same issue with all my esp8266 clients. Also using Unifi products. Every brand works better with a different SDK version.
See this issue for more info: https://github.com/arendst/Tasmota/issues/5469
@stefanheijnen, if I'm reading the issue correctly, there's only a difference when Tasmota's "dynamic sleep" functionality is enabled. The stats in the issue show 0 disconnects for all tested versions when dynamic sleep isn't enabled.
I'm pretty sure this project is using several of the features from the current version of the SDK it's on, so it's not a quick thing to revert to an older version. You are, of course, welcome to give that a try. Given how old 2.4 is (its initial release predates KRACK), not sure it's the best idea, though.
I think releases older than 1.6 are built against 2.3, but would have to check.
I must say that I no longer noticed issues with my hubs. Firmware 1.10.6. My Unify AP's are on 5.x.
Gonna close this since it doesn't seem to be a consistent issue for many people -- please feel free to respond if it's still a problem and we can re-open.
Describe the bug
My MiLight Hub doesn't reconnect to WiFi by itself. Sometimes I have to reconfigure my WiFi network (UniFi system), and after short unavailability of WiFi, my Milight Hub gets lost.
Steps to reproduce
Turn off WiFi, turn on WiFi after short while.
Expected behavior
MiLight Hub reconnects to WiFi after network is available again.
Setup information
Firmware version
1.10.5 (nodemcuv2)
Output of http://milight-hub.local/about
Output of http://milight-hub.local/settings
Additional context