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
16
votes
2answers
475 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 ...
13
votes
1answer
2k views

ESP8266 fast HTTP GET response rate

While starting programming my ESP8266 to get continuously changing data (car position) from a server, I encountered a problem: I can't get the ESP8266 to receive the data from the server more than 3 ...
12
votes
2answers
16k views

ESP8266 with ethernet connection

I was wondering if someone knows a way to convert a ESP8266 to non-WiFi. I.e. have it connected through Ethernet, preferably with PoE possibility. Reason for asking: My plan is to have sensors in a ...
12
votes
2answers
684 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 ...
12
votes
1answer
963 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 ...
11
votes
2answers
4k 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 ...
10
votes
2answers
2k 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 (...
10
votes
2answers
1k 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 ...
10
votes
3answers
1k 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 ...
10
votes
1answer
354 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 ...
10
votes
1answer
782 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
1answer
6k 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 ...
9
votes
2answers
976 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 ...
9
votes
2answers
719 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 ...
9
votes
1answer
1k 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
1answer
2k 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
341 views

Is this architecture feasible and flexible?

I'm having a but of trouble making sure my project really is feasible. What I want to archive: Control my Senseo coffee machine via internet. It boils down to simply controlling 2 buttons. First ...
9
votes
1answer
1k 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. ...
8
votes
2answers
238 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
6answers
14k 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 ...
7
votes
3answers
5k 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 ...
7
votes
2answers
3k 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 ...
7
votes
2answers
356 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 ...
7
votes
4answers
2k 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 ...
7
votes
2answers
3k 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 ...
7
votes
2answers
272 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 ...
7
votes
1answer
295 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. ...
6
votes
3answers
394 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 ...
6
votes
2answers
969 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
2answers
111 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 ...
6
votes
1answer
120 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 ...
6
votes
1answer
495 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
106 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, ...
6
votes
1answer
527 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. ...
6
votes
1answer
172 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
1answer
390 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 ...
6
votes
0answers
803 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 ...
5
votes
1answer
1k 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 ...
5
votes
1answer
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 ...
5
votes
2answers
617 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 ...
5
votes
1answer
69 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
2answers
2k 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.
4
votes
2answers
919 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 ...
4
votes
1answer
82 views

Open source framework for ESP8266 to work with Amazon Alexa and Google Assistant

I'm working on a multi channel sonoff device with ESP8266. I want it to be able to support popular iot home control platforms such as Amazon Alexa, Google home... It must have a button and share ...
4
votes
2answers
62 views

Temperature sensors: DIY ESP8266 vs product

I want to deploy few temperature sensors in my flat: few rooms, two balconies, one outside. Sensors should send data into my server (thinking about Rpi with Prometheus DB and Grafana dashboard). ...
4
votes
1answer
104 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.
4
votes
2answers
248 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,...
4
votes
1answer
1k 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 ...
4
votes
0answers
94 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 ...
4
votes
0answers
244 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 ...