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
33 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 ...
2
votes
1answer
47 views

Run method Every Hour Passes

I have a method. I need to trigger it every hour passes.(Cron Job) I mean; 10.00 p.m -> Trigger 11.00 p.m -> Trigger 12.00 p.m ->Trigger ... ... Card: Arduino Uno + Wifi Shield. Draft Code ...
0
votes
1answer
26 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
0answers
38 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
1answer
134 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 ...
0
votes
0answers
46 views

Using Javascript XHR to upload a file to the ESP8266 fails

In the past, I was experimenting with a method of uploading files to the ESP8266 using the stock ESP8266WebServer class as the backend. The frontend is embedded in the firmware, and it runs offline, ...
-2
votes
1answer
59 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
1answer
42 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
2answers
160 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 ...
0
votes
0answers
102 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
120 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
41 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 ...
1
vote
1answer
46 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
0answers
39 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
28 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 "...
0
votes
0answers
126 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
22 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
34 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
38 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 ...
5
votes
1answer
606 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 ...
0
votes
1answer
93 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
42 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 ...
-1
votes
2answers
58 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
76 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
111 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]);}. ...
1
vote
1answer
248 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
258 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
67 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
48 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?
0
votes
0answers
62 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
200 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
1answer
81 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
0answers
213 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
220 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
28 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
51 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 ...
1
vote
0answers
106 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 ...
1
vote
1answer
365 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
425 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 ...
0
votes
0answers
30 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
30 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
111 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
557 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 ...
-1
votes
1answer
59 views

how to convert date to timestamp? [duplicate]

How should I convert date format(dd-mm-yyyy) to timestamp value . Can anyone suggest code how to convert and where to put code .
-1
votes
1answer
59 views

How do I send Sensor Data from one Arduino to another Arduino that is a Webserver to post it?

I have been looking for over 2 hours now and just cant get it figured out. Im very confused as to how to do this. The solution I thought I found was to use HTTP POST. But I just cant get it to work. ...
0
votes
0answers
57 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
82 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
32 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=...
2
votes
1answer
5k 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
2k 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 ...

1
2 3 4 5