I liked this video for the details, it's been a while since I've thought about the OSI model, I think that was back in collage. It doesn't come up much in general business web app development these days, at least not for me :). The DNS section was good too.
Kev, it will be amazing to have Pico W in both Access Point (AP) as well as Station mode (STA). This will open up a whole lot of real world applications. I am sure Pimoroni already has it or perhaps it is on their agenda. Nice explanation, well done Kev. 👍
Hi Q. My first view of your presentation - Altamont NY USA , near Albany NY. Fantastic foundation. Thank you. I am trying to learn how to implement a captured portal and your presentation has been very helpful. Where can I download all code presented and phew? So I can give it a go?
Great question- it’s because vs code is a better editor, with autocomplete, copilot and git integration, but thonny let’s you upload code and files directly onto the Pico (which VS code doesn’t)
What happened to access_point? It's not in the download and trying to import it throws an error. from phew import server, template, logging, access_point, dns All of the above are in the phew library except access_point. That method left out/removed? from the library breaks your code in your video.
Yes you can can set up a relay. Have to setup DMZ on your router and have a Class A server to connect to in order to register the fake DHCP generated Class A.
Hi there from Ontario Canada. I'm tinkering with your code examples -- mostly adding prints to help me figure out the operation. My execution is not loading the text I put in the form. I see the entry in "request" and I see my text in there but resolve_template doesn't appear to process placing the entered text in the body of web page (in between the curly braces) Any thoughts on where I need to focus?
After intitially connecting my Captive Portal is automatically disconnecting form internet. A few times it opened up the webpage with the text written but now seems unable to do so. My wifi network is functioning normally as far as I can determine
Anyone know how to get the catchall and captive-portal features working, using Microdot instead of Phew? Phew tends to crash on me a lot, while microdot seems to be more stable, but doesn't seem to have a catchall function..
I've needed to use pip on a few projects but it never recognizes upip. Does anyone know where the pico looks when you try to import these packages? I'm wondering if they've been removed or if I'm making a mistake in my code.
I want to use a captive portal to allow the user connecting the pico to their "real" wifi. After this is done, the pico should close the captive portal and start a new web server while connected to the home router. I thought maybe its sufficient to just connect the pico to the wifi since that should override the wifi-access-point mode. But either I run into errors or it just doesnt work. In the webinferface of my router I can see that the pico is connected, but I can't access it. Then I thought, I would first need to stop the current Webserver and then start the new one. But Phew doesn't offer any stop()-method in their server-class. Is there an existing solution for this or do I have to modify the phew-code?
Pimoroni do this with their Enviro range of products - first the Pico boots in Access Point mode and scans the network for all local hotspots and presents them as a list. You can select one of them and enter the password; the pico writes this to a config file and then reboots. If the config file exists it reads it and then connects to the local wifi network. Hope this helps
@@kevinmcaleer28 This helps a lot - thanks for the fast response - thought maybe there is a way to hot swap the mode, but I guess the pico reboots so fast that its hardly noticeable, thanks again!
I had a go with your code for the webserver and got errors. Probably because you refer to a library called Phew which doesn't exist on Thonny. The nearest was micropython-phew which didn't seem to work
He literally did a detailed tutorial on how to import it and you can watch him spell out micropython-phew. Regarding the rest of your post, I can agree - it didn't work for me either. Didn't seem like any requests were caught, let alone redirected.
@@schlingelgen I did finally get it to work-kinda. It didn't work in a usable manner though. I gave up on that for the moment. I do far more with the ordinary Pico. The idea of being able to sit somewhere and send a message to a Pico W via the internet is very appealing.
@@britishtechguru I started with the normal pico as well but as soon as I got my hands on a pico w I lost interest in them. It’s fascinating what you can build with a 6$ microcontroller. But working on complex projects is no fun at all with thonny, and vscode won’t let me use the pico extension … I think I will also pause my work for now :/
Truly informative and educational videos on the topic - Thanks
OK, if I have this figured out., living in Southern Arizona .. I have to watch u at 12 noon on Sun.. I'll give it a whirl !! lol
Okay little more than an hour before you go live... HOW do I find you live on YT when you go live? Never followed a live video before.. lol
Thanks from 🇧🇷
Bnc Bayonet Navy Commector used for all Uhf 400 to 470 Mhz radio's. Thank you an awesome informative 📹
Thanks for the great video! Time to start experimenting more with my Pico Ws.
35:30 I have a correction. After version 1.19 of micropython we no longer use upip but mip
thanks again, great video
I liked this video for the details, it's been a while since I've thought about the OSI model, I think that was back in collage. It doesn't come up much in general business web app development these days, at least not for me :). The DNS section was good too.
Kev, it will be amazing to have Pico W in both Access Point (AP) as well as Station mode (STA). This will open up a whole lot of real world applications. I am sure Pimoroni already has it or perhaps it is on their agenda. Nice explanation, well done Kev. 👍
You're an amazing Educator, Kevin!
Way to bring attention to the hobby robotics community! Thank you
Thank you... I've spend 4 hours trying to embed an image on my page. What I am doing wrong? What is the secret sauce?
Hi Q. My first view of your presentation - Altamont NY USA , near Albany NY. Fantastic foundation. Thank you. I am trying to learn how to implement a captured portal and your presentation has been very helpful. Where can I download all code presented and phew? So I can give it a go?
Links to the code should be in the video description (you might have to expand that and scroll down)
@@kevinmcaleer28 thank you. I will try to find link using computer vs phone.
well u could wire up 2 picos together through gpio and have more connections
Is there a reason for you sometimes choose to use Visual Studio Code and other times Thommy?
Great question- it’s because vs code is a better editor, with autocomplete, copilot and git integration, but thonny let’s you upload code and files directly onto the Pico (which VS code doesn’t)
@@kevinmcaleer28 Thanks for answering! I'm learning a lot from your videos.
What happened to access_point? It's not in the download and trying to import it throws an error.
from phew import server, template, logging, access_point, dns
All of the above are in the phew library except access_point. That method left out/removed? from the library breaks your code in your video.
the access_point method is located in the __init__.py in the phew package. the connect_to_wifi method is also found in there.
@@schlingelgen Thanks for the info. I'll check that library again this week.
Yes you can can set up a relay. Have to setup DMZ on your router and have a Class A server to connect to in order to register the fake DHCP generated Class A.
Hi there from Ontario Canada.
I'm tinkering with your code examples -- mostly adding prints to help me figure out the operation.
My execution is not loading the text I put in the form. I see the entry in "request" and I see my text in there but resolve_template doesn't appear to process placing the entered text in the body of web page (in between the curly braces)
Any thoughts on where I need to focus?
Hi Phil are you in our discord group? Might be easier to troubleshoot in there as we can share screenshots
@@kevinmcaleer28 I'll get over there as soon as possible.
Thanks Kevin
I'm a noob on discord. What is your place called there?
@@philclowes3917 if you head over to www.kevsrobots.com/discord you’ll find what your looking for
After intitially connecting my Captive Portal is automatically disconnecting form internet. A few times it opened up the webpage with the text written but now seems unable to do so. My wifi network is functioning normally as far as I can determine
Hi verry nice video, where can i find the codes on your github?
Anyone know how to get the catchall and captive-portal features working, using Microdot instead of Phew? Phew tends to crash on me a lot, while microdot seems to be more stable, but doesn't seem to have a catchall function..
I've needed to use pip on a few projects but it never recognizes upip. Does anyone know where the pico looks when you try to import these packages? I'm wondering if they've been removed or if I'm making a mistake in my code.
I want to use a captive portal to allow the user connecting the pico to their "real" wifi. After this is done, the pico should close the captive portal and start a new web server while connected to the home router. I thought maybe its sufficient to just connect the pico to the wifi since that should override the wifi-access-point mode. But either I run into errors or it just doesnt work. In the webinferface of my router I can see that the pico is connected, but I can't access it. Then I thought, I would first need to stop the current Webserver and then start the new one. But Phew doesn't offer any stop()-method in their server-class. Is there an existing solution for this or do I have to modify the phew-code?
Pimoroni do this with their Enviro range of products - first the Pico boots in Access Point mode and scans the network for all local hotspots and presents them as a list. You can select one of them and enter the password; the pico writes this to a config file and then reboots. If the config file exists it reads it and then connects to the local wifi network. Hope this helps
@@kevinmcaleer28 This helps a lot - thanks for the fast response - thought maybe there is a way to hot swap the mode, but I guess the pico reboots so fast that its hardly noticeable, thanks again!
I had a go with your code for the webserver and got errors. Probably because you refer to a library called Phew which doesn't exist on Thonny. The nearest was micropython-phew which didn't seem to work
He literally did a detailed tutorial on how to import it and you can watch him spell out micropython-phew. Regarding the rest of your post, I can agree - it didn't work for me either. Didn't seem like any requests were caught, let alone redirected.
@@schlingelgen I did finally get it to work-kinda. It didn't work in a usable manner though. I gave up on that for the moment. I do far more with the ordinary Pico. The idea of being able to sit somewhere and send a message to a Pico W via the internet is very appealing.
@@britishtechguru I started with the normal pico as well but as soon as I got my hands on a pico w I lost interest in them. It’s fascinating what you can build with a 6$ microcontroller.
But working on complex projects is no fun at all with thonny, and vscode won’t let me use the pico extension …
I think I will also pause my work for now :/
Aaaa