Hi all.
Can I reconfigure WiFi connection without changing BLINK_AUTH_TOKEN?
Before that I thought that the define BLYNK_AUTH_TOKEN “xxxxxxxxxxxxxxxxxxx” was hardcoded token for the device, but it turned out that after reconfigure Device auth_token changes also. How to do it?
It is problem when I use Batch Update of the Datastreams through /external/api/batch/update?token={token}&{pin1}={value1}&{pin2}={value2}, as you know.
Therefore, I need to somehow change the wifi settings (sometimes need it) without changing the auth_token.
If it’s a personal project then it’s probably easier to change the auth token in the API call whenever you have to change the WiFi credentials.
Otherwise it’s probably a case of going back to the old WiFiManager library.
It is not very convenient, the remote client can independently change the Wi-Fi and the main program that monitors the remote device via the API will lose connection to this device. In the old WiFi library, the client will not be able to change the Wi-Fi settings on his own.
Yes, works ok.
By the way using Batch update DataStreem is very convenient and faster for updating a large number of Virtual Pin instead of Blynk.virtualWrite() command.