Questions tagged [esp8266wifi]

151 questions
0
votes
1 answer

NanoFramework scan wifi networks in AP mode

I use nanoframefork & vs2019 to write firmware for my esp32 device. version mscorelib 1.10.5 (my device does not support version higher) The trouble is about to get the list of wifi networks, when device is in AP mode. If use the code in example…
0
votes
0 answers

D1 mini lite won't connect to WLAN

I am building some simple IoT devices like tem / humi and window sensors for the house and would need some support with a simple method to connect a D1 mini lite to my WLAN. There are already more than enough examples and tutorials out there to do…
0
votes
0 answers

node mcu not displaying RGB values

Platform Hardware: ESP-01 Development Env: [Arduino IDE| Operating System: [Windows| Settings in IDE Module: [Generic ESP8266 Module| Flash Mode: [DOUT] Flash Size: [512KB] lwip Variant: |v2 Lower Memory| Reset Method: [ck] Flash Frequency:…
0
votes
0 answers

What header file to include to use ESP return code macro constants?

It is ESP8266, and I am using the Arduino framework (VS Code + Platform IO). The documentation uses constants like ESP_OK or ESP_ERR_ESPNOW_INTERNAL, but what to include to use them with the Arduino framework? There seems to be no "esp_now.h" but…
Damn Vegetables
  • 11,484
  • 13
  • 80
  • 135
0
votes
2 answers

Project: NodeMCU esp8266-esp12e to connect to another esp8266-esp12e - social distancing

I need to ring the buzzer within the range of 1 meter only, my esp8266 is connected to a buzzer but the buzzer will ring on and off within the range of 1 meter using two esp8266, or sometimes it does not ring at all. The project is social…
0
votes
1 answer

ESP8266, when connecting to AP, requesting sepcific IP or discoverable host name?

Is there any way in the ESP8266 code to ask the router for a specific IP? I mean, in the following example (which I copied from the web), it gets "192.168.1.3". The part "3" is automatically assigned, and may change next time. I want this number to…
Damn Vegetables
  • 11,484
  • 13
  • 80
  • 135
0
votes
1 answer

grab full url from ESP8266WebServer

This question must be a duplicate, but I cannot find the answer. Using the ESP8266WebServer library, there is an uri() method to grab the uri. So in the example: http://example.com/index, it will grab /index, but I would also like to get the…
will.mendil
  • 752
  • 2
  • 6
  • 21
0
votes
3 answers

i2cdetect doesn't showing any address

I'm using an OLED 128*64 display screen with NodeMCU ESP8266. when I tried to detect the screen address, the serial monitor shows: enter image description here It would be kind if someone can tell me what is the problem ? and how t solve it ?
Mari
  • 3
  • 6
0
votes
1 answer

How to connect an ESP8266 device securely to a web frontend?

I want to develop a product, a home smart thermostat which will have a web interface. The web interface would make requests to the thermostat which is controlled by an ESP8266-based wemos mini d1. And I would like to connect the frontend and the…
Ambrus Tóth
  • 552
  • 6
  • 14
0
votes
1 answer

wifi_fpm_do_sleep(0xFFFFFFF) returns -1;

I cannot do light sleep on my NodeMCU v3 ESP8266, because the function wifi_fpm_do_sleep() returns -1. Can you help me to find why there is an error? void light_sleep() { wifi_fpm_set_sleep_type(LIGHT_SLEEP_T); …
0
votes
1 answer

How to solve "Connection failed" for D1mini(ESP8266)

I'm trying to use D1 mini to fetch some data from website. I created an API key on Thingspeak ThingHttp. However, the client didn't connect properly. I got "connection failed" from the Serial monitor. Here is my code. I think they are almost the…
Adi_Hsiao_0410
  • 111
  • 2
  • 9
0
votes
0 answers

Connect to hidden WiFi "network", transmit data and reconnect to original network

I have very little experience with non-embedded programming, so i wanted to do a sanity check before I go down this path. Basically just need to know whether the titular line of actions are possible to do as a 1-click solution in…
0
votes
1 answer

How to send data from ESP8266 to Django local server

I am new to Django and even newer to ESP8266. I'm trying to send information from ESP8266 to my Django server using the POST method. The information looks like this: Temperature=24.60&Humiditi=30.30&Soil=0.00&Water=0&Light=602.00 So my ESP8266…
Nero515
  • 21
  • 6
0
votes
0 answers

FirebaseHttpClient_Esp8266.cpp:8:25: fatal error: ESP8266WiFi.h: No such file or directory

These are the header files I am using #include // firebase library #include #include #include #include Error:FirebaseHttpClient_Esp8266.cpp:8:25: fatal error: ESP8266WiFi.h: No…
0
votes
2 answers

Problem uploading sketch to arduino uno/esp8266

Getting this error while uploading: Arduino: 1.8.13 (Windows Store 1.8.42.0) (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), dtr (aka nodemcu), 26 MHz, 40MHz, DOUT…
Arsh
  • 45
  • 1
  • 5