Questions tagged [web-server]
A web-server is a system which delivers data such as web-pages to a client system.
248
questions
-1
votes
1
answer
34
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 ...
0
votes
0
answers
55
views
ESP32 Static IP issue in AP mode | softAP
I want to create a webServer with esp32 as AP. Now the issue is that the ESP32 provides a
ESSID not the IP address.
Here's my code
#include <ESPAsyncWebServer.h>
#include <SPIFFSEditor.h>
...
1
vote
1
answer
55
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 ...
1
vote
1
answer
25
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....
0
votes
1
answer
77
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 ...
0
votes
1
answer
108
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>
#...
1
vote
1
answer
1k
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 ...
1
vote
0
answers
37
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 ...
0
votes
0
answers
192
views
ESP32 can't connect to websocket web application hosted in Glitch server
I am trying to build a system to send sensor data from esp32 to a node.js based application with Websocket, hosted on Glitch server.
When locally hosted (under the same router), esp32 can send data to ...
0
votes
1
answer
893
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 ...
0
votes
0
answers
132
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 ...
1
vote
1
answer
237
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 =...
0
votes
2
answers
431
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>
#...
1
vote
1
answer
538
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", ...
-1
votes
1
answer
758
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 ...
2
votes
1
answer
130
views
How can I do web hosting having all the code of the site stored in a sd?
I am carrying out this project in which the arduino acts as 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 ...
1
vote
3
answers
6k
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 ...
2
votes
0
answers
302
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 ...
1
vote
0
answers
696
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-...
-1
votes
1
answer
1k
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 (...
2
votes
1
answer
2k
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 ...
1
vote
1
answer
106
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 ...
2
votes
5
answers
880
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 ...
2
votes
0
answers
317
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 ...
1
vote
1
answer
2k
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 ...
1
vote
1
answer
401
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 ...
3
votes
0
answers
962
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 ...
1
vote
0
answers
191
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, ...
1
vote
0
answers
60
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 ...
1
vote
0
answers
206
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 ...
1
vote
1
answer
211
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 ...
2
votes
0
answers
424
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 ...
1
vote
0
answers
2k
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 ...
3
votes
1
answer
300
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 ...
2
votes
1
answer
519
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 ...
0
votes
1
answer
736
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 ...
0
votes
1
answer
695
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 ...
1
vote
0
answers
47
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 ...
0
votes
0
answers
271
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. ...
1
vote
0
answers
941
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....
1
vote
1
answer
945
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 ...
0
votes
1
answer
44
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 ...
0
votes
1
answer
178
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 ...
0
votes
1
answer
280
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 ...
3
votes
0
answers
490
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 ...
1
vote
1
answer
6k
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 ...
-2
votes
1
answer
141
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 ...
2
votes
1
answer
471
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 ...
1
vote
2
answers
5k
views
Controling 5V relay with Wemos D1 R1
I would like to control a 5V relay with Wemos D1 R1 module through webserver. I'm using the following modules:
Tongling 5vdc Relay
Wemos D1 R1
I'm using the following schematic:
and here is the ...
1
vote
0
answers
3k
views
TCP client readStringUntil only when data exists
I have the attached script that reads data from a socket server (it is PHP at the server end).
My problem (I think) is that the readStringUntil() needs a test above it, so that it "reads up to \r&...