Pretty sure the 5000ms will not be the reason for the disconnects.
There is problem at least a dozen reasons for ESP’s disconnecting.
Pretty sure the 5000ms will not be the reason for the disconnects.
There is problem at least a dozen reasons for ESP’s disconnecting.
Using the exact same sketch as above, the app repeatedly crashes shortly after starting. When I comment out the setProperty statement, it runs as designed. Seems to me there were comments back in November with same issue…not clear if it was ever resolved.
Ok, (more) details here:
Setup:
@psoro Jose when you created the QR code do you know what version of the Blynk server you were using?
When I scanned the QR it “blew up” my Samsung S3.
Perhaps I should elaborate on the term “blew up” and just to add my S3 is a busy, low memory device.
Blynk app locked up and screen went black. Restarting the app showed that your project had been added to my dashboard. Not actually flashed your sketch yet as all my USB ports are busy at the moment.
Noticed one of my WeMos’ that was attached to my laptop when the QR code was scanned repeatedly showed invalid token in Serial Monitor. Checked the project and the local server, tokens matched despite the message in Serial Monitor.
Refreshed the token in the project and reflashed the Wemos, all fine now.
My understanding is that QR codes are server specific i.e. if you clone a project with server x.x.x and then try to run with server y.y.y it can create problems. Normally a refresh of tokens etc will fix the issue.
For reference my local server is 0.21.5.
Please try the latest iOS app version. There already was a fix with setProperty after 2.5.6
Hi Costas, the Blynk Server was 0.21.3 when I did the QR, I have updated the server right now to 0.21.5:
Please, check it and let me know if your Samsung works fine:
I can’t scan the QR, I don’t know why so I have to click on the link and it works as expected.
Perfect Costas!!!
Just for your knowledge:
The new QR has been made using APP 2.6.0 and Local Server 2.21.5
I’m going to update the first post with this QR
Regards!
Not a good idea to mix and match, 2.6.0 requires 0.21.6.
@psoro this is was very tiny release (few commits only), so I just put jar within same release tag. Fixed. Sorry for confusing.
Eugene, thanks much! I updated iOS app to latest and refreshed QR…sketch with setProperties works as designed with no crashes.
Crazy dinner at home because of Blynk!
I have updated my server and everything should be fine right now.
QR updated
@Costas,
Could you check last QR and URL?
The URL is asking me for more energy despite I’m full of energy…
Edit:
And suddenly the project has appeared…
@BlynkAndroidDev? Any suggestion? Thanks
That is normal, just ignore the Energy top up request.
Hi Blynkers,
I have updated a little bit the code (there was a bug at “UP TO YOU” mode… sorry) and the QR / URL due to new RTC mechanism.
This code is fine for:
Blynk Library: v0.4.4
Android APP: 2.6.0
Local Server 0.21.6
Kind regards!