
Half Decent Scale documentation
18 February 2025
1. Getting started
Basic use of the Half Decent Scale
Powering on and off
To turn the scale on:
To turn the scale on, with bluetooth disabled:
To turn the scale on, in SETUP mode:
To turn the scale off:
Weighing and Timing
To TARE (reset weight to zero)
To use the timer:
To weigh while plugged into USBC:
Meaning of the icons
The Bluetooth graphic
The battery icon
Sleep mode
Other Hardware Topics
Rubber feet
Reset button
For more information:
Interesting features of the Half Decent Scale
Some interesting things about the Half Decent Scale, that we think differentiate it significantly from other scales:
The Half Decent Scale (HDS) menu options, explained
This document explains all of the menu points in the "HDS Setup" section of your Half Decent Scale (HDS).
How to access HDS Setup
Read on for menu options
Menu options until firmware 3.1.14
1. Navigation & system
2. Device settings & customization
3. Connectivity & Bluetooth (BLE)
4. WiFi settings
Note: Requires a power cycle (off/on) after activating to broadcast the local hotspot and display the WiFi icon.
5. Power & performance
Menu options from firmware 3.1.14 onwards
3.1.14 replaces the long flat Setup menu with a shallow category-based menu.
The main menu groups settings under:
>Note that if you see an O behind a setting, it means it's toggled OFF. If you see an X behind a setting, it means it's toggled ON.
Here's the options you get if you select one of the above menu points:
Scale
Connections
Display
Power
Info
Exit
The Half Decent Scale (HDS) care guide
While your HDS is built to withstand the occasional splash of water that happens at a coffee bar, it remains a high-precision electronic instrument. Follow these four pillars of maintenance to ensure it keeps working and stays accurate for years to come.
1. Daily cleaning
The outer surface of the scale is made of tempered glass, meaning it is designed for quick cleanup.
2. The magnetic USB port
The charging interface is highly moisture-tolerant, but "tolerant" doesn't mean waterproof.
3. Moisture & internal integrity
The internal circuit boards (PCBs) have a protective coating, but direct liquid ingress should still be avoided.
4. Protecting the load cell
The load cell is the "brain" that measures weight. While it handles humidity well, direct saturation (soaking) can drift your calibration.
Pro Tip: Oxidation is the silent killer of electronics. A quick 5-second wipe after your morning brew session is the best way to prevent long-term damage to the magnetic charging pins.
2. Setup
How to weight calibrate the Half Decent Scale
This tutorial will show you how to weight calibrate the Half Decent Scale, so that it is more accurate for your setup.
You will need a calibrated weight of 50g, 100g, 200g or 500g.
To go into SETUP MODE:
To Calibrate your scale:

How to use WiFi on the Half Decent Scale (HDS)
1. Enable WiFi on your Half Decent Scale
2. Connect to the Half Decent Scale with your browser
a) If you did not configure the Wi-Fi settings before, Half Decent Scale will create its own Wi-Fi network.
b) If you have previously configured the WiFi settings for HDS to connect to your existing WiFi network, check that the chain link icon (⛓️) is displayed next to the Bluetooth indicator on the scale display.
Note that if you don't manage to connect to the scale with your mobile phone, try changing it to aviation mode. Then, re-try.
3. Optional: Connect the scale to your home network
Note that you should keep the prefilled address unless the scale shows a different current IP. If it does, enter the new IP address before clicking on "Continue."
If the connection Fails: The scale keeps the previous Wi-Fi settings and attempts to reconnect to the original network. Rejoin that network and reopen the scale page.
Note that if the original network is unavailable, connect to DecentScale, using password 12345678, and open http://192.168.1.1. Enter the network name and password manually.
How to set up HDS Grind by Weight
HDS Grind by weight lets your Half Decent Scale (HDS) automatically control a grinder through a compatible Tasmota smart plug (picture on the right).
Once everything is set up, the scale can turn the grinder plug on, monitor the weight of the coffee being ground, switch the grinder off near your target dose, and prepare itself for the next dose.
This guide walks through the setup in simple steps.
What you need
Before starting, make sure you have:
The required smart-plug firmware is available from Decent Espresso's tasmota-auto-doser project.
Step 1: Set up the smart plug
Install the required firmware on your Tasmota smart plug.
Then connect the plug to the same Wi-Fi network that your HDS scale will use.
For now, keep your grinder's physical power switch OFF. You will test the system safely before allowing the grinder motor to run.
Step 2: Enable Grind by weight on the scale
On your HDS scale:
The scale identifies the plug using its MAC address. Its hostname and IP address are only stored to help find it faster later.
Step 3: Do the first test with the grinder switched off
Do not turn on the grinder's physical switch yet.
This first test confirms that the scale and smart plug are communicating correctly without actually starting the grinder.
After leaving the menu, the scale should eventually display:
Tare to arm
Now:
Only turn on the grinder's physical switch after this test works reliably.
Step 4: Choose your target dose
The default settings are:
The most important setting for normal use is Target g.
For example, if you normally want to grind 18 grams of coffee, set:
Target g = 18.0
When Grind by weight is enabled, you can open its menu from the normal weight screen by holding both buttons for about 500 ms.
Step 5: Understand the Safety setting
The grinder does not normally switch off exactly at the target weight.
Instead, the cutoff is calculated as:
Target weight − Safety weight
For example:
15.0 g target − 2.0 g safety = 13.0 g cutoff
This means the grinder is told to stop at about 13 g.
Why so early?
Because coffee grounds can continue falling into the cup for a short time after power is removed from the grinder. The earlier cutoff helps the finished dose land closer to the actual target.
You generally do not need to constantly adjust this yourself. The system can learn a better safety value from normal completed doses.
Step 6: Make your first real dose
Once the dry test is working correctly, turn on the grinder's physical switch.
For the first grind:
That completes one Grind by weight cycle.
Important — grinders with a latching physical switch:
A latching switch can stay in the ON position even after the smart plug cuts power. Move the grinder's physical switch back to OFF before returning the empty cup to the scale. Otherwise, when Grind by weight rearms and the smart plug turns on again, the grinder can start immediately.
Step 7: Prepare for the next dose
You do not normally need to press tare after every grind.
After removing the full dosing cup:
With the default settings, the cup needs to remain stable around zero for about one second before the system rearms.
Remember: when the system rearms, the smart plug can supply power again. If a latching grinder switch has been left ON, the grinder may start as soon as the plug rearms.
What the display messages mean
Here are the most useful messages to know.
WiFi wait
The scale is waiting for Wi-Fi.
Check that the scale can connect to its saved network.
Plug wait
The scale cannot currently reach the selected smart plug.
Check that the plug is powered and connected to the same network.
Tare to arm
The scale has found the plug, but the grinder is being kept safely off.
Put the empty dosing cup on the scale and press tare.
Zero wait
The scale is waiting for a stable zero reading.
Leave the empty cup alone until the reading settles.
Ready
Everything is armed and ready to grind.
The plug relay is ON.
If your grinder uses a latching physical switch, remember that leaving that switch ON can make the grinder start as soon as the system reaches this state.
Grinding
The scale has detected a normal-looking increase in coffee weight.
Let the grind continue.
Stopping
The scale has sent the OFF command and is waiting for confirmation.
Remove cup
The dose has finished.
Remove the filled dosing cup.
Await zero
The scale is waiting for the empty cup to return.
Before returning it, make sure a latching grinder switch has been moved back to OFF.
Then put the empty cup back and leave it still.
Busy
Another scale or client is already using the smart plug.
Disconnect the other client or restart the plug.
Error
Grind by weight has entered its fail-safe state.
Check the smart plug and reconnect Grind by weight.
How automatic learning works
Grind by weight can adjust its Safety value automatically.
Suppose your target is:
15.0 g
but your finished dose repeatedly ends at:
15.3 g
The system can increase the safety value for future doses so that it switches the grinder off slightly earlier.
It uses the most recent three valid recommendations when calculating the adaptive value.
It will avoid learning from unusual doses, such as when:
This helps prevent a mistake or unusual grind from affecting future doses.
If the scale will not rearm
After a dose, Grind by weight needs three things before it becomes ready again:
The default zero-hold time is 1000 ms, or one second.
If the scale still will not rearm, make sure the empty cup is actually close to zero and is sitting completely still.
Before trying to rearm, also make sure a grinder with a latching physical switch has been switched back to OFF.
If the scale says Plug wait
The selected plug cannot currently be reached.
Check:
If the plug's IP address has changed and the scale cannot find it again automatically, open the menu and run Select Plug again.
If the scale says Tare to arm
This is normally a safety feature, not a fault.
The plug connection is working, but the grinder will remain off until you perform a deliberate tare.
Place the empty dosing cup on the scale and press tare.
Automatic startup or recovery tares do not arm the grinder.
Important safety points
A few rules are worth remembering.
Always perform the first test with the grinder's physical switch off.
The scale controls power to the smart plug. It does not operate the grinder's physical switch.
>If your grinder has a latching physical switch, always return that switch to OFF after the plug stops the grinder and before returning the empty cup.
Cutting power at the smart plug does not change the position of a physical latching switch. If that switch remains ON, the grinder can start immediately when the empty cup is returned, the system rearms, and power is restored.
Also, once the display says Ready, the scale only knows that weight is being added. It cannot tell whether that weight is coffee or another object.
If you change the cup, move the setup, or place something different on the scale, tare again before grinding.
The system is also designed so that losing the active plug connection causes the plug to switch off rather than continue running.
Everyday workflow
Once everything is configured, normal operation is simple:
1. Put down the empty cup.
2. Tare if the scale asks you to.
3. Wait for Ready.
4. Start the grinder.
5. Let the scale cut power at the target.
6. Remove the filled cup.
7. If the grinder has a latching switch, move it back to OFF.
8. Empty and return the cup.
9. Wait for Ready.
10. Repeat.
The key safety habit is simple:
Grinder stops → physical switch OFF → empty cup returns.
After the initial setup, most of the networking, cutoff calculation, adaptive safety, and rearming happens automatically in the background.
3. Firmware
What's new in Half Decent Scale (HDS) version 1.1
We have been listening to customer feedback during the beta as well as the v1.0 release of Half Decent Scale. So v1.1 brings substantial improvements on all fronts.
Here's what's new in Half Decent Scale v1.1
1. A new design of the outer shell
The outer shell of the Half Decent Scale has been redesigned to address several teething issues that were reported by users of both, the beta and v1.0.
2. Redesigned charging connector
Previous USB charging connector was causing measuring irregularities when plugged in. It was also a potential culprit for water damage.
NOTE: The new magnetic cable is too large for Euan Lake's custom drip tray and you should buy the flexible USBC cable sold on our website for this purpose.
3. Improved circuit board design
Some issues with the circuit board were addressed and resolved in v1.1 as well. Among other things, HDS sometimes didn't properly sense battery capacity, and it didn't properly announce itself over USB.
4. New laser etching
A new laser etching on the scale now helps quickly identify your HDS version.
1.
Use of high quality USB Charger is recommended for minimising weighing interference when HDS is being used while connected to a charger.
2.
Previously we mistakenly mentioned new bright metal polish for the casing. The color remains identical to the version 1.0.
Half Decent Scale Updater tool
Find the tool on our support pages.
The Half Decent Updater strives to simplify the firmware updating procedure for your Half Decent Scale.
How to Update Your Half Decent Scale
What You Need
Step 1: Pick a Version
Open the updater page and choose the version you want from the Version dropdown. If a second dropdown called PCB Variant appears, check the label on your scale's circuit board and pick the matching option.
Step 2: Download
Click the Download button. A file will be saved to your computer — remember where it goes (usually your Downloads folder).
Step 3: Load the File
Click Choose File and select the file you just downloaded. A green message will confirm the file was loaded successfully.
Step 4: Connect Your Scale
Click Connect Device. Your browser will show a popup asking you to pick a device — select your scale from the list and click Connect.
NOTE: Older versions of scales will show up as:
wchusbserial
or on Windows:
COMx (where X is a number from 1 to 10)
Newer versions will show up as:
Half Decent Scale
Step 5: Update
Click Flash Firmware and wait. You'll see a progress bar — don't unplug the scale or close the page while it's running.
When the message "Flashing completed successfully!" appears in green, you're done. Your scale will restart on its own with the new software.
Something Not Working?
How to use USBC to upgrade the firmware on your Half Decent Scale
Looking for v3.0.0 upgrade instructions?
While we recommend that you use wifi to update your scale's firmware, there are times when using USBC is more convenient or necessary.
For example, if you upgraded to beta firmware that had a big bug in it, you might have "bricked" your scale and it is unable to even power up. USBC firmware updating will bring your scale back to life.
Here is a video showing the entire process:
Here are the steps:
4. For developers and makers
Programmers guide to the Half Decent Scale
* Over bluetooth, these commands should be sent as binary
New 'heartbeat' feature solves connectivity issues with Android 9 and older.
Commands that HDS can receive(v2.5.8)
03 0F TARE (with checksum)
(please read the note above regarding the heartbeat feature)
03 0A 00 Turn off oled
03 0A 01 Turn on oled
(please read the note above regarding the heartbeat feature)
03 0A 02 Power off
03 0A 03 00 Exit power mode, normal oled brightness
03 0A 03 01 Enter power mode, lowest oled brightness
03 0B 00 Timer stop
03 0B 02 Timer reset
03 0B 03 Timer start
03 1A 00 Manual Calibration
03 1A 01 Smart Calibration
03 1B WiFi OTA
03 1D 00 Set sample to 1
03 1D 01 Set sample to 2
03 1D 02 Set sample to 4
03 1E 00 00 Hide Menu
03 1E 00 01 Show Menu
03 1E 01 00 Hide About info
03 1E 01 01 Show About info
03 1E 02 00 Hide debug info
03 1E 02 01 Show debug info
03 1F Reset
03 20 00 Disable Weight via USB
03 20 01 Enable Weight via USB
03 22 Send Battery voltage data once
Weight:
data[0] = modelByte;
data[1] = 0xCE; // Type byte for weight stable
data[2] = weightByte1;
data[3] = weightByte2;
data[4] = 0x00;
data[5] = 0x00;
data[6] = calculateXOR(data, 6); // Last byte is XOR validation
Button event:
data[0] = modelByte;
data[1] = 0xAA; // Type byte for weight stable
data[2] = buttonNumber;//1 for O button, 2 for ▢ button
data[3] = buttonShortPress;//1 for short press, 2 for long press
// Fill the rest with dummy data or real data as needed
data[4] = 0x00;
data[5] = 0x00;
data[6] = calculateXOR(data, 6); // Last byte is XOR validation
Power off event:
data[0] = modelByte;
data[1] = 0x2A;
data[2] = buttonNumber;
data[3] = buttonShortPress;
data[4] = 0x00;
data[5] = 0x00;
data[6] = calculateXOR(data, 6); // Last byte is XOR validation
Battery Voltage:
data[0] = modelByte;
data[1] = 0x22;
data[2] = voltageByte1;
data[3] = voltageByte2;
data[4] = 0x00;
data[5] = 0x00;
data[6] = calculateXOR(data, 6); // Last byte is XOR validation
Debugging via USB
You can connect a USBC cable and used a program such as Serial with settings of 115200,8,N,1 to watch the scale in operation. This makes debugging extremely easy.
Introducing Half Decent Scale web apps
Half Decent Web Apps
This collection showcases three web applications built with plain JavaScript, HTML, and CSS. They demonstrate various functionalities available through Web Bluetooth Low Energy (Web BLE), Wi-Fi, and Web USB. These apps will open up new ways to interact with your Half Decent Scale. They provide powerful tools for quality control, precise weighing, and simplified dosing directly from your web browser.
Experience the Apps: Live Demos
Get hands-on with our web tools. They work in desktop and laptop browsers and on Android phones and tablets. On iPhone and iPad, they work in Safari once you install the free Beacio app, which adds Bluetooth to Safari. Any device can also connect over the scale's Wi-Fi.
Weigh and Save: Your go-to app for general weighing tasks. Precisely measure items within a set timeframe and easily export the results for analysis or record-keeping.
Quality Control Assistant: Perfect for ensuring consistency. This app allows you to repeatedly weigh the same items, simplifying data tracking and quality checks.
Dosing Assistant: Simplify your dosing process with an intuitive interface designed for achieving accurate and repeatable measurements.
Cocktail Maker : This interactive app will guide you through all the steps of making classic cocktails from the famous "PDT Cocktail Book."
Getting Started: How to Connect & Use
Connecting your Half Decent Scale to our web apps is straightforward. Follow these steps:
It is essential to check the browser. On a computer or Android, use the latest version of Google Chrome (version 136 or newer) or Microsoft Edge (version 136 or newer). On iPhone or iPad, install the free Beacio app and use Safari: on iOS only Safari supports extensions.
Navigate to one of the app links provided above.
Put your Half Decent Scale into Bluetooth pairing mode.
Once connected, the "Connect" button will turn red and change its text to "Disconnect." You will also see live weight updates from your scale displayed on the screen.
Click the "Start" button and follow the on-screen instructions specific to the app you're using.
Using USB-C Connection :
Our apps also support a direct USB-C connection. If you choose this method:
Use the WIFI Connection (firmware 3.0.0 required) :
Half Decent Scale now uses WiFi for additional features and connectivity.
You can enable or disable Wi-Fi there and view the current Wi-Fi details.
HDS will open its own WiFi, called "Decent Scale." It is protected with a password: '12345678.'
Connect HDS to your home WiFi (2.4 GHz) by going to the hds.local page and entering your WiFi ID and password.
Restart the scale to apply the new settings. Store your WiFi settings correctly and keep your HDS in signal range. If you don't, it will return to its own WiFi (Decent Scale), allowing you to change the settings again if needed.
Purpose & Audience
These web applications serve two main goals:
These apps are ideal for:
For Developers: Technical Deep Dive
Code Structure & Key Modules
The codebase is designed to be understandable and adaptable. The "Weigh and Save" and "Dosing Assistant" features boast a modular structure, while "Quality Control Assistant" uses a monolithic structure, offering a potentially simpler overview of function interactions.
Key JavaScript modules and their roles:
scale.js: Handles BLE protocol, communication with the Half Decent Scale (HDS), and core dosing mode functionality.constants.js: Stores pre-programmed 10-byte messages for HDS communication and various threshold values.state-machine.js: Implements the core logic for "Dosing Assistant" and "Quality Control Assistant" using a Finite State Machine model.export.js: It manages the functionality for exporting weight readings and evaluation data as CSV or JSON files.presets.js: Allows users in "Dosing Assistant" and "Quality Control Assistant" to save target weights as presets, cached locally by the browser.ui-controller.js: Manages updates and changes to the HTML interface.modules/connection : Contains the specific implementations for BLE and USB connection methods.modules/reconnecting-websocket.js/ : A simple module to help you reconnecting websocket automatically, recommend to use if the wifi strength is not strong enough.Refer to the Programmer's Guide to the Half Decent Scale. for comprehensive details on the scale's communication protocols.
Development Setup
Follow these simple steps to get a local copy up and running:
web_apps Directory: GitHub does not offer a direct download for subdirectories. Use a specialized tool for this. Here are a couple of options:web_apps directory on GitHub: https://github.com/decentespresso/openscale/tree/main/web_apps cd web_apps/dosing_assistant
Since these are web applications using Web BLE, they need to be served over https:// or http://localhost
You can use a simple NPX HTTP server or any other local server you prefer.
http.server: npx http-server -p 8000
Then, open your Chrome browser and navigate to either:
http://localhost:8000/weigh_save.html
http://localhost:8000/dosing_assistant.html
This project is open source, and we strongly encourage developers to explore, learn from, and contribute to the codebase.
HDS Custom Build - how to use it
We now offer a new service for Half Decent Scale, called HDS Custom Build. This lets you choose between features and approved add-ons for your scale.
The way this works is that you simply choose the features and add-ons you want on your scale. HDS Custom Build then takes care of the technical details, prepares the software, and gives you one file to install by USB. Features that are required for your choices to run are added automatically.
Note that only add-ons and features approved by us can be added. Community-created contributions first have to go through a review process before they're approved. Also, you need to be on firmware 3.1.14. to be able to use this feature.
Here's how to get started:
Step 1: Go to the HDS Custom Build page
You can find the HDS Custom Build page here: https://decentespresso.github.io/openscale/custom-build
Step 2: Choose your firmware version
HDS Custom Build was introduced starting at firmware version 3.1.14. But if you have an older firmware version, don't worry. Just choose the firmware version you want in the dropdown, and your scale will be upgraded to it once you install the features and add-ons you want.
Step 3: Choose how to upgrade
You can either upgrade using WiFi or USB-C. Choose which option you prefer. To learn how to enable WiFi on your scale, read this document. For USBC, read this document.
Step 4: Choose the features you want
Scroll down a little now and choose from the available features those that you want to run on your scale. For example, you can add WiFi, Energy Saving features or wireless updates to your scale. Just hover over the "i" on the right-hand side of the feature titles to see a description of what the feature does.
Step 5: Choose from the available plugins
Scroll down to the bottom, and you'll find a list of plugins that you can select for use on your Half Decent Scale. Again, just hover over the "i" to see a description of what they do.
Note that some plugins cannot be used together. For example, Pressensor and Grind by Weight don't work together. Also, choosing a plugin will automatically put checkmarks into all the features that are needed to run it. So don't be surprised if by choosing Grind by Weight, WiFi and other features are also suddenly checkmarked.
In other words, the service automatically checks if the plugins and features you want to use work together.
Step 6: Reuse or prepare
If someone else used the same combination of features and plugins you chose before, you can now simply download the .zip file.
If you're the first to use this combination, click "Request build" on the right-hand side now. HDS Custom Build will then prepare a new .zip file for download.
Step 7: Save the build (WiFi-only)
Now, if you chose WiFi, click on "Save build." If you chose USB, go to step 9.
Step 8: Add your scale (WiFi-only)
If you selected to download the build via WiFi, you now need to pair your scale to the website. In order to do so:
Step 9: Download and install
Via USB Updater
You can now simply download the .zip file and use HDS Updater to install it by USB.
Via WiFi
Now that you paired your scale to the website, you can choose the build below, select your scale and click "assign to selected." That will assign the chosen build to your selected scale.
Now, on your scale, go into the menu again. Select Connections > Custom Build. Now, the scale will check for updates. Hold ▢ to update and wait for the update to finish.
Note that if you update the firmware using another updating option, your custom build will be erased and you'll have to simply re-install it. You can use the same build that you downloaded before. If you changed your firmware version (be it downgrade or upgrade), you'll have to re-create the build using HDS Custom Build and use the new file.
STL CAD files for the Half Decent Scale
Here are the STL CAD files for the Half Decent Scale. With these, you can print your own case parts.
5. More about the scale
Blog postings:
#decentscale #toc #manual #overview









































