I am very happy because there is this community with you and give advices and help
I would like to know if you can help me with this because i am new in the programming and i know little things…
I use this code esp8266 ds18b20 · GitHub ,
and I would like to add the WiFiManager so that to add ssid,pass,auth from my phone (connect esp WiFi → 198.168.4.1 → ssid,pass,auth) without change in my code and then If i want to reset the wifi,pass,auth to I press “rst” button on my esp8266 to delete only ssid,pass and auth token. I had try to do this a lot of times without result
Thank you a lot for your time
Well, to begin with, the code you’re starting with is awful. It breaks all the rules of Blynk.
You should read this and implement a Blynktimer and remove your delay,
You should also set your Blynktimer up so that it takes temperature readings at a sensible frequency - say every 5 to 10 seconds.
Once you’ve done that, I’d suggest that you then try to add-in the WiFiManager code yourself, and share the results that you are getting. That way, you’re much more likely to get help.
It’s also better if you post your code, and your serial monitor output, directly to the forum rather than linking to your GitHub page.
Code and serial output should be posted with triple backticks at the beginning and end.
Triple backticks look like this (copy and paste them if needed)…
```
Code posted without triple backticks will be deleted.
Hello Blynkers,
I have this code with wifimanager and I would like from you if you want to and some think in code so that to I can add and auth token such as ssid and pass from the IP (192.168.4.1). I am new in this world and I try my best to develop this code but this, with auth token its complicated. Thanks you a lot for your time
@apo8ira7 I’ve merged your two topics on the same subject into one, and as promised I’ve deleted your unformatted code, because despite me giving you triple backticks to copy/paste you used different characters instead.
But you used different characters instead of triple backticks, which doesn’t work.
I gave you some examples triple backticks, and suggested several times that you should copy and paste them if you’re struggling to find this character on your keyboard - but you don’t seem happy to take that advice.
You’ve ignored this advice and gone for every 2 seconds instead…
and ignored this advice…
You’ve also left the code in the loop which calls getSendData() every time the void loop executes, instead of allowing BlynkTimer to call getSendData().
and, you’re missing timer.run(); in your void loop, so the BlynkTimer is never being serviced.
You’re also missing lots of WiFiManager code from your sketch.