Half Decent Scale firmware v3.1.12
This release finalizes the HDS sleep/wake, ADS1232 startup, and calibration fixes tested in the v3.1.12-preview.1 and v3.1.12-preview.2 builds.
What changed
- Fixed a problem where the scale could show stuck
0greadings after waking from sleep. - Improved wake-up behavior so the scale starts weighing normally again after Sleep or Soft Sleep.
- Improved startup zeroing so the scale waits for wake buttons to be released before doing its boot tare.
- Improved load-cell startup handling for more reliable readings after boot and wake.
- Improved calibration handling, including support for signed calibration values.
- Calibration no longer gets blocked just because USB is attached. The scale now shows a short warning, then lets you continue.
- Reduced confusing shutdown error messages when WiFi was already off.
- Includes the web app and firmware cleanup already tested in the preview builds, with no intended BLE, USB, WebSocket, or web app protocol changes.
Downloads
Use HDS_FW_v3.1.12.zip from this release. The ZIP contains:
firmware.binbootloader.binpartitions.binlittlefs.bin
Technical notes
- HDS now uses the hardened
decentespresso/ADS1232_ADCdriver fromdecentespresso/ADS1232_ADC. - The final firmware pins ADS1232 to commit
24cd10d3037c878f751a057377303598a00f977e. - That commit is based on the preview.2 ADS hardening commit
08e3a6bf03722f467a2f8a76d88111923bd55477. - The ADS hardening includes polling, startup, wake, timeout, lifecycle, diagnostics, raw sample, and tare handling improvements.
- Soft Sleep wake now powers ADS back up, refreshes the ADS dataset, and resumes weighing without auto-taring.
- Boot tare now uses a boot-only fresh tare after startup input/menu conditions are safe, instead of the old
scale.start(..., true)startup tare. - Calibration accepts signed calibration factors where valid.
Credits
- The stuck
0gsleep/wake fix was contributed by Sofronio in PR #75. - Deep-sleep follow-up handling was added in PR #77.
- ADS1232 startup and wake handling was finalized in PR #80.
- Mainline cleanup included since preview.2 came from PR #78.
References
- Preview 1: https://github.com/decentespresso/openscale/releases/tag/v3.1.12-preview.1
- Preview 2: https://github.com/decentespresso/openscale/releases/tag/v3.1.12-preview.2
- ADS1232 hardening: decentespresso/ADS1232_ADC#7
- Full changelog: v3.1.11...v3.1.12