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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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

3
votes
0answers
13 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
69 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 ...
5
votes
1answer
23 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 ...
2
votes
1answer
59 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
77 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 ...
5
votes
1answer
56 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
39 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
17 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?
3
votes
2answers
112 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,...
5
votes
1answer
68 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
190 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
44 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 ...
1
vote
2answers
48 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
63 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 ...
4
votes
1answer
51 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 ...
3
votes
1answer
52 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, ...
5
votes
2answers
99 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 ...
3
votes
0answers
37 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
204 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.
1
vote
0answers
340 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 ...
6
votes
0answers
362 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
90 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 ...
9
votes
2answers
195 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 ...
5
votes
1answer
174 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 ...
1
vote
0answers
58 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?
3
votes
2answers
456 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.
7
votes
1answer
361 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 ...
8
votes
2answers
362 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 ...
-1
votes
1answer
61 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
159 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
513 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 (...
8
votes
1answer
560 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
107 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
4k 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 ...
5
votes
2answers
516 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 ...
6
votes
1answer
134 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. ...
9
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 ...
9
votes
1answer
524 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 ...
8
votes
2answers
443 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 ...
8
votes
2answers
264 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 ...
6
votes
2answers
174 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 ...
6
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
884 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
205 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 ...
6
votes
1answer
177 views

How can I make hostnames accessible?

I am using the Sonoff-Tasmota firmware to configure ESP-8266 devices for my home automation system. These devices log onto the WiFi network and obtain IP addresses via DHCP. The problem is that ...
6
votes
1answer
280 views

How to use telegram api registerDevice for ESP8266?

I can't find any example for this method. I don't want to check the messages via "getMessages" method but want that telegram sends a TCP message to ESP8266, like my mobile or browser receive messages. ...
11
votes
1answer
240 views

Creating a private subnet by assigning IP's through DHCP

I am using an esp8266 wifi module if that matters. What I intend to do is connect the module to my home router and have other modules connect to this module and form a second layer, and to this second ...
6
votes
1answer
424 views

Sub milisecond timer for ESP8266 in LUA

I'm trying to make a remotely controlled servo motor controller on ESP8266 which is controlled by a server. The problem I'm facing is how to make an asynchronous timer, like tmr.alarm(), but in ...
8
votes
1answer
1k views

Can't Flash ESP8266 latest firmware, says “Fast Flashing error” and “Invalid head of packet(' ')”

I can't figure out how to flash the firmware found on http://www.electrodragon.com/w/ESP8266_AT-Command_firmware. I am using ESP8266 Download tool v3.4.4. When I am adding a firmware in download path ...
9
votes
1answer
3k views

How to use MQTT on Arduino which uses serial com to send AT commands to ESP8266

I just started looking into MQTT protocol. Situation In my college project, currently, I use Arduino as main MCU and do every work in that and use Serial Comm. to send AT commands to esp8266 (for ...