Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [esp8266]

For questions about the ESP8266 microcontroller unit, including programming it or using it in an IoT context.

3
votes
0answers
18 views

MicroPython - ESP8266 using WebRepl

I'm trying to use WebRepl on an ESP8266 port. Micropython was install OK. @repl : import webrepl-setup to initiate WebRepl. OK reboot. connect to AP of ESP8266 port - OK using downloaded webrepl.html ...
3
votes
1answer
42 views

AWS IoT certificate rejection

I've been trying to configure AWS IoT to communicate over MQTT using TLS for days on a D1 Mini board and have been running into a road block with authentication. I've used several AWS IoT Arduino ...
7
votes
1answer
63 views

How does an ESP8266 “advertise” it can handle Alexa “relative volume” commands

As I understand more I WILL edit this question. For now, I am guessing at what I need. To make it easier for people to help, I'll tell you the over all purpose: I have programmed an ESP8266 to ...
2
votes
0answers
43 views

ESP8266-01: How to work with USB to ESP8266

I want to flash micropython on an ESP8266-01, using this wifi adaptor. Since I don't succeed in doing so (fail using esptool as I do with other ESP8266/ ESP32 I use), I'm asking for your assistance ...
3
votes
2answers
98 views

What happens internally when ESP8266 goes into deepsleep mode?

What happens internally when ESP8266 goes to deep sleep mode. Is there any official documentation explaining that?
1
vote
1answer
39 views

Sonoff basic- GPIO’s

As far as I found documented- there are GPIOS 0, 12, 13, 14 on a basic Sonoff. Does anyone know if Tx/Rx are free to use after uploading my code, as GPIO’s ?
6
votes
1answer
60 views

Send values from HomeAssistant to ESP8266 via MQTT

I would like to send values from the HomeAssistant to an ESP8266 via MQTT. I have already successfully done it the other way around (sending temperature values from the ESP to HomeAssistant via MQTT) ...
6
votes
2answers
81 views

By what mechanism are IoT widgets vulnerable to hacking?

I hear news stories that millions of thermostats and fridges have not been properly secured by their manufacturers. I could understand how something running linux with sshd running (as it might well ...
7
votes
2answers
100 views

Sonoff Dual - Where to find GPIOs

I'm looking for the GPIO's I can use in SonOff Dual ( after flashing my own software ). In SonOff Basic - there are GPIOs to acess LED, Relay, and what is most needed for me - GPIO14 for external ...
4
votes
1answer
67 views

Does powering NodeMCU with 3.3 V also power USB-UART module?

I want to power my nodemcu module with 3.3 V. Does powering it with 3.3 V also power USB-UART module? If so I do not want this as it eats the battery.
2
votes
2answers
86 views

NodeMCU connected with batteries stopped working after 2 hours

I connected nodemcu with batteries and uploaded a code which sends http post request every 10 min and goes to deep sleep. But after 2 hours node mcu stops sending the data. Voltage regulator used is ...
6
votes
1answer
65 views

What is the library to be used to implement CoAP in ESP8266?

I am using Arduino IDE to program my ESP8266. I would like to send data from one ESP8266 module to other. So I would like to use CoAP for this communication. Is there any standard or good library to ...
1
vote
1answer
62 views

Could not measure power consumption of ESP8266 module [closed]

I want to measure the power consumption of ESP8266-01. For that I connected my multi-meter in series with ESP8266 to measure the current but then ESP8266 does not power up and multi-meter gives zero.
0
votes
0answers
20 views

Is the hardware of SPIFFS and EEPROM in ESP8266 same?

Both SPIFFS and EEPROM are part of flash in ESP8266. So while both of them have the same hardware why did they divide it in to EEPROM and SPIFFS?
4
votes
2answers
131 views

How to work with an ESP8266 with relay?

I bought this ESP8266 Relay, and I wish to connect to it (in order to install MicroPython, and use Python code). However, I can't find any way to start working with it. The item is Wi-Fi discoverable,...
6
votes
1answer
72 views

Could not ping ESP8266 Wifi module connected to an Arduino

I have been working with a water flow counter which sends data over wifi. I'm using an ESP8266 wifi module. Everything is correctly connected and I've gotten to the point where it's correctly ...
5
votes
1answer
372 views

What is the difference between SPIFFS and EEPROM?

I would like to store some data in esp8266. There are two ways SPIFFS and EEPROM. I can not decide which one to use as both of them saves data. I also read that both SPIFFS and EEPROM are part of ...
2
votes
0answers
47 views

ESP8266 programming without USB cable [duplicate]

I have a sensor which is connected to an ESP8266 WiFi module and is supplied power through a MB102 breadboard power supply, which takes its power from wall adapter. It is not connected to a computer ...
2
votes
2answers
87 views

ESP8266 code using Python [closed]

I need to connect some sensors wireless using an ESP8266 which transfers data over my home Wi-Fi network from sensor to Raspberry Pi. Now, I was told on the Raspberry Pi Stack Exchange that when using ...
10
votes
1answer
161 views

DIY Add a Sonoff To Home Thermostat

I am not an electrical engineer, just an enthusiastic DIY home owner. I would like my A/C to self turn on at 8pm, that is before I get home and have the ability to cut off power automatically. I have ...
5
votes
1answer
54 views

Network type for streaming from RPi to several ESP8266 modules

I would like to host a web page from a RPi that has websocket controls that update in 'real time' such as a slider that transmits its value as you move it. I then want to broadcast the values to ...
4
votes
1answer
67 views

Error: 'NN_DIGIT' does not name a type, while using google-cloud-iot-arduino

I recently started learning IoT with ESP8266MOD (Arduino IDE). I want to start working with Google Cloud IoT, but confused about how to use google-cloud-iot-arduino. I tried its Esp8266-http example, ...
7
votes
2answers
149 views

Local and distant MQTT communication

In my project I have a set of sensors in a local network that should communicate with a Raspberry Pi 3 and then with a distant MQTT broker. Since I'm using ESP8266 for the sensor nodes I thought I ...
4
votes
0answers
44 views

Is it possible to use both Lua and the Arduino IDE on the node-mcu?

I've been playing around with two node-mcu boards uploading Lua scripts via ESPlorer on one and uploading code built from C++ via the Arduino IDE. I've come to a point where I have preference for Lua ...
1
vote
0answers
273 views

Fixing the Sampling Rate of ADC in ESP8266 Wi-Fi Module [closed]

What is the sampling rate of the internal ADC of ESP8266 Wi-Fi module and how can I fix it to some other value by programming it in Arduino IDE? Please help.
2
votes
0answers
442 views

Internet of Things: ThingsBoard.io

I am in a middle of an IOT project. I have to design the dashboard. I am facing difficulties in setting up the dashboard. I am using thingsboard.io I want to know how to send data from thingsboard ...
7
votes
0answers
470 views

Connect NodeMCU 0.9 to WPA2 Enterprise

Is there a way to connect to a NodeMCU 0.9 to WPA2 Enterprise like Eduroam? Now I'm using the Arduino IDE 1.8.5 with the library: ESP8266WiFi.h In this way I simply connect to a personal WPA2 with ...
4
votes
0answers
133 views

NodeMCU - create public webserver

How would I go about creating a public web server so that I can control my NodeMCU v3 from anywhere in the world? I was thinking about flashing espruino on my board since I have more experience with ...
10
votes
2answers
248 views

Detecting IoT devices in web browser?

Recently I bought a couple of wifi relays from Xiaomi. While they have been solid so far, I really dislike Xiaomi's app. But, I do like the idea that it actually works both in LAN and over the ...
7
votes
1answer
218 views

File Transfer from ESP8266

How can I download / access a file contained in the ESP8266 SPIFFS memory over the internet and not only on a local wi-fi? Can it send a complete file contained on its SPIFFS memory to a website or to ...
2
votes
0answers
62 views

How to connect to an ESP8266 via public address? [closed]

Can we connect to an ESP8266 (through the internet) knowing its local and public IP addresses without setting the WiFi modem to which it is connected?
4
votes
2answers
581 views

Can I upload code to NodeMCU without using micro USB?

Is there any way for me to upload code to NodeMCU without using micro USB? I tried to connect RX TX (NodeMcu) along with TX RX (Arduino) but it failed.
8
votes
1answer
395 views

Is there any way to access local server from outside without port forwarding? [duplicate]

Situation I need to access an ESP8266's Wi-Fi local server from outside. Like Xiaomi Yeelight (YeeLight Introduction Web Site Link) or LOHAS LED (LOHAS LED Web Site), I have to control it from ...
9
votes
2answers
450 views

802.11 action frames send and receive in software

Is it possible to gain access to 802.11 action frames TX/RX from software? There's a proprietary protocol based on vendor-specific action frames called ESP-NOW for ESP8266 and ESP32 chips, and I'd ...
0
votes
1answer
66 views

How can I set up ESP3212 after unpacking? [closed]

Do I need to flash/burn some firmware?Is there a dedicated github page/website?
3
votes
0answers
165 views

Watchdog timer changed router and esp8266 behaviour [closed]

I am working on a home automation project where Pi is acting as broker and ESP8266-01 are acting as clients using Node-Red interface. The ESP acts differently almost everytime I recycle the power. At ...
10
votes
2answers
600 views

Standards for non-Internet-connected WiFi devices?

I'm planning to do a lot of home automation. For that I will host a private isolated WiFi network to which all my devices will be connected to. The devices will be simple lights, RGB LED strips (...
9
votes
1answer
624 views

Controlling ESP8266 via Raspberry Pi through MQTT

I am working on a home automation project. The basic objective of my project is to control relays and other sensors located at different locations. I have set up my Raspberry Pi as an MQTT broker. ...
2
votes
0answers
134 views

Can I enable interrupts on GPIO16 of ESP8266?

Usually, the gpio16 is not used as gpio. But we can read the state or change the state by writing directly to the registers. WRITE_PERI_REG(PAD_XPD_DCDC_CONF, (READ_PERI_REG(PAD_XPD_DCDC_CONF) &...
6
votes
6answers
5k views

Can I use an ESP8266 as an MQTT broker?

I am making a home automation project based on star topology. What I am trying to achieve is that one of the nodemcu/ESP8266 acts as a server which is accessible for the outside world and other ...
6
votes
2answers
566 views

Call home network IP from anywhere

I'm trying to connect with my NodeMCU through internet using a web app developed by me, what I already achieved was to control it through wifi in the same network using a static IP (which still wasn't ...
7
votes
1answer
150 views

How to issue commands to IoT devices within WiFi Network

I have an IoT device that is connected to a WiFi network. Currently, the IoT device runs a small HTTP server, and send RF signals when it receives POST requests via the internet from HTTP clients. ...
10
votes
2answers
2k views

ESP8266 Mesh Network Root Node

I am working on a mesh network based on ESP8266 and it all seems to be working fine using sample code from EasyMesh by Coopdis. In his/her example, 3 ESP8266's enroll in the mesh and serves a simple ...
11
votes
1answer
548 views

Alexa cannot identify Fauxmo and ESP8266

I'm trying to control an ESP8266 using fauxmo. The programme compiles correctly, but when I run the Alexa app to find devices the ESP doesn't show up. The ESP is definitely connected to my home ...
10
votes
2answers
509 views

Intercom ring notifier with ESP8266

My project idea is to attach "something" to my Intercom and when it receives an electric signal (someone rings the door bell), contact a local web service in a home server and that server sends a push ...
9
votes
2answers
310 views

ESP8266 Without Web Page

Can I send data to an ESP8266 without creating a web server? I am accessing the GPIO pins of ESP8266 through a web server. Now I want to make an Android app for that. So I want to send data to the ...
7
votes
2answers
179 views

ESP12-E Video Streaming window, text and buttons are not displayed as expected

I have an arducam mini 2MP camera connected to an ESP8266 (12-E) module and I am trying to implement video streaming inside a window with some text and control buttons around it, all in the same ...
7
votes
1answer
1k views

Getting status from WeMo device using Alexa

I am using an ESP8266 to emulate a WeMo device with wemos and fauxmoESP arduino code found on the internet. Now that I understand the basic interaction of on and off commands, I'd like to add a status ...
6
votes
1answer
1k views

How to write/post files to website server through ESP 8266

I want to know if there is a way to send files to a website with sm ESP 8266 or any other IoT device. I intend that the IoT device will be the client. A PHP or scripting file on the website will act ...
3
votes
2answers
231 views

What is the 'auth token' in Blynk?

In the below Blynk program, they have used the line: char auth[] = "76aeba5832304e10917b4e1748c34039"; What is mean by the 'auth token'? Why is it required for Blynk to function correctly? Program ...