Skip to content

kreso975/StergoSmartGUI

Repository files navigation

Bootstrap 5

Stergo Smart GUI

  Donate

This is GUI for StergoSmart project running on IoT devices
It compiles index.html and captive.html
It also generates config.json

Everything is setup in settings.ini


Note

For compiling GUI in order to optimize code and code size, it is required to install node module preprocess https://www.npmjs.com/package/preprocess
Inside your project repository
$ npm install --save preprocess

Github https://github.com/jsoverson/preprocess

in build.js there is a setup for creating .gz, default for windows is 7zip external,
but there is a code to use node library for creating .gz
check the source code.

For upload use SPIFFS or LittleFS
Copy data folder to your Arduino project

Tip

In file settings.ini Change:
device = 'LS001'; - WHERE LS001 is Device Type onNasOrDevice = 'production'; // production || development

Important

Build Captive and index:
command: node build

rename .env_Template to .env
.env is ignored for commit so you can put sensitive data there. Use same variable names that needs to be changed

Screenshots of GUI

Dashboard

Weather Dashboard Weather Clock Dashboard Switch Dashboard

Info & Log

Info & Log

Publish

Publish

WiFi

WiFi WiFi available networks

Settings

Settings

Captive portal

Captive portal