Closed doom369 closed 8 years ago
May it be that server "forgets" the auth token bridge setup after device disconnects/reconnects?
Yes. On Socket close state is erased.
@vshymanskyy Look like we need to extend basic example with "bridge init" on reconnect. WDYT?
I think it's better to remember the configuration.
This means infinite session that is not good.
I can easily move Bridge init to BLYNK_CONNECTED() {} Anyway it was just a shortcoming for token setup in UI, so it should be stable (like dashboard modification)
You are right. But I don't want to store additional data until I migrate to DB to have less problems. So let's go with BLYNK_CONNECTED for now.
http://community.blynk.cc/t/home-domotics/3472