Git Product home page Git Product logo

gurgleapps / pico-web-server-control Goto Github PK

View Code? Open in Web Editor NEW
119.0 119.0 16.0 150 KB

A simple and efficient MicroPython web server designed for Raspberry Pi Pico, ESP8266, ESP32, allowing seamless control of microcontroller projects via a web browser.

Home Page: https://gurgleapps.com/learn/projects/micropython-web-server-control-raspberry-pi-pico-projects

License: MIT License

Python 41.34% HTML 58.23% Shell 0.12% CSS 0.08% JavaScript 0.24%
micropython micropython-esp32 micropython-esp8266 micropython-rpi-pico pi pico picow raspberry routes-api rp2040 server web webserver

pico-web-server-control's People

Contributors

gurgleapps avatar mirkin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pico-web-server-control's Issues

Pico loosing connection to wlan

Sometimes, after hours or days, my pico running your software, can get disconnected to the wlan. It seems as it does not attempt to log back on should this happen. The problem is solved if I shut down power supply, and boot up again.

I've tried to look through the logic of your code, but I am a newbie, and struggle to find this ongoing test. What I mean is explained in the following psudo code:

While program is running:
    if connection_status == connected:
        pass
    else:
        initiate_new_connection_to_wlan_method()

You could consider how many attempts should be done before another action where to take place. E.g. shutdown, alert, or similar.

Now it could very well be that you already have this logic implemented in your code. And that the issue is on my local network or router set-up. If so, I would be grateful to hear back from you.

If, however you don't have this logic implemented, I would welcome you to patch this feature or point me to the lines where I should look at tweaking it for myself.

Love your framework by the way! I am well on my way to get the smartest garage in the entire neighbourhood ๐Ÿฅ‡

Plasma Stick 2040

Hello,

thank you for making this code available - it's great!! (I found it via https://hackaday.com/2023/04/07/pi-microcontroller-still-runs-a-webserver/ )

I'm trying to use the web server to drive the Plasma Stick
https://shop.pimoroni.com/products/plasma-stick-2040-w

I've forked the code here:
https://github.com/OpenDevEd/plasma-pico-web-server-control
and added two of the plasma examples.

I can successfully start a plasma stick pattern with:

wget -O - http://192.168.1.198/plasma/1

However, when I try to stop it,

wget -O - http://192.168.1.198/plasma/0

the server hangs.

I'm not really familiar with asyncio, so it might be a basic mistake.

Any ideas?

Many thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.