Untill this evening, my “thermostat” working fine.
I use Blynk with an “old” acount. I want to change account, of course I received token, I rewrite new token for new account on same Wemos D1mini end problem stats…
Program run withoute sense or command: I have 2 relay who must start at temp / time command but they are work random, even if device is on “pause” mode
Do you mean that you actually signed-up for a new Blynk account, or that you generated a new Auth code for an existing project?
After other tests, with new account (token received) - doesn’t work.
Then, I test with old account (old token), then reset and write new token on old account, same problem.
What happens if you disconnect everything from your Wemos (apart from the serial USB) and boot it up again?
I did that, and received that messages on SM
In SM after a few readings, board resets… YES, still get WDT resets
I use “Arduino ESP8266/ESP32 Exception Stack Trace Decoder”
Decoding stack results
0x40100218: delayMicroseconds at C:\Users\Victor\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.0\cores\esp8266\core_esp8266_wiring.c line 205
0x402054b0: OneWire::write_bit(unsigned char) (C:\Program Files at x86)\Arduino\libraries\OneWire-master\OneWire.cpp line 220
0x4020551c: OneWire::read_bit() (C:\Program Files at x86)\Arduino\libraries\OneWire-master\OneWire.cpp line 242
0x40205aac: DallasTemperature::isConversionComplete() (C:\Program Files at x86)\Arduino\libraries\DallasTemperature-3.8.0\DallasTemperature.cpp line 360
0x40205b00: DallasTemperature::blockTillConversionComplete(unsigned char) (C:\Program Files at x86)\Arduino\libraries\DallasTemperature-3.8.0\DallasTemperature.cpp line 407
0x40205b54: DallasTemperature::requestTemperatures() (C:\Program Files at x86)\Arduino\libraries\DallasTemperature-3.8.0\DallasTemperature.cpp line 374
0x402037fd: getTemperature() at C:\Users\Victor\AppData\Local\Temp\termostat_contor_ACS712_cu_Blynk/termostat_contor_ACS712_cu_Blynk.ino line 51
0x40205350: BlynkTimer::run() (C:\Program Files at x86)\Arduino\libraries\blynk-library-master\src\utility\BlynkTimer.cpp line 109
0x40204021: loop() at C:\Users\Victor\AppData\Local\Temp\termostat_contor_ACS712_cu_Blynk/termostat_contor_ACS712_cu_Blynk.ino line 198
0x402068f4: loop_wrapper() at C:\Users\Victor\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.0\cores\esp8266\core_esp8266_main.cpp line 125
Apparently, it is a Software Watchdog error…
I try to make some changes in program, but I’m confused, because this work fine until this morning…
I’m confused also, because you didn’t answer my question about whether you created a new Blynk account (with new email address and password) or simply generated a new Auth code for your project.
I suspect the latter, but would prefer a straight answer.
You’re using a very old version of the Blynk library, so you should start by updating that and all the other libraries used in your code.
Presumably you’ve recompiled the code to use your new Auth code. You’re using Arduino core 2.5.0 which didn’t exist when version 0.5.0 of the Blynk library was released, so there’s at least one source of incompatibility threre.
Sorry Pete…
I use one device WeMos D1mini
I use two account:
m…@gmail for day by day usage.
a…@gmail for test new project.
With account no 2) (in test) prorgam work well untill this morning, when:
I want to switch to no 1) account for day by day using, get new token and write on same device, Login with no 1) account but not work. Rewrite old token (for no 2) account) Login with no 2) account and not working, From here start my confusion… AND reset token for no 2) account, rewrite, Login… and so on
Close the thread if is not propper… because I found the problem: SENSOR DS18B20 MUST be connected.
When I disansamble and reansamble WeMos board, one wire at sensor was broke…
So problem solve. (at the moment) But one day lost because one wire…