iotappstory / ESP-Library

Software Distribution and Management Over the Air
GNU Lesser General Public License v2.1
124 stars 35 forks source link

Questions about Version 2.0 #50

Closed AlexZibin closed 6 years ago

AlexZibin commented 6 years ago

Hi Onno, After brief testing of new version, I have some questions: 1) Now in initial Wifi connection webpage we cannot select a network from list. Only typing from scratch. Old version was able to show a dropdown list of available networks. This was very convenient. Are you planning to make the same feature in ver. 2.0? 2) After connection and redirection, new webpage asks us to enter the login+pwd for IOTAppstory account. Previous version (with access code generation) was safer. Now login and password must be told to each connected device - is this safe enough?

Onno-Dirkzwager commented 6 years ago

Hi AlexZibin, good questions!

  1. initial Wifi connection Yes this feature will return.

  2. code generation & safety We need you to login your "browser" to IAS so it can perform a few tasks for us over httpS in the background:

During initial activation:

Basicly do what you would previously do yourself in a browser

After activation / normal use

Previously most of the above was saved on and done by your esp. With lib 1.1.0 beta it became clear that

Once your device is registrered you only need to be logged in to use certain pages like the projects settings in Configuration Mode. (you can test this by going to our page, logout, browse to config etc.)

So a lot has changed this was only a small part of it. We are working on the documention and hope this will help when we release it.

I hope this a least answers your questions.

BTW Checkout / update to this virginsoil demo And goto to your app settings in config mode.

AlexZibin commented 6 years ago

Hi Onno,

Thank you for complete explanation of background processes! I also tested virginsoil demo, it's really impressive.

BTW, I managed to break a Number Added Field - I entered more than 8 digits in it. Please check its validation routine. Here's the value reported by ESP after saving the config:

Processing added fields
ID | LABEL | LEN | EEPROM LOC | DEFAULT VALUE | CURRENT VALUE | STATUS
03 | Number | 008 | 0528 to 0538 | 6 | 1234567893я?Ѕ | OVERWRITTEN

And again, thank you very much for your impressive work and prompt reply!

Onno-Dirkzwager commented 6 years ago

AlexZibin, glad you like it! And thankyou for testing and bringing up the nr of digits bug.

Onno-Dirkzwager commented 6 years ago

AlexZibin, the list of available networks is back in! Redownload the master to update.

AlexZibin commented 6 years ago

Wow! That's great! Thank you Onno!

пт, 6 апр. 2018, 23:33 Onno-Dirkzwager notifications@github.com:

AlexZibin, the list of available networks is back in! Redownload the master to update.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/iotappstory/ESP-Library/issues/50#issuecomment-379369349, or mute the thread https://github.com/notifications/unsubscribe-auth/Aj2jbPCzIW9v2IQSXjZZPlWomXr5-ro7ks5tl9EhgaJpZM4S9kQ5 .