-
Notifications
You must be signed in to change notification settings - Fork 136
Overwrite web pages
vitotai edited this page Mar 1, 2018
·
2 revisions
You can upload HTML files to overwrite the pages by file manager. The priority of file served is
- *.gz file @ file system
- file @ file system
- embedded file in the image
Take the homepage(http://brewpiless.local) for example. The default homepage is "index.htm"(not html), so when you access "http://brewpiless.local", BPL will check in sequence:
- index.htm.gz file @ file system
- index.htm @ file system
- embedded index.htm in the image
You can customize the web pages. However, keep in mind that
- ESP8266, using LWIP, allows maximum 5 connections.
- SPIFFS of ESP8266 supports maximum 5 opened files.
- ESP8266 is a small MCU that is nothing near, like RPI.
Therefore,
- avoid multiple files to load in one page.
- use gzip to reduce the file size.
Tom has created a set of elegant frontend of BPL: https://github.com/tommueller/BrewPiLess/tree/master/htmljs/dist Tom's work has been merged into this project: https://github.com/vitotai/BrewPiLess/tree/master/htmljs
Wiki is deprecated. Check doc directory for latest document. https://github.com/vitotai/BrewPiLess/tree/master/doc
- Hardware Setup
- Localization of web frontend
- Flash layout and New Frontend
- Software Installation
- WiFi Setup
- System Setup
- Device Setup
- Using Buttons & Menu
- Temperature Logging
- Cloud Logging
- Beer Profile
- iSpindel Support
- Manual Gravity Logging
- Use with Glycol
- Auto Capping(Spunding)
- MQTT Remote Control
- Pressure Monitor and Control
-
Other URLs
- Clear WiFi setting
- Format file system
- OTA update
- Overwrite pages
-
JSON Commands
- Temperature Unit
- Sensor Calibration
- FAQ