Skip to main content

Questions tagged [web-server]

A web-server is a system which delivers data such as web-pages to a client system.

Filter by
Sorted by
Tagged with
0 votes
0 answers
71 views

ESP32-CAM stream freezes with ESPAsyncWebServer

I'm having some trouble with my Ai-Thinker ESP32-CAM board and the ESPAsyncWebServer library. I've confirmed the camera works fine using the CameraWebServer example, but I can't get a continuous ...
Mahira Abdullah's user avatar
1 vote
0 answers
43 views

Esp8266 WebServer crashes when I use PracticalCrypto library! why?

So here is my code, Its the simple_server example from ESPAsyncWebServer.h and encryption example from PracticalCrypto.h combined. the webserver works fine and I can see the / page, but the moment I ...
T R Y's user avatar
  • 75
0 votes
1 answer
153 views

Modifying the alert-like popup in ESPAsyncWebServer authenticate() function

So, ESPAsyncWebServer library is using the Digest MD5 Authentication by default, and I want to use this feature in my webserver, but there is a problem, I don't like the ugly prompt box, and I don't ...
T R Y's user avatar
  • 75
-1 votes
1 answer
350 views

Using ESP32CAM board but no face is enrolled

I was working on a project to use the ESP32CAM board to detect faces and open some sort of lock. The program can detect the face using the yellow box that shows up as you can see from the following ...
Wahaaj Nasir's user avatar
1 vote
1 answer
133 views

How can I host a WiFi network from an Arduino getting a connection from a SIM card?

My friend and I are doing a project and we're stuck on a problem. We tried looking stuff up but it looks like no one documented something similar before. Basically, what we want to do is have one ...
loom's user avatar
  • 21
1 vote
1 answer
31 views

Problem with reading MIFARE 13.5Mhz with MFRC522 lib

I'm trying to read the UID of MIFARE 13.5Mhz cards with MFRC522 lib and I have defined the following function for it. void getUID() { if (mfrc522.PICC_IsNewCardPresent() && mfrc522....
T R Y's user avatar
  • 75
0 votes
1 answer
137 views

A peristaltic pump with pH sensor and web based output project

Good day to you all, I am asking here to confirm that my project is feasible. I have low knowledge of Arduino and other components. Please help me in achieving this project. I already have the ...
Johannes Remotigue's user avatar
0 votes
1 answer
147 views

ERROR: return reinterpret_cast<T>(pgm_read_ptr(p));

I need to update DHT sensor data to the webserver in JSON format using ESP8266. This is my code. #include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266WebServer.h> #...
Kuralmozhi's user avatar
1 vote
1 answer
3k views

Arduino uno R4 vs ESP32 Dev board

I was wondering what product would work best for my application. I need a web server interface to control several digital outputs connected to my board, and it needs to be as polished as it can be. In ...
Francesco Antonio Miccoli's user avatar
1 vote
0 answers
41 views

Why is this buffer not being sent to the server?

I'm loading a buffer with different data recorded by sensors and sending them to a server. But I also wanted to log when the data was sent on the client side, so I formatted the time of my RTC clock ...
5TableLegs's user avatar
0 votes
1 answer
2k views

EspAsyncWebServer process HTTPS to HTTP

I read this issue. But I didn't understand it. Like the author I don't have an SSL certificate and I don't want to have one (because if I had one I could live with HTTPS!). I just want to process any ...
Mark's user avatar
  • 393
0 votes
0 answers
151 views

Communication between two ESP32s using WiFi

I have two ESP32s. One is acting as webserver and the other is acting as a client that will send a GET request to the server ESP32. Both of the ESP32s are connected to the same WiFi AP. For sending ...
Arslan's user avatar
  • 134
1 vote
1 answer
254 views

Why does the data I send to the server get rounded off and how do I send the entire float instead?

#include <Arduino.h> #include <WiFi.h> #include "WiFiManager.H" #include <HTTPClient.H> #include "ESPAsyncWebServer.h" #include <AsyncTCP.h> float version =...
jay's user avatar
  • 35
0 votes
2 answers
689 views

ESP32 AsyncWebServer with softAP does not serve pages

I'm trying to create a AsyncWebServer after enabling the SoftAP: #include <Arduino.h> #include <SPIFFS.h> #include <WiFi.h> #include <WiFiAP.h> #include <AsyncTCP.h> #...
Mark's user avatar
  • 393
1 vote
1 answer
784 views

Generalize webserver routing

I'm following the examples for ESP32: AsyncWebServer _server(80); _server.on("/", HTTP_GET, [](AsyncWebServerRequest *request) { request->send(SPIFFS, "/index.html", ...
Mark's user avatar
  • 393
-1 votes
1 answer
1k views

Use of ESPAsyncWebServer.h with ArduinoJson version 6 for Master-Client transactions

I want to communicate two (2) ESP32's via Json commands using ESPAsyncWeb.h. The master should have specific operations to execute and respond to the client, and the client should be able to send ...
Ed Zamper's user avatar
2 votes
1 answer
161 views

How can I do web hosting having all the code of the site stored on an SD?

I am carrying out this project in which the Arduino acts as a web server and hosts a website in which I show the constantly updated temperature of a laboratory. The problem is running all this code in ...
Leo's user avatar
  • 23
1 vote
3 answers
9k views

Why is the server.on() function from "ESPAsyncWebServer.h" executed in the setup() side and not on the loop() side?

I'm implementing an example in which 2 ESP32's communicate each other using the HTTP Protocol. One acts as Server the other as Client. In the examples provided, I am curious about the declaration on ...
Ed Zamper's user avatar
2 votes
0 answers
386 views

Using both FastLED and Webserver without glitches possible?

I'm using an ESP8266 to control a short strip of WS2812 LEDs. I also want some way of remote Control so I'm looking into using a Web UI with the ESPAsyncWebServer library. However using that Webserver ...
Christopher's user avatar
1 vote
0 answers
868 views

ESP8266 ESPAsyncWebServer LittleFS crashes

I am trying to write a simple web page to be served from my ESP8266 based on this tutorial: https://www.mischianti.org/2020/10/26/web-server-with-esp8266-and-esp32-byte-array-gzipped-pages-and-spiffs-...
Alex Hope O'Connor's user avatar
-1 votes
1 answer
2k views

ESP32 Access Point using ESPAsyncWebServer, how to send multiple parameters between submenu and main (index) menu while still retaining page layout? [duplicate]

I am trying to figure out how to get requests (or whatever they are called) to display in the serial monitor, yet not change the HTML page bodies. The user selects their choices in the submenu (...
Adam's user avatar
  • 47
2 votes
1 answer
3k views

ESP32 Access Point and HTTP Web Server, how to send multiple parameters?

I made this minimal example in order to figure out how to get requests (or whatever they are called) to display in the serial monitor. However, none of the query parameters (in the URL) can be seen in ...
Adam's user avatar
  • 47
1 vote
1 answer
134 views

Problems connecting to WiFi101 access point

I currently have two Arduino Zero boards (using the SAMD21 microcontroller), each with an ATWINC1500 wifi module attached. I have established one of these units as a wifi access point with a server ...
David's user avatar
  • 129
2 votes
5 answers
1k views

How to make better looking webpages on an Arduino webserver?

I have a Teensy 4.1 with ethernet, but I have other networked MCUs like a D1 mini, various ESP8266s and Arduino ethernet shields. My question is: how I can make better looking web pages on these ...
j0h's user avatar
  • 892
2 votes
0 answers
411 views

How to fix this problem of invalid conversion from 'const char*' to 'char' [-fpermissive] [closed]

Im working with node mcu ESP 8266 and trying to make it a webserver but keep encountering this problem. #include<ESP8266WiFi.h> WiFiClient client; WiFiServer server(80); void ...
Stars and planet's user avatar
1 vote
1 answer
5k views

ESP32 AP Automatic Web Page

I've often encountered WiFi networks that require you to sign in through a web page that automatically opens after connecting to the access point, such as hotels. I'd like to implement something ...
Fromen's user avatar
  • 51
1 vote
1 answer
441 views

Why when I try to connect my ESP8266 to my node sever in my localhost it keep getting disconnect and connect?

I think the issue is within the library because I have try to implement this code according to the tutorial that I found in YouTube Youtube. The discussion of this tutorial is the first they implement ...
Ly Bunvath's user avatar
3 votes
0 answers
1k views

ESP8266 Webserver does not respond

I am trying to reach the webserver running in my Wemos D1 Mini compatible board. I am trying one esp8266 example using Arduino examples "WifiManualServer" code below. I have replaced the SSI ...
Joshua Francis's user avatar
1 vote
0 answers
197 views

NodeMCU server stops responding after a while

I'm new to NodeMCU and ESP. I've created a basic web server on my NodeMCU. The server works fine for the first few minutes after resetting the board or re-uploading code. But after about half an hour, ...
Muhammed Gül's user avatar
1 vote
0 answers
62 views

Sending data to server

I have an SD card have a very big file (1M character). i try to load it into memory in terms of 4K character array ( The maximum I could do using Arduino Mega). but this take almost 250 call to the ...
Antoun's user avatar
  • 11
1 vote
0 answers
234 views

Http Client requests

I am working on a project where the ESP 8266 sends a very long string about 3000 chas over http as client. Likewise sensor data are determined. The loop repeats itself every 250ms. Now I noticed that ...
TrompetenTom's user avatar
1 vote
1 answer
293 views

Ethernet Shield not connecting

I've mounted an Ethernet Shield on top of an Arduino UNO. The Arduino is connected via usb to my pc and to the network via ethernet through a switch. I'm running a simplified verison of the WebServer ...
Hexash's user avatar
  • 11
2 votes
0 answers
477 views

Controlling Offline ESP8266 from secure website

I want to control my ESP8266 device from my secure website via 2 different ways: if ESP8266 is connected to internet, commands between website and device will sent over MQTT which as working ...
ASH's user avatar
  • 45
1 vote
1 answer
3k views

How to avoid MQTT reconnect Loop

I have the following code designed to allow me to control my device from my website using mqtt broker while internet is available. I also built in a local webserver to control the device in case of ...
ASH's user avatar
  • 45
3 votes
1 answer
413 views

Where to define web server callback functions so they can access server object? (ESP8266WebServer library)

I want my ESP8266-based device to create an accesspoint that allows the user to input their home ssid and password. There is a device object that holds most of the data defined elsewhere. I'm trying ...
LearnDude's user avatar
2 votes
1 answer
813 views

How do I get an HTTP_POST response?

I have a function for HTTP_POST responses but it is never called when I post to it. I get the webpage instead. I call on it with server.on("/",HTTP_POST,response); But I only get the url in ...
brad's user avatar
  • 201
0 votes
1 answer
943 views

How to access GPS location without internet

I need to provide a basic geolocation service for my clients. I built a location service based on the phone geolocation. It works great, not a problem. My problem is that some of my clients don't have ...
rm4's user avatar
  • 103
0 votes
1 answer
860 views

HTTP_GET not clarified in scope

I'm trying to do an async webserver with access point using an ESP32. It's a little bit of a mix between This tutorial for AP and async and this tutorial since it's also with an async webserver and it ...
Xenoshell's user avatar
1 vote
0 answers
49 views

Peculiar relay behavior from POST

I am trying to toggle on/off between two separate HTTP request. One submit button to turn it on, and another separate submit button to turn it off. I expect the device to launch in the off/low 0V ...
brad's user avatar
  • 201
0 votes
0 answers
328 views

Help with ESP32-CAM "AI THINKER" module

I'm trying to make a RC car (with a surveillance camera if possible, using the web-cam code that comes with the ESP library) using a ESP-32 CAM as a wifi module to control the car using my computer. ...
Krit Khad's user avatar
-1 votes
1 answer
149 views

Host a webserver on an ESP32D that has a hyperlink that triggers an Arduino song through a buzzer

I would like to use my ESP32D to create a wireless access point and host an HTML page that has a hyperlink and a few other things on it that triggers an Arduino song (rickroll), and plays it through a ...
JaydenE55's user avatar
1 vote
0 answers
1k views

incompatible types in assignment of 'const String' to 'char [32] using server.arg

I am trying to create a class and getting getting the error incompatible types in assignment of 'const String' to 'char [32] when I declare char inString[32]; and try to set it as inString = server....
brad's user avatar
  • 201
1 vote
1 answer
1k views

ESP8266 SocketIOclient constant disconnect with Python WebServerSocket

I am writing a program that echos back the message sent to the web socket server on a host machine. When running the ESP module, the connection is established but immediately disconnects as seen in ...
John Mason's user avatar
0 votes
1 answer
45 views

How do I make two (or more) pins available on my server url?

I have a webserver configured on my esp8266 with is set to fire off electrical relay0 on my 8 port relay board. The device initializes relay0 perfectly and without errors. But when I configure the ...
brad's user avatar
  • 201
0 votes
1 answer
201 views

Connecting Web Server in GoDaddy Hosting

I have a domain. It is hosted by GoDaddy. I need to connect that server and receive some data by executing PHP files. I am not sure about the components. Tutorials on internet describes how to control ...
Snefru Clone's user avatar
0 votes
1 answer
368 views

Is there a way to send a String via a Webserver Textbox without the use of the SD card?

Since my last post, I've been trying to do some extra things with my Stranger Things Wall Project. I connected a LCD Screen (16x2) that will take any text being processed to the wall and show what is ...
Feeds's user avatar
  • 163
3 votes
0 answers
538 views

ESP32 HTTP Server request interrupts Telnet session

I have an ESP32 application that uses a web server as a user interface. For auditing and debugging during development I use Serial; however, that is impractical in the installed system. So, I decided ...
Eric Vortriede's user avatar
1 vote
1 answer
7k views

Why we are using client.flush() in the program code ,when we connect Esp8266 with internet or web server?

I am using Esp8266 Wifi modular (12-E) for controlling a led through the access of wifi/webserver. I have written code in Arduino ide taking various references from the google.In the code, I didn't ...
Arijeet Roy's user avatar
-2 votes
1 answer
151 views

Most Efficient & Cost Effective Home Automation Setup

I managed to build a system using Wemos D1 R1 connected to my website to retrieve data to power on or off a 5V relay. Now I would like to expand the project to control all my house outlet. Assuming I ...
motion channel's user avatar
2 votes
1 answer
568 views

Run function concurrent to server.available()

I have a Arduino UNO WiFi Rev2 board that runs WiFiServer serving as a web server. The server listens and accepts clients using server.available(). I also want a loop that controls a servo in ...
sqz's user avatar
  • 123

1
2 3 4 5