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
1 vote
1 answer
26 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
0 votes
1 answer
30 views

ESP32 not providing gateway ip in AP

I have an esp32-cam-module m5stack Wide Now I am hosting the camera stream in AP mode in linux it get a gateway IP but on my mac or any other device it does not work #include "esp_camera.h" #...
Divyansh undley's user avatar
0 votes
0 answers
50 views

How to control stepper motors over wifi on ESP32 wrover B?

I'm trying to control 28BYj48 stepper motors over wifi, with creating an Access Point and connect to it, and send requests to the motor. My final goal is to control it from an app, but now I'm happy ...
sondor's user avatar
  • 1
1 vote
1 answer
23 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....
M A K's user avatar
  • 85
0 votes
1 answer
50 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
82 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
661 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
33 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
0 answers
154 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 ...
Azharuddin Redwan's user avatar
0 votes
1 answer
623 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
  • 357
0 votes
0 answers
109 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
  • 136
1 vote
1 answer
225 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
336 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
  • 357
1 vote
1 answer
450 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
  • 357
-1 votes
1 answer
637 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
119 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 ...
Leo's user avatar
  • 23
1 vote
3 answers
5k 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
256 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
612 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
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 (...
Adam's user avatar
  • 47
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 ...
Adam's user avatar
  • 47
1 vote
1 answer
98 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
728 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
  • 882
2 votes
0 answers
289 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
0 votes
1 answer
1k 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
  • 31
1 vote
1 answer
361 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
826 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
185 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
58 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
192 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
185 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
391 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
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 ...
ASH's user avatar
  • 45
3 votes
1 answer
263 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
386 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
609 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
637 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
45 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
215 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 vote
0 answers
899 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
879 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
43 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
171 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
262 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
460 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
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 ...
Arijeet Roy's user avatar
-2 votes
1 answer
138 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
424 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 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 ...
motion channel's user avatar
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&...
adrianTNT's user avatar
  • 242

1
2 3 4 5