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
1answer
35 views

Latency in Websocket

I am using Websocket, for a communication from my mobile phone to a NodeMCU, and transmitting 4 channel, data, through 4 different Websocket Ports. the NodeMCU control code is here: // ============ By ...
0
votes
1answer
499 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 ...
1
vote
1answer
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)....
0
votes
1answer
238 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 ...
0
votes
1answer
28 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
1answer
71 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
31 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&...
0
votes
1answer
22 views

How to Set RTC in ES32 using NTP server?

I am working on ESP32 And want to set RTC from the NTP server. How can I get epoch value I have done this thing on CC3200 launchpad and used an NTP server library to obtain epoch value.
0
votes
1answer
38 views

3 input (on/off/off with delay) to control 1device using ESP8266 as Web Server

I want to control one device in three ways : turn on / turn off / turn off with delay. To do that i use an ESP8266 web server + android phone app. The problem is that turn off with delay wont work. It ...
0
votes
2answers
414 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 ...
0
votes
1answer
445 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
1answer
4k 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
37 views

how to set up an ESP8266 as a webserver

I would like to set up an esp8266, connected arduino as a webserver, specifically, one that has its own IP, and is stand alone, not connected to other networks, and offers its sensor info as the ...
0
votes
1answer
23 views

ESP32 Cannot assign value to string. Getting wrong value

Hello I have problems with strings in my sketch. I assingn values to my string (for example tempStrReturn) in the functions setNr1, setNr2. If i pass the value 1 to the function i get "" or "...
5
votes
2answers
17k views

How to receive data from my server database to a variable in my Arduino?

I am learning to work with the client - server communication. I am able to communicate with my server and able to store values in the table. But I want to receive one of the specific data from the ...
0
votes
0answers
47 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
0answers
20 views

Why does server.streamFile download does not work with SD.h? [duplicate]

This is only a little test code so i can focus on the problem. At first a file is written on sd card with the timestamp given in the variables. This works fine. At SD_file_download() i open a File ...
0
votes
1answer
55 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
1answer
29 views

How to connect multiple NodeMCUs and 1 PC over wifi and have PC control NodeMCUs? [duplicate]

I am trying to design a laser tag system using multiple NodeMCUs in the guns. I am trying to figure out how to connect and control them over WiFi. I also need a computer connected that will control ...
0
votes
1answer
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 - ...
0
votes
1answer
806 views

Wemos D1 mini freezing after a few minutes

I´m using a Wemos D1 mini board to control a RGB LED Strip and programmed a simple code with the Arduino IDE. The Wemos conects to my Internet just fine and with the IP adress I can change the RGB ...
0
votes
1answer
489 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 ...
0
votes
1answer
25 views

Securing ESP8266 connections

In my setup, I've got a number of ESP8266 devices around my home controlling various devices like my boiler and some lights. They're all controlled by a central smart hub on a Raspberry Pi with a ...
0
votes
2answers
137 views

Stability issue with webserver and smartmeter logging

In the past few months I have successfully logged the data from the power and gas meter in my house to a remote web server. Now I try to add the ability to enable and disable my doorbell over the ...
5
votes
1answer
594 views

What does []() argument in function mean?

I am working in ESP8266 AsyncWebserver library and have been using this [](parameter) as an argument to some functions as shown below but does not really know what it means. Being a neophyte I am ...
-1
votes
2answers
51 views

Arduino webserver POST receive varriables

I have been learning lower level data reading on internet communication As a part of bigger project I am testing web interface. So far I could get main website displayed and by seeing the web-address ...
0
votes
0answers
41 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
40 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
83 views

Esp8266 + Atmega328p as flash

Being clear I'm not talking about How to flash ESP8266 using arduino. I want to ask how can I use atmega328p as flash with esp8266 (instead of that 8 pin small chip on ESP-01) so that I can burn ...
1
vote
1answer
173 views

Serialize JSON as response to HTTP request

I'd like my ESP8266 to provide some JSON endpoints. I want to use ArduinoJson for serialisation. While this works in general if I serialize into a String and return this String afterwards, I was ...
0
votes
0answers
175 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
54 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
1answer
63 views

Refreshing a web-page hangs after few times

I'm using a Nucleo F429ZI board and I wrote a sketch that enables a simple web-server: #include <LwIP.h> #include <STM32Ethernet.h> const int WEB_PORT = 80; EthernetServer server(...
0
votes
1answer
47 views

Can you make Arduino Uno send information through a WiFi module to a server?

A lot of tutorials are about how to control Arduino through WiFi, but I need my Arduino to send information about motion sensor activity to a server. Is that possible?
-1
votes
1answer
1k views

How to import data from SDcard on Arduino to the computer using Arduino serial/COM port?

I have Arduino UNO with Adaruit wifi shield. I store some data on the sd card successfully and now I need to import that data on to the computer. I am sending some token, say "1", to the UART port of ...
0
votes
0answers
44 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
2answers
132 views

ESP Web Server calling javascript function

Is there a way to call javascript functions from ESP? I don't want to call ajax requests every few seconds. I want to update my values only when they change. Can it by done? Thanx.
0
votes
0answers
138 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
124 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
22 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
44 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
84 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
2answers
4k views

Simple webpage serve with Arduino ethernet shield on SD card

I have been experiment with the arduino uno board from few days but can't seem to make it serve web page stored in SD card of ethernet shield. If I print the contents of the file to serial it works ...
1
vote
1answer
269 views

ESP8266 Webserver ESP8266WebServer variable html page (not as one const char)

The aim is to display a non-static html page depending on some variable condition. The code I created hast the problem, that the esp8266 is ressetting in the moment I request the page. const char ...
1
vote
1answer
319 views

ESP8266 Webserver ESP8266WebServer move Handler-Function in separate .h .c file

The plan is to create a bigger project and to split the ESP8266 webserver-code over several modules (.h .c files). The main problem is that the ESP8266WebServer server is not declared in the index.h ...
1
vote
1answer
377 views

Error Compiling sketch for Arduino Uno(ld return 1)

I have got an telnet server with esp8266 + SoftwareSerial+ UNO, and here I want to on led with command ON . will be 1 or 2. It is for recive 1 or 2 numbered pins. And I extract pin from request with ...
0
votes
0answers
28 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
5k 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 &...
0
votes
0answers
58 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
66 views

How do I properly use the WiFi capabilities of ESP8266?

I am creating a project with an ESP8266 (Arduino IDE) which requires it to serve a webpage to a client. The module will be connected to a WiFi network by default, but when that WiFi network is not ...

1
2 3 4 5