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
0 votes
0 answers
23 views

Bare metal or Non OS SDK setup for ESP-01 ESP8266 - Issues in setting up (esp dev toolchain on ubuntu 20.04 virtual box )

I bought ESP 8266 ( ESP 01 ESP 8266) online as I wanted to start development from scratch (direct flash from laptop instead of using arduino, not to use rtos but as much baremetal as possible). As per ...
user avatar
  • 1
0 votes
0 answers
18 views

Serial (UART) WLAN bridge with ESP8266

I have an installation with an MCU with proprietary (unfortunately) and immutable firmware, that provides a serial interface to connect a PC or laptop to. Planning to make it accessible via the ...
user avatar
0 votes
0 answers
51 views

LC Technology Relay x4 Reset to Mode 1?

Hi have a LC Technology Relay x4 board with a custom-firmware (using ESPHome) on the ESP01 attached to it. As a curiosity, I pressed on the S1 switch to see if it's doing something. The "normal&...
user avatar
0 votes
0 answers
25 views

Can the relay be controlled over serial on the ESP8266 WI-FI?

I recently purchased an ESP8266 WI-FI which looks similar to this but is actually this one with the extra row of pins by the serial lines. I'm following along with the instructions on the first page ...
user avatar
0 votes
0 answers
32 views

ESP8266 3-way switch

I'm upgrading a bunch of light switches to smart switches that are flashed with Tasmota. Running a local MQTT server, Node Red, and Home Assistant. For the most part all is going well... However, I'm ...
user avatar
0 votes
0 answers
72 views

Can the Sonoff iFan03/iFan04 be hacked to do dimming?

Looking at the Tasmota compatibility, this seems to use gpio13 for the light fixture. Other devices seem to do PWM on that pin, and the ESP8266 pinouts I can find online suggest this is indeed a PWM ...
user avatar
  • 91
2 votes
1 answer
166 views

ESP32 or ESP8266 220v button as input

As per title I'm, looking a way to detect the press of a button powered at 220v ac through a gpio pin of the ESP32. The simplest solution found seems to be an octocoupler, but are there devices that ...
user avatar
  • 23
0 votes
0 answers
122 views

Temperature sensor MLX90614 read object temperature above 300°C

I want to make sure the sensor read normally but when i run it to read the object temperature, the result is 382.19°C. I have search for tutorials, and also the error but i couldn't find it except for ...
user avatar
1 vote
1 answer
48 views

Can I make individual callbacks to handle each MQTT topic?

I'm using the PubSubClient on some ESP-01 modules to make smart/connected devices around the house. I'm not super fond of the way all incoming messages get routed to the single callback. When I get a ...
user avatar
2 votes
1 answer
48 views

Trying to read thermostat value controlled by Alexa with ESP8266

this is my situation: I have a thermostat in my bathroom which is controlled by Alexa. Now I want to automate my ventilation. For this I want to use a ESP8266 NodeMCU with a humidity sensor and a ...
user avatar
-1 votes
1 answer
115 views

How many machines do I connect to a single WiFi router?

I have 10,000 machines (to make jute-bags), and each machine needs to send data to a remote server every 2 seconds. The data consists of machine id, machine state and various other information ...
user avatar
1 vote
1 answer
56 views

Lost power supply while flashing SONOFF S20

Yesterday I successfully flashed three out of four S20 v2.1.0 devices with ESPHome firmware. While flashing the fourth one, I accidently interrupted one of the cables (most likely the power supply [3....
user avatar
  • 111
1 vote
1 answer
52 views

ds18b20 reading oscillating [closed]

I have two ds18b20 connected in star topology (3m cable) to a wemos d1 mini inside a cold chamber and sometimes the temperatures are like following a sinewave. Any idea where that might come from ? ...
user avatar
  • 11
4 votes
3 answers
522 views

ESP8266 with Dual Relay AND STM8S103

I'm looking for an ESP8266 board with a dual relay for one of my projects. Yes a Sonoff Dual - quite answers all my needs, beside the part of messing around with soldering and the for need more GPIO's ...
user avatar
  • 741
1 vote
1 answer
48 views

Esp01 Program Uploading issue

I am trying to program ESP01 module with cp2102 USB to TTL converter, I successfully programmed it earlier Using logic level shifter i.e. resistor divider on RX and providing 3.3 v externally My ...
user avatar
1 vote
0 answers
38 views

Are Node MCU or Wemos D1 mini stable

To give some background, I created a WiFi IoT device using ESP 11E/F. I was doing basic stabilization using capacitors and resistors, and although some chips mostly were working okay, some chips (~50%)...
user avatar
  • 111
1 vote
0 answers
54 views

Using more than one channel Relay with ESP boards starts fluctuations after 4-5 minutes

I'm new to IoT. I'm trying to connect more than one device to relay and control via ESP board(tested with esp8266 and esp32), I'm using mqtt connecton for signaling. So here's whats happening If I ...
user avatar
1 vote
2 answers
76 views

How to control an ESP8266 via the Wi-Fi?

Summary I would like to build (ideally based on ESPHome) a device with a buzzer I can trigger remotely via the network. Context I have several systems built around my home automation system: Home ...
user avatar
  • 783
2 votes
1 answer
107 views

IoT Dashboard for customers (data comes from Arduino)

I push my sensor readings from product A, B, C, D to an online cloud provider. Then my customer (call him E) needs to access all these sensor readings and make a dashboard for his customer X, Y Z. ...
user avatar
1 vote
0 answers
39 views

Esp8266 unlinking very fast [closed]

Pls how do I get the length of the following GET request GET /data/2.5/weather?q=San%20Francisco,us HTTP/1.1\r\nHost: api.openweathermap.org\r\n\r\n\r\n GET /api/weather/insert.php?temp=74.6&him=...
user avatar
  • 19
2 votes
1 answer
448 views

Sonoff basic R3 DIY

I have read through a few blogs and watched videos of setting up the R3. What I have accomplished to date is the following: Paired the R3 with ewelink cell app. I can turn it on and off from the app. ...
user avatar
2 votes
1 answer
639 views

ESP OTA from Github

I want to be able to program my ESP32 (same for ESP8266) remotely, I have used ArduinoOTA without problems, and I can upload the file into the ESP selecting the local file that I want to flash. ...
user avatar
0 votes
0 answers
405 views

How to connect the bridge node of painlessmesh to AWS IoT Core to publish message via MQTT?

Background: I am trying to work with two ESP8266 nodes using the painless mesh. Until now the painless mesh worked fine. At next level i made one of the node as bridge or root node. My intention here ...
user avatar
0 votes
0 answers
48 views

Mini weather station project not working

I have been trying to do this project for 2 weeks. The project is about mini weather station. It uses esp8266, DHT11 sensor,BMP180 sensor and FC 37 rain sensor. I have taken reference from the ...
user avatar
0 votes
1 answer
450 views

Connect to ESP8266 outside network, not using portforward or VPN

I am looking for a way to connect to my ESP8266's web server without being connected to the same network as it. Also, I want to be able to connect to it without using the port forward or VPN tunnel ...
user avatar
  • 3
0 votes
1 answer
465 views

switching setDebugOutput off on esp8266

This thing is driving me nuts. I tried to debug my MQTT secure connection on nodecmu. Following some post from year 2015 I was switched on debugging output with Serial.setDebugOutput(true). Now I ...
user avatar
  • 137
4 votes
1 answer
199 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 ...
user avatar
4 votes
2 answers
79 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). ...
user avatar
  • 141
0 votes
0 answers
24 views

Not getting data from nodemcu to the firebase

I've done almost everything to get the data from nodemcu but nothing happened. I tried by changing the fingerprint. I have also used project secret and copy it in FIREBASE_AUTH part. I also ...
user avatar
0 votes
1 answer
224 views

How fast can I send data to firebase from nodemcu 1.0?

I was sending some variable value to the firebase database I have created: how fast can I send it? What would be minimum time interval between two values nodemcu can send and fire base can receive? I ...
user avatar
2 votes
2 answers
2k views

Can I use the CC2531 Zigbee sniffer with a ESP8266 via serial, no USB involved?

I have a CC2531 connected via USB to my server to read/control some Zigbee devices. I use the version with external antenna. I found that the location of the server is not optimal and I would like to ...
user avatar
  • 243
1 vote
1 answer
73 views

Cayenne IOT widgets greyed out using ESP8266 NodeMCU-12e

I'm using an ESP8266 NodeMCU-12e, connecting to Cayenne IOT platform. Most things work fine (I can update most widgets using virtual channels), but some widgets are unavailable (greyed-out), or simply ...
user avatar
  • 131
1 vote
1 answer
117 views

Write temperature data from multiple esp8266 (node MCU) to single database without internet

I am currently working on a project to read temperatures from multiple points using a sensor and Node MCU setup. I require all these datas (from 16 node MCU) to be stored to a web server. Can I do it ...
user avatar
2 votes
0 answers
38 views

Custom flashed Sonoff basic doesn't work when connected to main power

I flashed a sketch to a Sonoff basic switch R2 through Arduino IDE (with FTDI). Flash is completed and Sonoff runs the sketch successfully. The code is just a typical setup for making esp8266 a soft ...
user avatar
2 votes
1 answer
847 views

How to pair IoT device

I've seen on the internet how the IoT device gets connected to the Android/iOS apps. In one video, one guy kept pressing one button for several seconds and the device enters in pairing mode and mobile ...
user avatar
3 votes
0 answers
358 views

Not getting LWT MQTT Arduino

I'm trying to test a two combined examples: OTA and MQTT. My goal it to check a LastWill when disconnecting an ESP8266 device. Surprisingly, a LWT is not sent to designated topic. code has not actual ...
user avatar
  • 741
3 votes
1 answer
153 views

How to control multiple ESP-01 with an app? [closed]

I've been working on a school project that consists into making a smart light socket. I want to make an app which will allow the user to control many of them, like switching on and off, controlling ...
user avatar
3 votes
1 answer
194 views

get trigger from IFTTT - using ESP8266

I'm using a Wemos mini, to switch on the light. I'm trying to figure out how to combine IFTTT and Sunset and Sunrise from Weather underground to trigger the lights ON. All examples I find, is how ...
user avatar
  • 741
3 votes
0 answers
87 views

Is there any solution to run any RTOS on windows/linux virtual machine?

I am writing firmware for different boards supporting FreeRTOS, Zephyr, ... My problem is when I am developing the firmware, I should run the firmware on the "real" device from the beginning and ...
user avatar
1 vote
0 answers
153 views

ESP8266 and MQTT not working with new router [closed]

Got a new router from the ISP and my ESP8266 NodeMCUs are causing problems, they need very long to connect to WiFi (3-4 mins), which wouldn't be that big of a problem, but they also don't connect to ...
user avatar
  • 11
1 vote
1 answer
124 views

Speech recognition using esp8266

I'm working on a project where I have to send voice through mic to a Speech recognition API using esp8266 where the voice is get processed. Is there any possible way I could do this with esp8266? I ...
user avatar
2 votes
2 answers
811 views

z wave and zigbee development boards

ESP8266 provides an amazing environment to build iot devices for smart home. I managed to build all kinds of gadgets raging from simple temperature and humidity recorders to more advanced actors with ...
user avatar
  • 137
3 votes
0 answers
378 views

CCS811 eCO2 readings factors wrong

I have an ESP8266 (Wemos D1 mini pro v2.0.0) running esphome.io measuring CO2 with an Winsen MHZ-19B and an Adafruit AMS CCS811. I would like to use only the CCS811 to save power and space, however ...
user avatar
  • 131
1 vote
0 answers
461 views

What are lower latency alternatives to using MQTT brokers with the ESP8266

I'm experimenting with the nodeMCU board attempting to proto type out an IoT project. My first iteration involved using an MQTT broker to send messages between my computer and the board. Due to the ...
user avatar
3 votes
1 answer
227 views

How do IOT platforms like Blynk, ThingSpeak etc. communicate with hardware (e.g. ESP8266) without port forwarding?

I use port forwarding if I want to access my local server NodeMCU from internet. However if I use IOT platforms like Blynk, ThingSpeak... then I dont need to care about port forwarding. We can access ...
user avatar
  • 131
3 votes
0 answers
64 views

What IoT services are available for free that does not have message rate limit?

let say my other device publishes messages every 10ms (trying to show a real time graph in mobile app) sending at slower rate i.e every 1s instead of 10ms would result to wrong output. Are there any ...
user avatar
3 votes
1 answer
686 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 ...
user avatar
  • 33
12 votes
2 answers
4k 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 ...
user avatar
  • 431
17 votes
2 answers
961 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 ...
user avatar
1 vote
0 answers
135 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(...
user avatar