Repository navigation
RBgrid v1.1.4
A fix release on top of v1.1.3.
Fixed
- Renaming a point could make it disappear after a restart on ESP32 chip revisions before v3. The point and its history then dropped out at the next restart. Point names are now saved safely. If you held off renaming points on v1.1.3, you can rename them again after updating.
- Mains voltage and frequency now come only from a module that actually sees mains. Before, a module whose voltage inputs aren't wired (for example an STD-U3I3 used for currents only) could override them, and the frequency read about 45 Hz.
Improved
- Adding a module: a configured module that isn't answering, and that no metering point depends on, is now shown as an empty slot. The app no longer stops on it.
- Web app 1.1.4:
- clearer texts for deleting a point, MQTT with no broker set, and history;
- the empty-slot step when you add a module.
- Its source is in
webapp/, and the built app is attached asrbgrid-ui_v1.1.4.zip.
Full list: CHANGELOG.md. User guide: webapp/docs/user/.
Files
| File | What it is |
|---|---|
main_release.bin |
Application image. Use it for an over-the-air update from the app (Settings → Hub firmware) or at 0x20000 for a USB flash. |
bootloader.bin, partition-table.bin, ota_data_initial.bin |
The other three files for a USB flash of a blank hub. |
rbgrid-ui_v1.1.4.zip |
The web app for the hub: kit/ + ui-manifest.json (built from webapp/ in this tag). |
THIRD_PARTY_LICENSES.md |
Open-source packages bundled in the web app. |
SHA256:
0a68c223119c6e0ab5d35306f6aceed77b8a584b7f819c9445c9bfd9de6dca83 main_release.bin
b3a5109c573d062861e79b5c765fcfb001257e304c8065fbe91eec111705f2d2 bootloader.bin
8fbeacb18a26ac27c6500c00c4dfcd5ee5aac4c237312174d0cce5b4781e38ce partition-table.bin
7d2c7ac4888bfd75cd5f56e8d61f69595121183afc81556c876732fd3782c62f ota_data_initial.bin
65aed92ed27b614ec4809885f87ea92ae56624fc647cc81c69b7199eb95771e4 rbgrid-ui_v1.1.4.zip
Update
- Hubs on v1.1.x:
- Update over the air from the app (Settings → Hub firmware) with
main_release.bin. Wi-Fi, settings, points and history are kept. - Then install the new web app (below).
- Update over the air from the app (Settings → Hub firmware) with
- USB flash (ESP32, 16 MB):
python -m esptool --chip esp32 -p <PORT> -b 460800 write_flash --flash_mode dio --flash_size 16MB --flash_freq 40m \
0x1000 bootloader.bin 0x10000 partition-table.bin 0x17000 ota_data_initial.bin 0x20000 main_release.bin
- Flashing the four files as above keeps the hub's settings, Wi-Fi and history.
- To start clean, run
python -m esptool --chip esp32 -p <PORT> erase_flashfirst. - A clean (or new) hub starts its own Wi-Fi
rbgrid-xxxx(setup passwordRBGRID123). Openhttp://192.168.4.1/, choose your home Wi-Fi and enter its password.
Install the web app on the hub
Unzip rbgrid-ui_v1.1.4.zip, then:
HUB=http://<hub-address>
cd kit
for f in $(find . -type f | sed 's|^\./||'); do
curl -sf -X POST "$HUB/api/system/ui-upload?path=$f" -H 'Content-Type: application/octet-stream' --data-binary "@$f" || { echo "upload failed: $f"; exit 1; }
done
curl -sf -X POST "$HUB/api/system/ui-commit" -H 'Content-Type: application/json' --data-binary @../ui-manifest.jsonIf you have set an API token, add -H "Authorization: Bearer <token>" to both calls. Then open http://<hub-address>/. You can also use the hosted app at https://webapp.rbgrid.io.
Validation
The images in this release were validated on hardware (ESP32-WROVER, 16 MB, chip revision v1.1):
- over-the-air update from v1.1.3;
- USB flash of all four files;
- API contract 96/96;
- point renames keeping the point across restarts;
- mains frequency 50 Hz with a current-only three-phase module on the bus;
- the web app on the hub (all screens).
A build from source produces a different SHA256 than these images: the build embeds its date and time. That's expected.