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
268 views

How to handle a ESP8266 webserver only to the access point?

I'm developing a application that needs to be somewhat secure, so to configure the parameters it handles a GPIO interrupt (from a button) to open a server, that lets you configure it. The problem is ...
Luiz Felipe's user avatar
1 vote
0 answers
372 views

ESP8266 webserver does not return latest HTTP response

I tried getting a HTTP response from an ESP8266 which is in HTTP server mode, I am getting a response but not the latest one, response is always one command previous to that of my request to the ESP. ...
SPRUCE AUTOMATION's user avatar
1 vote
1 answer
425 views

Mega <> esp8266 comms sending baffling data

I have Wemos Mega-ESP8266 board. I have uploaded a simple WebSocket server on the ESP... #include <ESP8266WiFi.h> #include <WebSocketsServer.h> const char* ssid = "SKYNET"; const ...
DrBwts's user avatar
  • 161
1 vote
1 answer
101 views

HTTP myphp request error RFID

This program is a program which readings of rfid are saved to myphp database. I have a problem when running the code The wifi is connected but when the code doesn't save im assuming that the problem ...
wen02's user avatar
  • 13
1 vote
1 answer
2k views

Esp8266 not responding to GET request from Android app created using MIT App Inventor

I hope I am posting this question in the right section. I am making a Smart Home Project for my college semester finals. I am using an Atmega328p microcontroller along with an ESP8266 (Esp 01). The ...
user151016's user avatar
2 votes
2 answers
775 views

ESP12E Soft WDT reset stack trace leads to libraries

Im using ESP12E DevKit v2 (esp8266 wifi module) board for controlling relays and displaying DHT22 temp,humidity on web server. It runs smoothly when the web client is closed but when i leave the ...
Dan's user avatar
  • 41
2 votes
0 answers
2k views

Arduino HTTP post image to external server

I'm trying to send an image from SPIFFS to my external server. When pictures are taken, they are saved into "/pics/" directory within SPIFFS. Ultimately, I'd like to post all the images saved onto "/...
fern132's user avatar
  • 23
2 votes
0 answers
845 views

Cant get rid of Soft WDT reset using ESP8266

Im using ESP12E DevKit v2 (esp8266 wifi module) board for controlling relays and displaying DHT22 temp,humidity on web server. It runs smoothly but after while i always get a watchdog timer reset. (If ...
Dan's user avatar
  • 41
0 votes
0 answers
249 views

Webserver on Arduino Mega with Ethernet Shield

I am working with an official Arduino Mega. I have mounted an officiel Ethernet Shield rev 2. Everything works great, i have wrote a very basic webserver. I wanted to host a bootstrap css file on my ...
Bob5421's user avatar
  • 141
0 votes
2 answers
701 views

Arduino security

My question is how secure can I make an Arduino? The project I am working on would put the Arduino out in the public (school campus inside a trash can to sense how much trash is in it) and I want to ...
Dax Yeen's user avatar
0 votes
2 answers
2k views

My ESP8266 web server is only displaying text, even after ensuring content type is text/HTML

So I just got my two ESP8266/ESP-12E WiFi development boards in the mail as I am trying to set up a few home automation devices in my house. I've gotten much further than I thought I would today, ...
Caleb Carroll's user avatar
1 vote
2 answers
5k views

Arduino IDE + ESP32 Webserver - how to redirect to root after click on button

I'm trying to use ESP32 + Arduino IDE to control a relay. I've started by using the library and the code below. The problem I'm having: after clicking on the button and activating the pin, if the ...
Dragos's user avatar
  • 31
0 votes
1 answer
435 views

Large(ish) strings failing to send over WiFi101 using WiFiServer

I've based a sketch off the vanilla WiFi101 server examples. If I define a const char array like this: const char HTML_index[] = "<html><head></head><body>test</body>&...
Geordie's user avatar
  • 195
6 votes
4 answers
4k views

How to assign text stored in a local file to a string at compile time

I'm developing a program that uses the HTML server in the WiFi101 library. My hardware does not have SD card storage so all source html needs to be stored as strings in the sketch at compile time. ...
Geordie's user avatar
  • 195
-1 votes
1 answer
475 views

Display Wireless Temperature Sensor data to Web page by using Serial communication

I am reading from wireless temperature sensor with help of gateway receiver connected to Arduino UNO, using this code I need to display the data of the wireless sensor on the webpage. Any ...
Nate Pulkar's user avatar
1 vote
0 answers
214 views

Sensors are not function with ESP8266 WeMos-D1R2

I attached all sensor into the Wemos-D1 for uploading the sensor data to the server. but when I upload the data to the server, it connects to the server but cannot save the data into the database and ...
Annoymous20's user avatar
2 votes
0 answers
843 views

HTTPS POST method fails in esp32

I was trying to connect with server but, I was unable to post the data. I have added the SSL key to connect with server that is happening but HTTPS POST is not. I tried the same method with http, I am ...
Mohit Tripathi's user avatar
0 votes
1 answer
3k views

Taking String Input from NodeMCU Webpage and Printing it on Serial Monitor

I've started working with NodeMCU recently. I've very little knowledge about this device and how a website works. I'm trying to take a long string input from a website hosted by NodeMCU, store it on a ...
opu 웃's user avatar
  • 123
7 votes
3 answers
10k views

How to allow cross-domain requests on ESP8266WebServer

I am using a Raspberry Pi running Chrome (handling the user interface) and connecting via ajax to an Arduino D1 compatible using the IP address as follows: $.ajax({ type: "GET", ...
Chiwda's user avatar
  • 252
0 votes
1 answer
524 views

ESP8266-01 wdt reset after uploading code

I'm using code from here: ESP8266 example: Wi-Fi Access point, static IP, web-server and remote GPIO control. Everything running ok this morning, but now I don't know why wasn't working... This is ...
Khanh's user avatar
  • 1
0 votes
1 answer
690 views

How to connect ESP8266-01 (AT-commands) to its web server using AJAX

I am just new on using AJAX in web server, I got an error on declaring "server" I am confused about this because I just used only a AT commands to used the ESP8266-01 (wifi-module) I hope you can help ...
Xiaomy's user avatar
  • 5
-1 votes
1 answer
497 views

esp8266 WiFi Cannot Connect to a PHP Server

I am using a magnetic float switch sensor to monitor water level in a tank. I am using a ESP8266 board. I am trying to send the data collected by it to a php page in a host called "weris.link". I've ...
Kenneth W. A's user avatar
0 votes
1 answer
1k views

ESP8266WebServer how to parse Json payload in post request that is bigger than the ram

I need to post a big json to the nodemcu server which would be bigger than the ram's size I am using esp8266werserver and arduinojson libraries. I know how to use arduinojson to parse huge json ...
Ho Chung Law's user avatar
0 votes
1 answer
63 views

I have the code printing the data I need but don't know how to connect the data on ESP8266 IP web server

#include "DHT.h" #include "NewPing.h" #include <SoftwareSerial.h> #define DEBUG true SoftwareSerial esp8266(11,10); #define DHTPIN 2 // DHT-11 Output Pin connection #...
Xiaomy's user avatar
  • 5
2 votes
1 answer
677 views

Are there any Wi-Fi modules for the Arduino Uno that may connect to an external Wi-Fi Antenna?

I have an Arduino Uno I need to connect to Wi-Fi to make HTTP POST Requests to a Raspberry Pi Web Server. The Arduino is located only about 30 feet from the AP, but there is a brick wall in the line ...
user avatar
1 vote
1 answer
2k views

How to HTTP post a data to Node express API from a Arduino esp8226?

I am HTTP posting a data to this web API https://morning-cliffs-85779.herokuapp.com/api/users from an Arduino connected to esp8226. I am using the wifiesp library to HTTP_POST data. The REST APIs are ...
tony mathew's user avatar
3 votes
1 answer
13k views

How do I get the request params from a ESPAsyncWebServer?

I currently have the following code server.on("/on", HTTP_POST, [](AsyncWebServerRequest *request) { Serial.println("ON hit."); String message; Serial.println(request->url()); if (...
rball's user avatar
  • 133
1 vote
1 answer
564 views

How to establish a connection between an Arduino and a web server via ESP8266 [duplicate]

I'm working on a IOT project where three or more IOT device communicates with a web server. The IoT device will have Arduino UNO which is connected to a ESP8266 so internet access is available. ...
tony mathew's user avatar
0 votes
1 answer
1k views

Problem with html code in ESP8266 WebServer

Here I have a small problem: I have an ESP8266, to which I have connected a matrix of LEDs to move text (the array of LEDs is made with the tape of LEDs addressable ws2812); when you turn on the ...
k.Cyborg's user avatar
  • 262
1 vote
2 answers
2k views

Creating a Web Interface for ESP32 [closed]

I am working on a project that involves moving various servos and lights and I need a good UI to work with the device. I've previously used Blynk, which worked very well but I didn't like some of the ...
Zachary Allen's user avatar
0 votes
1 answer
2k views

Is there a real alternative now to using GSM for data sending?

I would like to create an Arduino system that sends the temperature in a place outdoors to a server. I've read in Internet forums that there might be alternatives to GSM and GPRS technology for ...
galtor's user avatar
  • 103
1 vote
1 answer
882 views

Replying with a html page in HTTP Web Server using esp01 and ArduinoIDE

Now there are many ways to reply with a webpage content to a user who is accessing the web server, But Keeping in mind to use as less space as possible, I was trying something new, Since i didnt got ...
Wan Street's user avatar
1 vote
1 answer
716 views

Updating Server using ESp8266 with Direction Button Pressed IN

I've connected a 5-way tactile switch to a ESP8266 module and am using the Arduino IDE to create an automatically updating web server that displays the direction that the button is pressed in when ...
narwhal101's user avatar
1 vote
0 answers
4k views

Arduino ESP8266 Webserver SD

I connect Micro SD card adapter to my esp8266. I uploaded the SD webserver example sketch into the esp8266, everything works perfectly once I created index.htm, now I add LED to digital pin 4, now, ...
Alex Zhuravel's user avatar
0 votes
1 answer
2k views

Problem with nodemcu esp-01 can't connect to wifi

i've been working on a project that im using an esp8266 nodemcu-01 as described in the title, and i've been having some headache with this module, first because after searching i figured out that the ...
John Jones's user avatar
1 vote
0 answers
697 views

Exporting an html for esp8266

EDIT: Added "web page source" ("In the end", :D ) (Please, sorry if this question isn't in the right place, feel free to move it to that place) Here I have a problem: In my house I have a self-...
k.Cyborg's user avatar
  • 262
0 votes
1 answer
7k views

Creating a webserver on a Wemos D1 mini pro

I am trying to put a web server on my Wemos D1 mini pro. I am using this example for the Arduino code: https://github.com/wemos/Arduino_D1/blob/master/doc/esp8266wifi/server-examples.rst #include &...
E. Bodt's user avatar
  • 11
-2 votes
1 answer
108 views

how to establish a connection between an arduino and a web server? [closed]

I want to establish a connection between my arduino mega ( which is connected to an ethernet shield so internet access is available) to a web server. Any idea how the code should be? I searched for ...
Hussein Nour Aldeen's user avatar
0 votes
2 answers
300 views

if two arduinos are connected by I2C and one of them is using an ethernet shield, does that grant both of them access to the internet?

i have two arduino mega and they send data to each other by an I2C connection. But one of those arduinos is connected to an ethernet shield which allows it to send data to a web server. Being both ...
Hussein Nour Aldeen's user avatar
2 votes
0 answers
2k views

Sending data from webserver to Arduino

Hello Arduino enthusiasts! I've been working on a keypad lock system for school lately and I need some advice.Basically, my code checks if the entered passcode is the same than a predefined passcode ...
Arxkz's user avatar
  • 23
0 votes
1 answer
636 views

Sending dynamic data to webserver

I am trying to send data to a php file via http GET method. I am able to send static data but I am unable to send dynamic data. #include <SoftwareSerial.h> SoftwareSerial gprsSerial(9, 10); ...
Adnan Arif Sait's user avatar
1 vote
1 answer
255 views

GSM library_ all examples ar working except GPRS?

i am using arduino uno and sim808. i connected the sim808 to pins 2,3 on arduino uno and used GSM library. i tested all examples: make and receive a call or messages. the part of GPRS initialization ...
M.Morsy's user avatar
  • 11
0 votes
1 answer
2k views

ESP8266 - Webserver not working in loop

I have simple example, where in loop is called webServer to handle clients and also text drawing on display. The thing is that webServer is not responding, but when I remove second part of loop - ...
Ľubomír's user avatar
  • 109
0 votes
1 answer
4k views

Connect Arduino to Socket IO Webserver via Esp8266

As part of a project I want to receive data on my arduino uno via a sensor, which is working fine. This data should be sent to a webserver where a node js with socket io is running. Therefore i bought ...
Clueless's user avatar
0 votes
1 answer
976 views

How to connect an Arduino via an ethernet cable to a laptop directly?

Maybe a silly question, because it is a usual topic, but I have a problem with my Arduino Leonardo ETH. I want to create a web server on the Arduino with the example sketch File > Examples > ...
Julian's user avatar
  • 103
1 vote
1 answer
4k views

HTTPS with ESP8266WebServer?

I see many ESP8266HTTPClient examples, pasting in a fingerprint from an outside website, but I want to host an html page from the ESP8266 in AP mode using HTTPS. Judging by the lack of examples, and ...
dandavis's user avatar
  • 1,037
1 vote
1 answer
8k views

How to pass JsonObject from ArduinoJson to ESP8266WebServer object?

I am learning the ArduinoJson.h library and creating jsonOject: JsonObject& prepareResponse(JsonBuffer& jsonBuffer) { JsonObject& root = jsonBuffer.createObject(); JsonArray& ...
Ciasto piekarz's user avatar
1 vote
0 answers
53 views

checking if user is opening root entry point of the IP address on esp8266 webserver

I am trying to open load a webpage from ESP8266 that displays temperature and humidity of my room if I only type root URL:192.168.1.89 GET / HTTP/1.1 Host: 192.168.1.89 Connection: keep-alive Upgrade-...
Ciasto piekarz's user avatar
0 votes
1 answer
841 views

Why do GPS coordinates fail to save on MySQL database using SIM900?

My project is a vehicle tracking system. I'm using a NEO-6M for GPS and a SIM900 for GPRS. I want to send the GPS coordinates to a MySQL database. I've tested the GPS and it's working well. I've ...
Ericka Leonardo Gregorio's user avatar
0 votes
1 answer
357 views

ESP8266 sketch worked a few times but now doesn't seem to run

When I flash my code: /* Create a WiFi access point and provide a web server on it. Author: Lucio A. Rocha Last Update: 21 Aug 2016 */ #include <ESP8266WiFi.h> #include <WiFiClient.h&...
ewizard's user avatar
  • 173