Questions tagged [esp8266]

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

Filter by
Sorted by
Tagged with
3 votes
1 answer
855 views

How to send continuous data from a few ESP8266 to a webserver?

I am new to ESP8266 boards and IoT programming and I don't know how to describe better what I want to do without a picture. Question: How to send continuous data from 4 esp8266 WiFi clients to a ...
NumLock's user avatar
  • 33
14 votes
2 answers
7k views

How can I list the partition table of a currently running esp32 devboard?

I am developing on an ESP32 devboard (esp8266, wroom). I need to get the partition table of the currently running device. This document contains a quite good documentation of its partition table. I ...
peterh's user avatar
  • 491
17 votes
2 answers
1k views

What is a good way for an IoT device to receive its network settings?

I'm in the process of building an IoT device using ESP8266. The device will eventually contain a couple of motors, and I would like to control these motors using MQTT. I would like to make the device ...
Mikael Lindqvist's user avatar
1 vote
0 answers
187 views

Is it possible to send data to AMQP server using AT-Command on ESP8266 Wi-Fi module?

I'm currently working on an IoT project which I have an STM32F0 connected to the ESP8266 Wi-Fi module. My goal is to publish data to an AMQP server. Currently, I'm trying to connect to an AMQP server(...
copsterr's user avatar
1 vote
1 answer
1k views

How to detect current flow in a live wire running at 220V AC, using Esp32

I have a project planned which is related to home automation. I want to be able to control the lights using an app on phone while also maintaining full manual switch control in case the relay or ...
Rahul Kumar's user avatar
2 votes
1 answer
65 views

NodeMCU (ESP8266) board controlled over shared hosting database

I have a NodeMCU (ESP8266) board that I want to control over the internet. I am trying to find a solution where I don't have to set up any configurations on my router like port forwarding. I came up ...
Slaven Tojić's user avatar
1 vote
0 answers
71 views

How to display the data on thingspeak using nodemcu?

I am new to the concept of nodemcu and thingspeak. I am doing a project on irrigation. I need to send data to thingspeak through the nodemcu. The code I uploaded in the nodemcu is shown below: #...
MAKHAM NAGA BHAVANI's user avatar
7 votes
4 answers
4k views

Which IoT platform to visualize real-time and historical sensor data?

In order to prepare some tutorials for my students, I am working on a few DIY electronics projects in the field of IoT. I want to use ESP32, ESP8266, Arduino Uno, and Raspberry Pi. I am more deep on ...
Mohammad Taherian's user avatar
1 vote
0 answers
76 views

How to connect the ESP8266 and DHT11 to arduino Uno?

I am new to the IoT. I am doing a project which includes collection of weather information and send data to the thingspeak. I struggled for the connection of ESP8266 to Arduino Uno . Finally its ...
MAKHAM NAGA BHAVANI's user avatar
1 vote
1 answer
73 views

IoT Light Power Consumption

I have a esp8266 which consumes around ~70 mA when active. I am controlling a light connected to it. The deep-sleep can't be used here as the light has to be responsive to on/off signals. What is ...
Electric_90's user avatar
0 votes
2 answers
77 views

Arduino IDE friendly Ethernet development board with ADC?

As my introduction into an IoT project, I thought I'd build a simple home communication system for my family. It has been a very entertaining and eye-opening experience so far. My original plan was ...
John's user avatar
  • 327
2 votes
1 answer
667 views

How does the MQTT server output a single raw file from multiple client publications?

I'm trying my first IoT project whereby I want to: have an electret microphone capture audio have an ESP8266 NodeMCU 12-E board submit captured audio to a remote server have a remote server receive ...
John's user avatar
  • 327
1 vote
0 answers
720 views

Xamarin.Forms to ESP8266 Wifi moduleConnection [closed]

Am build new application for ESP8266. Then how can i connect my xamarin.forms application to esp8266 any reference and documentation for this. Already referred WIFIManager library in android many of ...
logeshpalani98's user avatar
4 votes
2 answers
1k views

Using Raspberry Pi as a Lora Node for a TTN setup

I already have a LoRa gateway that I made using a NodeMcu with ESP8266 and now I want to send data from a Raspberry Pi 3 through that gateway to the TTN. The first thing that I did was to connect ...
user avatar
6 votes
3 answers
541 views

Controlling normal bulbs brightness using Sonoff devices

I am doing a home automation project in which I should be able to control the lights on/off but more than that, the brightness of the lights. I am using Home Assistant (not hassbian) and Node-Red ...
Eric Lim's user avatar
  • 161
4 votes
0 answers
129 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 ...
guyd's user avatar
  • 771
4 votes
1 answer
2k 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 ...
Thibaut Hardin's user avatar
7 votes
2 answers
338 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 ...
st2000's user avatar
  • 223
2 votes
0 answers
218 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 ...
guyd's user avatar
  • 771
2 votes
2 answers
189 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?
a-c-sreedhar-reddy's user avatar
1 vote
1 answer
342 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 ?
guyd's user avatar
  • 771
6 votes
2 answers
695 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) ...
404response's user avatar
6 votes
2 answers
130 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 ...
Neil_UK's user avatar
  • 161
7 votes
3 answers
7k 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 ...
guyd's user avatar
  • 771
4 votes
1 answer
251 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.
a-c-sreedhar-reddy's user avatar
2 votes
2 answers
273 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 ...
a-c-sreedhar-reddy's user avatar
5 votes
2 answers
1k 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 ...
a-c-sreedhar-reddy's user avatar
1 vote
1 answer
406 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.
a-c-sreedhar-reddy's user avatar
4 votes
2 answers
364 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,...
guyd's user avatar
  • 771
6 votes
1 answer
184 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 ...
Alberto Elorduy's user avatar
5 votes
1 answer
3k 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 ...
a-c-sreedhar-reddy's user avatar
2 votes
0 answers
124 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 ...
Shreyas Mishra's user avatar
2 votes
2 answers
498 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 ...
Shreyas Mishra's user avatar
12 votes
1 answer
1k 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 ...
user9232's user avatar
  • 121
5 votes
1 answer
87 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 ...
user6397's user avatar
6 votes
1 answer
128 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, ...
Praveen Soni's user avatar
7 votes
2 answers
425 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 ...
Yazly's user avatar
  • 71
3 votes
0 answers
118 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 ...
Chris Steinbach's user avatar
1 vote
0 answers
416 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.
Nagesh Naik's user avatar
2 votes
0 answers
1k 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 ...
Ahmed's user avatar
  • 21
6 votes
0 answers
920 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 ...
Timmy's user avatar
  • 161
4 votes
0 answers
282 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 ...
Stuart Fong's user avatar
12 votes
2 answers
2k 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 ...
hjf's user avatar
  • 221
5 votes
1 answer
434 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 ...
Nagesh Naik's user avatar
2 votes
0 answers
87 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?
user5747's user avatar
4 votes
2 answers
5k 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.
fady malak's user avatar
9 votes
1 answer
2k 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 ...
Josh's user avatar
  • 227
12 votes
3 answers
2k 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 ...
Alexandr Zarubkin's user avatar
0 votes
1 answer
76 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?
Vignesh Ramakrishnan's user avatar
3 votes
0 answers
334 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 ...
Rohit Mathur's user avatar