Closed MauiKano closed 4 years ago
Do you have a firewall?Or your library is no problem?You can try the master branch. (Anyone can fix it or have a good idea?)
I have a firewall but that is not the issue. the wristband hotspot works with the precompiled firmware. I use the Wifi manager library by cloning that way: git clone -b development https://github.com/tzapu/WiFiManager.git
Do you tried master branch? git clone https://github.com/tzapu/WiFiManager.git
using the master branch I get a compile error: Used: ...../sketchbook/hardware/espressif/esp32/libraries/WiFi .........sketchbook/libraries/WiFiManager/WiFiManager.h:16:25: fatal error: ESP8266WiFi.h: No such file or directory
Make sure you installed ESP8266 wifi library. Maybe you can see README.md in WifiManager.
You can check them:
(I am not make sure)
Doubt that these are needed.
How does the source code of the firmware T-Wristband-20200104 look like ? I am particularly interested how setupWiFi looks like. The current code is this: Is there a difference ?
void setupWiFi() {
WiFiManager wifiManager;
//set callback that gets called when connecting to previous WiFi fails, and enters Access Point mode
wifiManager.setAPCallback(configModeCallback);
wifiManager.setBreakAfterConfig(true); // Without this saveConfigCallback does not get fired
wifiManager.autoConnect("T-Wristband");
}
is
I found it :) My hardware installation for ESP32 in the Arduino IDE was outdated. I installed fresh from here: https://github.com/espressif/arduino-esp32 That solved the issue.
Don't forget to update your outdated installation next time😃
well. I had HW configured in arduono IDE via the json URL in preferences. That should give you auto update. However, there are various ESP32 HW branches out there. It would be good if you explicitly mention in the README the ESP32 git URL that is needed.
But i have a second issue now: A WiFi configuration is not stores persistently. If my wristband goes to sleep and rewoke again i have to configure wifi again:(
On 5 Mar 2020, at 00:55, raspberry notifications@github.com wrote:
 Don't forget to update your outdated installation next time:D
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or unsubscribe.
I can flash the precompiled firmware T-Wristband-20200104 which brings me the WiFi manager hotspot T-Wristband and I can configure WiFi. All works. Then I compile the latest Arduino source found in Xinyuan-LilyGo with the development branch of the WiFi manager. I can load the resulting firmware to my Wristband and it goes to the hotspot and shows the respective screen on the wristband but the WiFi is not announced. I can not find it when searching Wifi on my computer of phone. Any ideas ?