158 questions
0
votes
1
answer
926
views
ESP8266 Captive Portal and jump to "normal" Browser
I like to run some esp8288 with some custemizing or controles in AP mode.
To make it easyer to use I like to use the captive portal function to make the access easyer for the user.
So the after ...
-1
votes
1
answer
2k
views
ESP32 board can't compile the ESP8266wifi.h include file
I use ESP32 board. I want to get the content from google sheet. my reference code is as below
The error was ESP8266WiFi.h: No such file or directory.
Does anyone give me some suggestion? Thanks
`#...
1
vote
0
answers
490
views
ESP 8266 WiFiManager.h> //https://github.com/tzapu/WiFiManager wifiManager.setConnectTimeout(180);
in my cases wifiManager.setConnectTimeout(180); does not wait for 180 sec, But only 60 sec. my router takes about 2 minutes to setup after power outage my esp does not connect to the router until it ...
3
votes
1
answer
2k
views
ERR_CONNECTION_REFUSED when communicating with my ESP8266 over WiFi
Derived from the following code.
I uploaded that code to my ESP8266 and it's all good and okay when I communicate with it with my laptop while my laptop is connected to my network with a LAN cable.
...
7
votes
2
answers
4k
views
How to detect specific devices in a local network?
I am building an IoT solution where I will have multiple devices connected to my local network that I want to connect to a hub that controls my solution.
Once I connect a new device I want to connect ...
1
vote
1
answer
171
views
ESP8266 connects to wifi, but doesnt registrer it
I have a ESP8266 which can connect to the wifi just fine (can see it on the mobile hotspot) but it does not registrer it itself (as in it does not continue the code)
sometimes it can registrer it and ...
0
votes
1
answer
866
views
delay in .connect() function while using ESP8266 with arduino
I'm using ESP8266-7 as the only micocontroller in my project and I have a tiny problem with it. there are sometimes that the internet line is broken and my ESP tries to reconnect to the broker. while ...
0
votes
1
answer
448
views
How to initialise wifi module to Arduino. ESP8266
I'm working on a Arduino project found online but I'm having trouble with the configuration of the wifi module. Im using a Az Delivery ESP8266 wifi module and the code I have written is the following
#...
0
votes
0
answers
825
views
nodemcu esp8266 http request returns -1 " connection Fails "
I tried to Run this code but the connection fails and HTTPCode returns -1 , I'm using WIFI manager and it works sucessfully connected to the network
the link is worked successfully on POSTman and data ...
0
votes
0
answers
279
views
Not able to send data from nodeMCU-8266 to localhost (database)
When I try to send data from nodemcu it shows -1, refer bellow image
[serial monitor][1]
[1]: https://i.sstatic.net/3IokX.jpg
you can see my ip address
[ip address][2]
[2]: https://i.sstatic.net/srNo1....
0
votes
1
answer
401
views
Connecting to a MySQL database with an ESP8266WiFi chip
I'm trying to connect to a remote MySQL database directly from my arduino to do some telemetry on some hardware. However the code gets stuck while connecting to the db, and gives always the answer &...
0
votes
0
answers
104
views
ESP 12E Module ESP8266 | Unable to call Https Api. Connection Failed
I tried everything but every time I am getting "Connection Failed" for client.connect.
I have used https://gorest.co.in/public-api/user/123
Used the fingerprints well. Using ESP-12E Module
...
2
votes
2
answers
17k
views
Programming esp32 and esp8266
How do i program an ESP32 or an ESP8266 module using assembly? I don't want to use arduino ide. I figured a way to program atmel chips with assembly. I wanted to learn how to program esp32 and esp8266 ...
-1
votes
1
answer
396
views
How to get argument value from ESP8266wifi library?
I am using ESP8266WiFi library for a NodeMCU project where the user has to fill a form and submit the data through GET.
Now I want to read the Arguments such as
192.168.1.1/submit?Name=john
All I need ...
0
votes
1
answer
298
views
Exception decoder after connected with PubSubClient in my ESP8266
My code always gets exception decoder message and resets a few ms after MQTT connection is done successfully.
My connectMqtt function:
void MyClass::connectMqtt(PubSubClient client)
{
// Loop until ...
0
votes
0
answers
871
views
esp8266 NodeMCU client cant connect to esp8266 NodeMCU server with static ip
Hello...
My code is working perfect with using dynamic IP's, the LED is connected to server and a push button is connected to client, it work perfect with dynamic IP's addresses of both devices. But ...
0
votes
1
answer
2k
views
How to fetch Real-Time data from URL in NodeMcu using Arduino?
Problem Statement
I want my NodeMCU to fetch latest updated data from URL each time of the loop.
Currently it does not update the content fetched.
For example, Link: http://abcdxyz.xyz/io.php has just ...
0
votes
1
answer
453
views
AT COMMANDS no answer (esp8266 f-12)
since I started working with my modules esp8266 F-12, I have found some strange behaviors. When I started programming the module using the serial monitor I had no problem, but when I do it ...
0
votes
0
answers
582
views
ESP8266Mod 12-F baud rate changing problem
first of all, I want to say that this was my first approach to ESP wifi modules.
I was programing this module using the AT commands and everything was perfect until I changed the baud rate of my ...
0
votes
1
answer
810
views
C++ Problem with Vector Iterator on ESP8266 Microcontroller
I'm currently facing an issue with a vector iterator in C++. The application runs on an ESP8266 NodeMCU microcontroller. As soon as I call the function CWebServer::getAvailableNetworks() (...
0
votes
1
answer
2k
views
Communicating between subnets with ESP8266 wifi extender
I have a local (household 192.168.0.X) network provided by my router/modem which assigns local IP addresses by the usual Dynamic DNS. I have added an ESP8266 runnning in the WiFi Nat (natp) mode to ...
-2
votes
1
answer
364
views
esp8266 client connect failed with cdn proxy
I have set an Arduino code (on an esp8266). The code is only doing the following :
Set wifi
Connect to a webserver
Retrieve the html from this webserver and store it
instantiate a server:port
handle ...
0
votes
0
answers
115
views
Unable to get token from dropbox
I am using ESP8266 ESP-01 module, using FTDI to upload code using arduino IDE platform. I came accross dropbox manager library developed by lucasromeiro.
I am herein providing github link for the ...
0
votes
0
answers
145
views
ESP12F, cant get a relay to work with data from dht11
i've been trying to build a system that detects in one room of the house the temperature using an esp8266 and a dht11 sensor, this esp sends the data to a webserver while the ESP12F grabs this data ...
0
votes
2
answers
418
views
Arduino preprocessor misbehaving with defined terms WIFI_AP and WIFI_STA
The Arduino.cc preprocessor (latest version as of may 1 2020) has unexpected behaviour when I try to do preprocessor logic to recognize the defines words WIFI_AP or WIFI_STA.
Example:
#define FOO ...
0
votes
0
answers
2k
views
I am not able to write / access files in SPIFFS in ESP8266
I am trying to store text file into SPIFFS memory. I get an error whenever I try to format or to write file into SPIFFS.
Here is the code to format the SPIFFS.
#include<FS.h>
void setup() {
...
0
votes
1
answer
794
views
Problem with, ESP8266WebServer::on(const char [6], <unresolved overloaded function type>)'
I'm learning how to use 'class' in C++, and when I'm trying to call a function from my class I'm getting this error:
Error
C:\Users\Mateus\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5....
1
vote
0
answers
480
views
Debugging POST request ESP8266 PHP
I used Postman to debug my PHP POST API, and it works (ignoring the json versos non-json input).
<?php
header("Access-Control-Allow-Origin: *");
header("Content-Type: application/json; charset=UTF-...
0
votes
2
answers
702
views
Esp 8266 parse json async
I'm using asyncHTTPrequest for async request to a REST API in ESP8266.
I receive the response in JSON format but can't parse it.
This kind of parsing was working while i used to made sync call to API....
0
votes
0
answers
172
views
Problem integrating esp01 with arduino mega
Can someone please help me in connecting the ESP 01 wifi module with Arduino mega. I have looked at multiple resources online, none of which worked for me.
The esp 01 module just heats up and doesn't ...
1
vote
0
answers
1k
views
ESP8266-01 not working at all, with AT firmware or blink sketch
I have worked a lot to make these modules work, but they don't.
Module : ESP8266 ESP-01
Module image
I uploaded several versions of AT firmware with different methods and and softwares and tested ...
0
votes
3
answers
128
views
Is it possible to get values from page index?
I want to make a simple project using ESP8266 and led strip ws2812, and I want to control it from web page. Is it possible to get variables from page index ?
Right now I have only simple code to turn ...
0
votes
1
answer
2k
views
Library Error: "Multiple libraries were found for" Error for NodeMCU1.0 ESP-12E module with only used library seen
Here is the Code and the Error message, the code is just a testing file before I work with the code, and when I import just the Keypad.h and Keypad_I2C.h, It worked fine, also work when I only import ...
0
votes
1
answer
382
views
How to add alexa support for esp8266 with my brand configuration?
I want a complete solution to develop my own Alexa skill and firmware for my IOT work on ESP8266. Over the internet i am seeing that we can emulate the device as Philips or Belkins (fauxmoesp). But i ...
0
votes
2
answers
1k
views
ESP8266 NodeMCU can't send TCP commands - same code works on Arduino Uno?
I'm a noob at this, so hopefully a stupidly obvious one.
I'm trying to create a simple temperature/humidity sensor that takes readings from a DHT22 and uses an ESP8266 to ping them to Thingspeak's ...
0
votes
0
answers
734
views
How to connect Ardunio ESP8266 wifi server with asp.net application
I want to develop asp.net application then can send data to ESP8266 which will be act as to show that message.
What I have done, I have fully function Esp8266 board which show Ip address it is ...
0
votes
1
answer
58
views
send data collected on the internet instead of on the serial monitor (Nodemcu v3)
Good evening,
I am working on a project on a brightness sensor (tsl2561). Not having arrived yet I used a photoresistor and a led and everything works perfectly. Practically, depending on the light ...
0
votes
0
answers
635
views
Unable to do https POST request from ESP8266
We are trying to make an HTTPS POST request from ESP8266 to aws cloud but unable to communicate to the server.
The code snippet is given below:
WiFiClientSecure client;
char data[100];
...
0
votes
0
answers
548
views
Couldn't send/recieve POST DATA REQUEST between ESP8266 (NodeMCU) and PHP live server
I want to connect my NODEMCU wifi module to live server and then comunicate with rest API. While I was calling simple GET method with plain-text content then everything works fine, problem arises ...
0
votes
0
answers
418
views
Flashed the ESP-01S to new firmware, now can't send any AT commands
I've have been trying to flash the ESP-01S to the 1.5.1 from the official website. I am also using their own flash tool. The tool detects the component and completes the update all the time, this is ...
1
vote
1
answer
2k
views
ESP8266 - Setting Wifi Credentials programmatically and then checking they are valid, and then change them if they are not (without reset)
I have an NodeMCU chip that needs to connect to my home wifi and post an http request. I use the chip in WIFI_STA_AP mode as I need the chip to both accept requests via http and issue requests by http....
0
votes
1
answer
2k
views
Blynk notification with ultrasonic sensor
This is my code which actually send blynk notification when distance is greater than 150. but its output is very weird. It again and again run setup function instead of only once. The esp8266 device ...
2
votes
1
answer
2k
views
Arduino ESP8266 - stack ERROR - ESPExceptionDecoder to debug - need help to find ERROR
i have one project that can ready compiled. The function is break on the hardware an i need help to finde the error. I am a beginner and ask for help. How can I narrow the error down?
Platform
...
0
votes
0
answers
243
views
Take json string from ESP8266WiFi, and save it as a string variable in NodeJS to write a CSV file
I want to take a JSON string of DHT22 sensor value (temperature and humidity) from this ESP8266WiFi through WiFi.
#include <DHT.h> //library DHT.h
#include <ESP8266WiFi.h>
#...
1
vote
0
answers
1k
views
Read Value from URL with ESP8266
my friend made a google script, and gave me this link: https://script.google.com/macros/s/AKfycbxxWwU59sp_rF9C6phVIFSdLF6IIM83hFRWUrrJyVI8TdY6F-t1/exec
If you click you will se "52" in your browser.
...
0
votes
1
answer
698
views
can't setup SSL connection even though it appears to connect with NodeMCU ESP8266 to AWS
I'm trying to connect a NodeMCU ESP8266 and upload a shadow. I am following the tutorial from IoT Design Pro. When i first ran it, I did see the shadow updated on AWS. On subsequent loops, it stopped ...
0
votes
0
answers
4k
views
AT+CIPSENDEX returns link is not valid
i am using ESP8266 and STM32F4. My problem is; when i try to send AT+CIPSEND command i see an error: link is not valid.
i didn't post the huart2 initialization because other commands work, properly.
...
3
votes
1
answer
552
views
Node mcu (1.0) ESP8266 12E doesn't respond after IDLE time in soft AP mode
I am trying to set up node mcu as Access Point with static IP. I am able to connect to the AP using tcp sockets and receive response from it.
However, if the client is not connected to it for a ...
0
votes
1
answer
2k
views
differents between WiFi.mode() and wifi_set_opmode()?
What's the difference between WiFi.mode() and wifi set opmode() on esp8266?
0
votes
1
answer
420
views
esp8266 websocket server and sodcket.io client in angular 7
I am using esp8266 to run my websocket server and angular 7 to run socket.io to run websocket client. When I run the angular application. The logs in Arduino shows Disconnected!. I am not sure what is ...