Connecting to WiFi
Opened this issue · 5 comments
Hi! This is a cool little project you have! I imagine you may not be planning to support other users as it's just a side project, but if you have the time, I've been having trouble getting my LILYGO board to connect to WiFi following your instructions. How long is a "long press"? I can get the "app" menu to come up sometimes (maybe 1 time every 20 attempts) and then try to "long press" it again (since WiFi is the only app that shows up on that menu), but ESPTouch never succeeds.
The WiFi network I'm connecting to is 2.5GHz only, so that shouldn't be the issue. Unfortunately, ESPTouch gives little to no logs, so I'm unsure what exactly is failing. Either way, no new device appears in my WiFi DHCP leases and the time never corrects itself.
Any help you can offer would be appreciated!
Cheers,
Ted
Hello! Thanks for testing this out and providing feedback.
The apps menu is rather unstable at the moment but I have some non published fixes that I'll push soon.
As for the WiFi issue, does a "Waiting for connection" text with the WiFi logo show up when you enter the WiFi app? If not then it's definitely just apps menu issues.
Also, just saw you project (https://github.com/tedtms/Epaper-Watch), very cool!
I also have no idea why the battery life is really bad. I'm guessing it's something to do with the power management circuit of the GPS module on LILYGO's side and I'm suspecting that the non-GPS version might be better in this regard. Do you have the GPS version or the non-GPS one?
Also check these utilities out, they were super useful to me while developing this:
- https://javl.github.io/image2cpp/ (for converting images to header files that can be shown on the screen)
- https://rop.nl/truetype2gfx/ (for converting fonts)
As for the WiFi issue, does a "Waiting for connection" text with the WiFi logo show up when you enter the WiFi app? If not then it's definitely just apps menu issues.
The WiFi app comes up, I can't remember if it had any text under it. I think it did. To clarify, I'm supposed to long-press from the main home screen, and then long-press again when the "app menu" comes up, right? IIRC, I could barely ever get the app menu to come up at all, and when it did, it just had the WiFi symbol on it and then I would try to long-press and "select" it. But then the display would just refresh again and I'd be back on the main screen, or it would reboot. If I can ask, what made you decide to go the "app" route for WiFi connection instead of just baking the SSID and passkey into the firmware?
Also, just saw you project (https://github.com/tedtms/Epaper-Watch), very cool!
Thanks! As I'm sure you saw, your project was 100% my inspiration for that. It's actually my first repo! I've thought about renaming it "OpenWatch," we'll see.
As for the battery life, I actually have the non-GPS version of the board. I'm currently getting ~4 hours of life out of it, even with stock firmware... What battery did you end up getting for yours? I've got a 250mAh one currently but I've been looking around for a 500mAh one, if I can find one with both the correct 1.25 JST connector and the right form factor.
Thanks for the links!! I had found image2cpp (amazing tool) which is what I used too but the truetype2gfx is new to me, I was wanting to switch my project to your fonts and this will help a ton!
Hello! Thanks for testing this out and providing feedback.
The apps menu is rather unstable at the moment but I have some non published fixes that I'll push soon.
As for the WiFi issue, does a "Waiting for connection" text with the WiFi logo show up when you enter the WiFi app? If not then it's definitely just apps menu issues.
Any updates on the fixes? I am getting the same issue.
UPDATE: I pushed a fix out to my fork to bypass the wifi smartconfig in favor of manual SSID & Password entry in the wakeup.cpp file
I've tried everything but I can't seem to be able to use the APP at all.
I've been adding some logic to handle ssid and password configured inside the OS config by the user if no credentials are found.