Questions tagged [nodemcu]

NodeMCU is an open-source firmware that offers a Lua API for ESP8266, ESP8285, and ESP32. There is also a ESP8266 devkit with the same name. However, questions here should relate to writing Lua code on top of the firmware. Also if you need help understanding the NodeMCU API SO is the right place. Issues with firmware development are best addressed on GitHub. Hardware or general questions can be asked on esp8266.com.

The NodeMCU project is a Lua based firmware that runs directly on ESP8266, ESP8285, and ESP32 hardware, providing a easy and low cost solution. Build-deploy-test cycles are extremely short (contrary to e.g. Arduino) because you only build the firmware once and then simply update scripts on the device.

It provides access to almost all APIs in the Espressif C SDK. Hardware/SDK access is abstracted through close to 60 specific modules. The firmware comes with either integer or floating point support depending on your needs.

975 questions
-2
votes
1 answer

Send sensor data from Nodmcu to labview

I want to send sensor data(like DHT) from NODEMCU to LABVIEW. Is there any library or sketch to do this ? NODEMCU is connected to network in station mode. In labview, I have to use which library to do this?
REZA
  • 3
  • 4
-2
votes
1 answer

NodeMCU-PyFlasher-1.0.0.exe terminates after a few seconds

Two days ago, everything was fine. I could run NodeMCU-PyFlasher-1.0.0.exe and flash firmware onto nodeMCU boards (WeMos D1 mini or NodeMCU boards). Today I wanted to re-flash a board. When I started NodeMCU-PyFlasher-1.0.0.exe the exe terminated…
StefanL38
  • 9
  • 4
-2
votes
1 answer

how to communicate mobile app though Visual Studio with NODEMCU(ESP8266) wifi module?

I have built a mobile application in visual studio. the purpose of this app to connect with wifi module (nodemcu esp8266) to control the home appliances. there are differents buttons options in this app to turn on and turn off the appliances and…
fame
  • 3
  • 2
-2
votes
2 answers

NodeMCU temperature readings to Raspberry Pi wireless

I'm currently having issues sending data collected from a temperature sensor to my Raspberry Pi. The Pi says it hasn't received any data. I'm also not sure how GET and POST work. I'm fairly new to this stuff so any help would be much…
heyyy
  • 29
  • 4
-2
votes
1 answer

how to send temperature readings from nodemcu to raspberrypi wirelessly

how to send temperature readings from nodemcu to raspberrypi wirelessly and store it in a database. Can somebody provide me with a tutorial. Thanks
shami
  • 15
  • 1
  • 3
-2
votes
1 answer

Error in writing data in eeprom in Nodemcu

i am writing the data in eeprom of nodemcu esp8266 12e but their is error in writing data. after restarting the board the value is lost again not store for long . help to solve this issue. when i am writing the data in eeprom on board the data is…
-3
votes
1 answer

Timer stopped when a function is delayed

Im using a NodeMCU with multiple timer. This code is running properly. There are 3 timer functions that counting depends on input from firebase with delay on each. But when the delay comes, the other timer is stopped for a while until the delay is…
-3
votes
1 answer

How to control NodeMCU without web but with GUI like Qt (through wifi)?

I want to make a GUI that controls an LED over wifi (using Qt GUI) the same way it is done using web servers. But instead of a URL-based controlling, I want to control it using a Qt GUI. I have searched everywhere and could not find any answers. How…
user8606643
  • 13
  • 1
  • 7
-3
votes
2 answers

Error in code. Lua on NodeMCU

I have a motorized roller blind project. I am following this instructable: https://www.instructables.com/id/Motorized-WiFi-IKEA-Roller-Blind/ . I am using the code in the instructable, but I suspect tha fault is in one of these codes: config.lua --…
petrepa
  • 13
  • 1
  • 5
-3
votes
1 answer

How to make correct HTTP Post request with ?key=value&key=value after the adress

I have a problem with doing by myself a http.post() request. I want to perform API requests on NodeMCU based on ESP8266 with Lua language. The first problem that i met was "Plain HTTP on HTTPS adress". For now it says "bad token", so, it means that…
Spar
  • 1,582
  • 9
  • 16
-3
votes
1 answer

Is this battery compatible with the Node MCU ESP8266?

Is this battery compatible with this NodeMCU ESP8266 ? More details; it was recommended to use this page to get a battery to power the Node ESP8266 but I'm not sure which models are compatible.
Aaron Navies
  • 1,213
  • 1
  • 11
  • 16
-3
votes
1 answer

Best way to retrofit existing alarm PIR with esp8266/etc?

Without going into too much detail: Hardware : Alarm System : Risco Lightsys2. Nothing unique here, each PIR (and sensor, door contacts, etc) gets 1.5 terminals on the motherboard / "zone expander" (the mobo only allows for 8 devices). 3 terminals…
anonymous-one
  • 14,454
  • 18
  • 60
  • 84
-4
votes
1 answer

DHT and NodeMCU completely not working?

I directly copy-pasted the dht.md example from the official NodeMCU GitHub into my Script window like so: But upon saving to ESP8266 I get an error: init.lua:3: attempt to index global 'dht' (a nil value)
pulsar100
  • 41
  • 7
-5
votes
2 answers

NodeMCU (Arduino IDE) - after power off, sketch doesn't start

I made a project that will send GPS coordinates to a MySQL database through NodeMCU wifi. I have no problem with this, but now, in the last few steps before showing it to the company owners, I have problems when I try to reboot NodeMCU after power…
-6
votes
1 answer

NodeMCU connecting to web server

Good day! I have a problem about my code. Why is it that I'm getting a connection failed when I'm connecting to my web server. By the way, I'm using a NodeMCU. Hope you guys can help me. Thank you in advance.
Phen
  • 1
  • 1
  • 2
1 2 3
64
65