Trouble receiving http get requests

This page summarizes the projects mentioned and recommended in the original post on /r/arduino

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • WiFiEsp

    Arduino WiFi library for ESP8266 modules

  • Sorry, but I am kinda a noob at this stuff, but I am trying to make a relatively kind of simple IoT LED strip. I have 1200 leds using ws2812b's. I have them hooked up to a 70amp psu with this arduino mega clone: https://www.amazon.com/dp/B07THDDFSJ?psc=1&ref=ppx_yo2ov_dt_b_product_details with built in wifi. I followed some tutorials on getting the wifi set up on it, and got that working and responding to http requests. I am a noob with Arduinos, but I have been coding my whole life. As soon as I start adding complicated light patterns to the board, the http requests I send to the Arduino start timing out. Currently, I have it check for new http requests in the center of every inner for loop that I use. That way if the Arduino is in the middle of a light animation, it will still check to see if it got a new connection. The problem is, the less I have it check for new connections, the less responsive it becomes. I basically have to keep sending the http requests and like 20% of them trigger the lights to change patterns. The other 80% result in timeouts. It seems to work flawlessly when its just running a simple web server and nothing else. After some googleing, I believe I am getting the same error as this guy: https://github.com/bportaluri/WiFiEsp/issues/130

  • ESPAsyncWebServer

    Async Web Server for ESP8266 and ESP32

  • I don't know what kind of Arduino you are using, but I would never try to implement a HTTP server that wasn't asynchronous. Typically using https://github.com/me-no-dev/ESPAsyncWebServer

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts