Search found 6 matches

by ghawkins
Wed Jul 29, 2020 2:53 pm
Forum: General Discussion and Questions
Topic: MicroPython consumer-friendly web controlled lighthouse project
Replies: 0
Views: 1827

MicroPython consumer-friendly web controlled lighthouse project

This project features some fun electronics but the real point was to try and create something as consumer-friendly as possible in terms of both initial set up and subsequent use. There are two main parts to making this device easy to use. The first part is connecting it to your network. The followin...
by ghawkins
Thu Jun 11, 2020 7:42 pm
Forum: General Discussion and Questions
Topic: Show me: a library for easy WiFi setup for non-dev end-users
Replies: 4
Views: 4419

Re: Show me: a library for easy WiFi setup for non-dev end-users

Thanks, Kevin and Thorsten. I put a really surprising amount of effort into making the whole thing feel as much like an app while being completely HTML based. At the start, I thought I'd have it all done in a weekend but, as the commit history shows, I rather underestimated the effort. It was intere...
by ghawkins
Wed Jun 10, 2020 11:42 am
Forum: General Discussion and Questions
Topic: Show me: a library for easy WiFi setup for non-dev end-users
Replies: 4
Views: 4419

Show me: a library for easy WiFi setup for non-dev end-users

I'm a hobbyist and sometimes I create devices that I want to give away to non-developer friends. I created the library micropython-wifi-setup to allow them to connect such devices to their home WiFi networks without having to first connect a USB cable, configure things via the REPL or worry about th...
by ghawkins
Thu Mar 12, 2020 8:32 pm
Forum: ESP32 boards
Topic: WLAN.status() always reports STAT_CONNECTING but expect STAT_WRONG_PASSWORD
Replies: 5
Views: 5890

Re: WLAN.status() always reports STAT_CONNECTING but expect STAT_WRONG_PASSWORD

Thanks for your reply tve - I tried various iterations of your idea but still didn't get very informative statuses. I wrote my own status function like so: def status(wlan, timeout_ms): start = time.ticks_ms() while True: s = wlan.status() if s != network.STAT_CONNECTING: return s if time.ticks_diff...
by ghawkins
Wed Mar 11, 2020 10:26 pm
Forum: ESP32 boards
Topic: WLAN.status() always reports STAT_CONNECTING but expect STAT_WRONG_PASSWORD
Replies: 5
Views: 5890

WLAN.status() always reports STAT_CONNECTING but expect STAT_WRONG_PASSWORD

I thought I would be able to use WLAN.status() to detect if the wrong password was specified when connecting to a given SSID. However, it just continuously reports STAT_CONNECTING and it's only in the log output that I see that something is wrong - I continuously see: I (101375) wifi: STA_DISCONNECT...