Questions tagged [web-server]

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

68 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
228 views

Arduino UNO WiFi RestServer returning “not found”

I'm trying to run RestServer on my Arduino UNO WiFi, and I'm currently using the tutorial from Arduino: http://www.arduino.org/learning/tutorials/boards-tutorials/restserver-and-restclient Everything ...
2
votes
0answers
2k views

Sending data from Arduino UNO as a SOAP request

I have a servo motor on one end which can be turned ON and OFF with web service sending SOAP request. In the other end I have my Arduino UNO with ESP8266. Currently, I am able to send HIGH or LOW ...
2
votes
0answers
4k views

Arduino Ethernet shield server and client at the same time

Hardware: Arduino Mega 2560 Rev3 Ethernet Shield Rev3 A sensor Goal: Take value from sensor, upload it to ThingSpeak. Host a web page on the Arduino. Question: I've done both things in the past. ...
1
vote
0answers
916 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 "/...
1
vote
0answers
297 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 ...
1
vote
0answers
621 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 ...
1
vote
0answers
547 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-...
1
vote
0answers
1k 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 ...
1
vote
0answers
8k views

ESP32 in Arduino-IDE with FS.h and SPIFFS

I'm working on a webserver on ESP32 in Arduino IDE and would like to load an html-file. Tried to use SPIFFS.open from the library FS.h from github. Errormessage says SPIFFS was not declared in this ...
1
vote
0answers
2k views

Load website from SD card

I combined two different codes together, a captive portal and a SD card web server. I encountered a problem which the website in the SD card doesn't load when I connect to the AP (captive portal page)....
1
vote
0answers
856 views

Exception 29 ESP12E Arduino

I am getting exception 29 every time I make request to HTTP using GET function. I am requesting HTTP every 20-30ms but using millis I am only reading request at 100ms in order to avoid any overflow or ...
1
vote
0answers
543 views

Make a GET Request GPRS

I'm building a weather station that sends the data to a webserver via GET request. I was wondering if you guys can look into my code and help me. I looked all over the internet and can't find what'...
1
vote
0answers
67 views

How to make the Yun allow access to a resource

I have replaced /www folder on the Yun (backing it up first), how do I make it so the Yun will redirect to the new index.html? It, right now, gives Access to this resource is forbidden when I go to ...
1
vote
0answers
220 views

Yun - FileSystem.Open prevents client.println from outputting to web page

The below code is meant to display lines stored in a text file to an arduino based web page (it's a IR gate monitoring solution). When I visit I can execute client.println("hello") and I see the ...
1
vote
0answers
513 views

How to use console.log message from nodejs server, to control led pin 13?

I want to use Arduino Yun as a client, that connects to my nodejs server, receives a message from nodejs and then change led pin 13 on/off according to the message send. I have this example of a ...
1
vote
0answers
531 views

Arduino GSM Shield web server hangs

I use official Arduino GSM Shield with Uno R3. I uploaded web server examples from official GSM library. I use a simple python script to make TCP/IP connections to my GSM Shield web server. I send ...
1
vote
0answers
697 views

Can you interface GSM, WiFi, and Bluetooth LE shield to Arduino?

I have a project that requires the following three shields and I was wondering if the Arduino has enough space to interface all of them at the same time. I am thinking of connecting each shield into a ...
0
votes
0answers
26 views

File Upload and sending Form data to the ESP using HTTP POST

i want to upload a file from my pc to the esp2966 webserver with sd card. all works fine. But i want to transmit some extra data from a input form field. The Upload works good. in the browser ...
0
votes
1answer
37 views

Sending Variable to IFTTT via ESP32 using Asynchronous Web Server

I have been trying to send three variables to IFTTT from my ESP32 using Asynchronous Web Server. However, I couldn't set the "URL" that was supposed to be the response that will trigger my IFTTT. Here'...
0
votes
0answers
40 views

Parsing Data from local websever

i´m trying to build a little monitor of an ESP8266 and an OLED display that displayes the Status of a Robotarm. The robotarm is controled by a RAMPSboard that has a webserver, so i can check the ...
0
votes
0answers
34 views

Uploading file via AJAX fails on ESP8266

I have an interesting issue. I have created a copy of the web-server OTA updater library that is designed to print the progress of the update. I cannot of course show the progress while it's rebooting ...
0
votes
1answer
52 views

How to display CAN BUS information on EPS32 web server?

I try to display the transmitted information from CAN bus on ESP32 web server. I saved the CAN.read() in a buffer receivedChars[i] and try to display the data by client.println(receivedChars[i]);}. ...
0
votes
0answers
128 views

Controled in the led by Arduino UNO to Firebase through ESP8266-01+ MIT App Inventor

exchange community , help me community :( I want to control led by MIT App Inventor with used Arduino UNO to Firebase through ESP8266-01 Notes : 1-The led connected pin 11 on Arduino-Uno 2-The ...
0
votes
0answers
45 views

How to get the body of an HTTP request?

I want to read a binary body datas from an HTTP POST request. The context is that I'm making a LED strip controller and I'm currently using this code : #include <WebServer.h> #include <...
0
votes
0answers
40 views

Send data to lcd and server via esp8266

The code below, as it stands, works correctly. It connects to a local server (so Token and everything else is no problem sharing) and transmits the data via post. However, when I uncomment the lines ...
0
votes
0answers
92 views

Arduino uno wifi rev2 get status code from server data

I'm having trouble figuring out how I can extract data from my server call. I am trying to check whether the code that was entered in a boxlock matches the code stored in our database. If the code ...
0
votes
0answers
84 views

Arduino uno wifi rev2 get json data from api

I'm not so familiar with Arduino UNO wifi rev2. I bought it for a project that I am working on. In general, I have a box that you can open with a code. The Arduino should make a call to the API and ...
0
votes
0answers
21 views

Getting maxretry error when trying to ping using python requests or urllib3

I have written this code working on SimpleHost example from ESP8266Ping library, the code works, #include <ESP8266WiFi.h> #include <ESP8266Ping.h> #include <ESP8266WebServer.h> #...
0
votes
0answers
40 views

8266 get uint8_t PROGMEM array from uploaded file

I'm new programming arduino. I have connected an Adafruit thermal printer to an ESP8266 board. I've the example code for use the board like a webserver that allow upload files. What i want is to ...
0
votes
0answers
67 views

ESP8266 keeps restarting after a few hours of use and dead after 1 month of use

I have tried to make a water heater relay controlled by an ESP8266 (NodeMCU v1.0). The ESP8266 is connected to a central WiFi in my house, the ESP8266 also has its own WiFi so I use STA and AP mode ...
0
votes
0answers
27 views

Extend Pyduino over wireless network

I followed a guide to control my arduino uno using a python web server API (flask), and it works like a charm using the COM port on my PC. I would like to extend this over the network with an ESP8266 ...
0
votes
1answer
25 views

command keeps echoing because web page tries refreshing

I want to execute a action only once when I press web page button but as the page tries refreshing the action gets executed in a loop. I am using the wifimanualwebserver example for esp8266. Please ...
0
votes
0answers
44 views

connection to ESP using pyVisa

I'm building a small LXI device using a the OLIMEX ESP32 POE Board. Sending commands to the device using pyVisa works fine, but queries don't. Only the IDN? query works. From the ESP I get the ...
0
votes
1answer
364 views

Control DC Motor with Arduino Uno WiFi Rev2 Html Slider Code

I would like to control my dc motor using the Arduino Uno WiFi Rev2 using an html range slider. Now I can control the motors speed and direction using push buttons just fine. My code is posted below ...
0
votes
0answers
47 views

How to implement server.on() without any libraries?

I was trying to setup a web server with Arduino and ESP32, without using the ESP32 libraries. Currently I'm able to display a webpage(a form with single submit button) from the server, with only using ...
0
votes
0answers
39 views

Delayed response from web server

I am trying to implement a web server in ESP8266 that will handle simple HTTP GET requests by initiating an operation (e.g. move a stepper motor to the requested position) and return a response when ...
0
votes
0answers
24 views

Nodemcu POST Response “-1”

Nodemcu device is returning HTTP response -1 for a POST request on django rest api. I tried the below http request to Postman, and it works perfectly fine. http://localhost:8000/api/datalogs/?plant=...
0
votes
0answers
3k views

WebSocketsServer.h: No such file or directory

I'm trying use the NodeMCU WebSocket. I downloaded the required libraries from: https://github.com/Links2004/arduinoWebSockets and pasted them in my Arduino libraries folder. I uploaded my code but ...
0
votes
0answers
1k views

Send Arduino data to PHP inorder to upload in MySQL database

I'm trying to send arduino data to my online web server using a Arduino Uno and a Ethernet shield. I used POST method for sending data and tried sending data to my sever (add.php) using a online POST ...
0
votes
0answers
141 views

Creating global webserver without port forwarding

I'm setting up a "Smart House" project with Arduino+Esp01F(Serial Communication). But I want to make it global server. For it I use WiFiEsp library. But for it I must Get any port (neither 80 nor 443),...
0
votes
0answers
1k views

Using ESP32-CAM (with ov2640 camera image sensor) to send image via USB

I was trying to obtain image from ESP32-CAM (with ov2640 camera image sensor). I obtained the image through camera web server by connecting the ESP32-CAM and PC to same wifi network. A USB to TTL ...
0
votes
0answers
47 views

wemos ESP8266 fastled webmaster slave copies the master

I have been searching for a solution and attempting to make a solution where that a wemos running an existing project consisting of using a web server to control ws2812b lights, the basic code allows ...
0
votes
0answers
44 views

Why sometimes parsed data is null in WiFiEsp?

I'm setting up web server with args. As host.com/?pin=9. I parsed the response by indexOf and substring functions. In first connection response has been successfully parsed and number has been parsed ...
0
votes
0answers
36 views

Creating WebServer with 5000 port with AT command(ESP-01f)

I'm setting webserver with toggle led. I want to create global webserver. I`m mean hat use server with global ip. For it I must use port too. global ip/local ip:port. I want to create on 5000 port. I'...
0
votes
0answers
148 views

ESP32 OTAWebUpdater only works on mobile

I'm experiencing something strange. I opened the default ESP32 example "OTAWebUpdater" in the ArduinoIDE and modified just the network part (I created a soft AP instead). The problem is, when I ...
0
votes
0answers
55 views

WiFiServer Stops After Reconnection to WiFi

In the following code, the Arduino is reconnecting to the WiFi after several loops. The idea is to check and re-establish WiFi connection every 30 minutes or so. However, the WiFiServer seems to ...
0
votes
0answers
26 views

connected collar with GPS, temperature and heart rate sensors + microphone

I am taking part in a project as part of a challenge and I'm in charge of the embedded systems part, this is my first time working on a project of this scale. I am looking for a way to wirelessly send ...
0
votes
0answers
32 views

Connect Arduino and ESP8266 NodeMCU

I want to connect multiple sensors and see their measurements via ESP8266 Web Server. But, the problem is that ESP8266 has only one analog pin and I can't connect multiple sensors to it, so i need to ...
0
votes
0answers
91 views

Creating WebServer ip:port on esp8266 module

I creating Clever House with wifi. For this I'm using ESP8266 as module connected to Arduino. They communicate with SoftwareSerial. And there's a problem with global webserver on ESP8266. That I think ...
0
votes
0answers
112 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. ...