We’re rewarding the question askers & reputations are being recalculated! Read more.

New answers tagged

0

Not sure if it possible in your case, but you might send and ID with it which you increase every time the button has been (really) clicked (thus not refreshed). On the receiver side, check if the ID is already received, if yes, do not execute it.


0

As described here the ESP8266 can be waken up using Timer Wake Up or external interrupt. The idea is simple: almost everything inside the ESP is powered down (including Wi-Fi and/or System clock or even the CPU) with only a timer running which was told when to activate before the ESP went to sleep. After the desired amount of time has passed the timer ...


0

I had the same problem, when i tried to connect to my home wifi i got stuck with just printing dots and never could connected. First of all i though that my ssid or password had a typo, but it hadn't. Then i changed the nodemcu and the problem persisted. But when i tried to connect to other wifi it worked. So the problem was in my modem/router.So i changed ...


1

Here's a working example that's on my Wemos D1 Mini. It stands up an AP until you provide credentials for your local LAN, then displays it's DHCP IP address on a 16x2 LCD and stands up a webserver. Once the credentials are stored it won't stand up the AP, it will just reconnect and do the main loop() of the sketch. To force the AP to restart you need to call ...


1

You don't. WifiManager does all that for you. You don't need anything like that in your code. Just follow the examples and read the documentation. But if you do want to then you just need to remember that WifiManager is merely a library that configures the WiFi for you. If you want to query or alter the WiFi settings you can - exactly as you are right now. ...


2

It can't be done (also, why would you think that would ever be a good idea?!) The 8 pin chip on the ESP-01 is a 512kB SPI flash that runs at (at least) 40MHz. So to emulate that you would need: More than 512kB of flash, A slave SPI interface that can operate at a minimum of 40MHz, and The knowledge, time and energy to write the firmware to emulate an SPI ...


0

I've had some progress in my researches towards this problem. In fact, Arduino gets the correct gateway address from my DHCP server, but displays the wrong one. There must be a bug somewhere in WiFiEsp library somewhere. To debug this, I made a few changes to the following files: WiFiEsp-Master/src/WiFiEsp.h void config(IPAddress local_ip, IPAddress ...


0

Using a static IP address with a gateway is not implemented (as you can see from the source code). To get out to the internet with that library you can only use DHCP (by omitting the WiFi.config(localIp) call).


Top 50 recent answers are included