martinberlin / cale-integrations

CALE configurator to add APIs to your epaper screens - PHP/Symfony 4.4
https://cale.es
MIT License
6 stars 0 forks source link

95/99 Add WiFi Manager #17

Closed martinberlin closed 4 years ago

martinberlin commented 4 years ago

The WiFi section of the admin will let you store your WiFi credentials. Not decided if up to three WiFi's like:

  1. home
  2. work
  3. mobile hotspot

Or just leave it free. The idea is that up to two of this can be selected and associated to a Screen. Then the screen configuration will create a JSON consisting in this elements:

{
    "screen_url": "http://img.cale.es/bmp/fasani/5e4d6dd0bd483",
    "bearer": "c2e9fa58eb807bece56f081a8e0411bee7361ea5168a655aa0ba62ea5a318d00",
    "w_ssid1": "myWiFI1",
    "w_pass1": "myPass1",
    "w_ssid2": "myWiFI2",
    "w_pass2": "myPass2"
}

That you can copy from the CALE Admin panel and paste it into the CALE Android app. Then with a single copy / paste operation you will be done with the config, once is send per Bluetooth, ESP32 will restart and connect to the SSID that has stronger signal.

martinberlin commented 4 years ago

WiFi manager went online today at http://cale.es/firmware-bluetooth now working on the Firmware part