-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add web workflow to ESP boards #6528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
new merge conflict just appeared |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great!
I tried giving an incorrect password again. When connected to the REPL, I see a long delay before the REPL produces output, and even after producing output, I cannot type at the REPL for 10-15 seconds after "Press any key" shows up.
If I have two boards web-capable boards, at least on Linux, and unplug one, and plug in the other, the avahi caching will resolve circuitpython.local
to the old board's IP address for some time (minutes, it appears). I don't know how well it works on Windows or macOS. There doesn't seem to be an easy way to clear the cache except to restart the avahi daemon.
Rather mysteriously, the first board I tried did not show up in the browser for some time. This seems like a DNS issue.
I could not get the Javacript buttons to work in the file browser -- they were all gray all the time.
I think we could still merge this soon for people to try, and say it's rough and we want feedback.
I'm thinking about a It also brings up the question of how to represent boolean values in |
This should be the same as before. I didn't change anything with the auto-connect.
I haven't noticed this on Arch. Though I've been mainly using the same board. You should be able to enter the others IP and it'll do the MDNS search for you (and use the others' IPs in the list.)
MDNS uses UDP so it can take some time.
This is likely because you had USB storage enabled. I'll add a notice.
100%. puts the alpha in alpha. :-) |
I'm open to doing this though I'd prefer it default on when using the auto-wifi. Folks can use other env variables if they want to control it themselves (maybe
|
Ok, @dhalbert please take another look when you have time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fixes. Looking forward to feedback.
This adds a web server to CircuitPython that runs on port 80 and provides workflow related APIs. See
docs/workflows.md
for details.Related to #6174