Questions tagged [esp8266]

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

Is a today obsolete, ultra low cost microcontroller from the Chinese company Espressif. Today superseded by its successor, .

Features

  • 32 kB instruction RAM
  • 80 kB data RAM
  • up to 16 MB expernal SPI flash
  • 802.11 Wifi
  • 16 GPIO pin

References

124 questions
17
votes
2 answers

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 locker which is not a wifi-friendly environment. I…
Jimmy Westberg
  • 704
  • 2
  • 5
  • 14
17
votes
2 answers

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 as cheap as possible, so I would like to avoid…
16
votes
1 answer

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 times/second. The data rate would be preferably…
16
votes
2 answers

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 can also read/write flash regions by the esptool.py…
peterh
  • 551
  • 1
  • 3
  • 16
14
votes
2 answers

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 web interface. This is working perfectly for me…
Gineer
  • 409
  • 3
  • 12
13
votes
1 answer

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 Sonoff basic devices doing this with my lawn…
user9232
  • 131
  • 3
13
votes
2 answers

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 internet. When in LAN they are very quick to turn on and…
hjf
  • 231
  • 2
  • 4
13
votes
3 answers

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 like to try to implement it on a Raspberry Pi. It…
13
votes
1 answer

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 HTTP requests, to run scripts on server etc). I…
Salim Shamim
  • 753
  • 1
  • 5
  • 15
12
votes
1 answer

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 layer other modules can connect forming a third…
solomon
  • 121
  • 2
11
votes
2 answers

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 (smd5050 and ws2812b), thermostats, fans, window…
Forivin
  • 411
  • 3
  • 9
11
votes
1 answer

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. Mosquitto is running fine. For now, what I am trying…
Rohit Mathur
  • 369
  • 1
  • 2
  • 10
11
votes
1 answer

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 network, and the programme is running (I've checked the…
llewmihs
  • 161
  • 6
11
votes
2 answers

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 notification to phones. The part of the project…
Mulflar
  • 211
  • 2
  • 8
10
votes
1 answer

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

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 outside not in same Wi-Fi. I can only think of port…
Josh
  • 247
  • 1
  • 4
1
2 3
8 9