Man weighing coffee beans while reading a guide

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:

  • Hold down the O button

  • To turn the scale on, with bluetooth disabled:

  • Hold down the ▢ button

  • To turn the scale on, in SETUP mode:

  • Hold down both the O and ▢ buttons
  • In setup mode, you can upgrade your firmware via wifi , weight calibrate your scale, and see what firmware and PCB version you have.
  • To see the PCB and Firmware version, while in SETUP mode:
  • tap the O button to choose "About"
  • then tap the ▢ button to select "About"
  • then tap the ▢ button to leave the "About" section
  • Note: you will need to know your PCB version if you want to upgrade your firmware.

  • To turn the scale off:

  • double-tap the O button
  • If the scale is currently connected to an app, there is an additional safety to prevent accidentally turning the scale off.
  • A message will appear on the scale indicating you need to quickly tap the ▢ button to force a power off.
  • Usually, it is better to exit the app first, and then turn the scale off.


  • Weighing and Timing

    To TARE (reset weight to zero)

  • quickly tap the O button
  • Note: the O button is by disabled by default, when you are connected to an app. This is so the app can decide what functionality the O button has (if any).

  • To use the timer:

  • When the timer is off, tap the ▢ button once to turn the timer on and start counting seconds.
  • When the timer is running, tap the ▢ button once to stop the timer at the current time.
  • When the timer has been stopped, tap the ▢ button once to turn the timer off.
  • Note: the ▢ button is by disabled by default, when you are connected to an app. This is so the app can decide what functionality the ▢ button has (if any).

  • To weigh while plugged into USBC:

  • We provide you with a USBC cable that minimally affects the weight accuracy of the scale
  • If you use your own cable make sure you use a very flexible cable. Avoid solid-core cables; a woven cable is recommended
  • Make sure there is no tension between the cable and the scale, or weight accuracy will be affected.
  • If you're using a replacement drip tray that holds the scale countersunk, here is what that looks like.
  • Make sure that excessive water does not splash on the USB cable, as that can cause the power to short out. The USBC cable connector can also rust internally. If this happens, you can replace the USBC cable.


  • Meaning of the icons

    The Bluetooth graphic

  • If the B graphic is blinking, then the scale is ready to accept a bluetooth connection from an app
  • If the B graphic has a line struck through it, then Bluetooth is disabled (you probably powered up with the ▢ button)
  • If the B graphic is on but not blinking, then the scale is connected via bluetooth to an app
  • Note that on iOS, even if you exit your app, the Bluetooth connection might still be maintained.
  • This is a feature of iOS.
  • If you want to switch between scale-using apps on iOS, and you experience bluetooth connection difficulties, you might want to turn the scale off and back on before launching the new app.

  • The battery icon

  • On the bottom right, the amount of charge in the battery is displayed
  • If you plug the scale into USB, the icon will have a small lightning bolt in it.
  • When plugged into USB power, the battery is not used at all in the functioning of the scale, which greatly preserves the lifetime of the battery.
  • When the scale is powered off, and you plug USB in, you will see a large battery icon, indicating the voltage available from the battery, as well as the battery charge percentage.
  • The battery icon bars indicate:
  • No bars: 0%–5%(3.400V–3.435V)
  • 1 bar of charge:6%–25%(3.435V–3.575V)
  • 2 bars:26%–50%(3.575V–3.750V)
  • 3 bars:51%–75%(3.750V–3.925V)
  • 4 bars(full):76%–100%(3.925V–4.100V)

  • Sleep mode

  • If you are connected to an app, the app might sometimes put the scale to sleep. The display turns off but the app is still bluetooth connected to the scale.
  • The app can also quickly bring the scale out of sleep, with the bluetooth connection maintained
  • In sleep mode, the scale uses dramatically less battery power
  • However, the battery is still being used in sleep mode, and your scale will eventually run out of power
  • Generally, in sleep mode, the scale can last one week without being recharged
  • If your scale is in a permanent location (ie, you are not moving it around) we recommend you leave the scale permanently connected to USB power.


  • Other Hardware Topics

    Rubber feet

  • The rubber feet on the bottom of the scale are 1mm thick. This is fine for most uses.
  • If you want to mount your scale into another chassis (for example, into a replacement drip tray) the position of the rubber feet can be used to lock the scale in correctly. In this case, you might want to peel off the 1mm feet and install 2mm rubber feet instead.

  • Reset button

  • Usually, you will only need to use this button if you have upgraded the scale's firmware via USBC.
  • On the bottom of the scale, there is a hole in the chassis with a push button behind it.
  • Using a screwdriver, you can push this button
  • This button "reboots" your scale. No data is lost.



  • For more information:

    Half Decent Scale Manual: table of contents

    Interesting features of the Half Decent Scale

    half decent scale
    half decent scale

    Some interesting things about the Half Decent Scale, that we think differentiate it significantly from other scales:

  • Fully compatible with the Full Height Decent Scale, so it's already supported by a wide variety of software: Beanconquerer | Act Four | Filtru | Espresso Log | Smart Espresso Profiler | Pressensor | PyDecentScale | Color bar manager | de1app
  • A wide variety of free web apps from Decent, which work using Chrome on desktop computers and Android when using bluetooth, USB or wifi, as well as on iOS devices (iPhone/iPad) when using wifi weighing. The apps we provide:
  • Timed weighing, with export to CSV
  • Helpful app for dosing to the same goal weight, over and over (such as 18g beans doses for espresso)
  • Quality Control weighing of different samples of the same object, to ensure weight consistency (within stated tolerances) of many objects
  • Barcode enabled weighing: scan an object, then weight it, and both are saved to a CSV, such as partially consumed liquor bottles.
  • Cocktail maker : step-by-step assistance is adding the right amount of each ingredient in a recipe. Can be used for other recipes, such as hair dye color mixing.
  • Remote controlled dosing: turn power on a remote device (coffee grinder, water pump) and turn the power off when the goal weight is reached. Works via Home Control smart power plugs.
  • USB, wifi and bluetooth weight communications.
  • Easy firmware upgrades via Wifi or USB, released on a regular schedule.
  • Two full time programmers: one on the firmware, the other on apps. Both releasing regularly at no cost to you, and open sourced.
  • Precision 50g calibration weight included, so you can perfectly recalibrate your scale, yourself.
  • Totally open source.  Chassis, PCB and Firmware are all open.  https://github.com/decentespresso/openscale
  • 14.5mm height, just slightly less tall than Acaia
  • A very long lived rechargeable battery (this is the most expensive part in it, actually)
  • Super simple user interface, that doesn't require you to keep a manual nearby
  • Price wise, I think we're competitive with the latest batch of name brand scales that aren't Acaia.
  • It has a full computer in it, and we're committing to regular functionality updates via firmware, like we do with the DE1.  It's the same ESP32 microprocessor that the Gagguino runs on, for instance.


  • Half Decent Scale Manual: table of contents

    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
  • Hold both the O and the ▢ buttons at the same time until "HDS Setup" appears on the screen.
  • Use the O button to navigate between the menu points.
  • Press the ▢ button to choose a menu point.

  • Read on for menu options

  • until firmware 3.1.14
  • from firmware 3.1.14 onwards


  • Menu options until firmware 3.1.14
    1. Navigation & system
  • Exit: Closes the settings menu and returns to the main weighing screen.
  • About: Displays system information including the current firmware version, compilation time, and unique compilation ID.
  • Show logo: Displays the boot logo on the screen (ideal for product photography).

  • 2. Device settings & customization
  • Calibration: Recalibrates the scale accuracy. Requires a single reference weight of either 50g, 100g, 200g, 500g, or 1000g.
  • Flip screen (on/off): Rotates the screen display 180° for alternative physical positioning.
  • Timer on top / weight on top: Toggles the layout preference to display either the timer or the weight on the top row of the screen.

  • 3. Connectivity & Bluetooth (BLE)
  • Button with BLE (enable/disable):
  • Enable: Keeps physical buttons active during a wireless connection.
  • Disable: Locks physical buttons while connected to prevent accidental inputs.
  • Heart beat (on/off):
  • On: Automatically disconnects the scale if the app loses connection, allowing for faster reconnection.
  • Off: Mandatory for legacy, third-party apps that do not support the heartbeat signal to prevent accidental disconnections.

  • 4. WiFi settings
  • WiFi on/off: Enables or disables wireless networking.

  • Note: Requires a power cycle (off/on) after activating to broadcast the local hotspot and display the WiFi icon.

  • WiFi Status: Displays current network diagnostics, including status, SSID name, and assigned IP address.
  • Reset WiFi: Clears existing network configurations and resets the WiFi status.

  • 5. Power & performance
  • Auto sleep (on/off):
  • On: Shuts down the scale after 15 minutes of inactivity (only when disconnected from BLE) to preserve battery.
  • Off: Keeps the scale powered indefinitely until manually turned off or the battery dies.

  • Quick boot (on/off):
  • On: Boots the scale instantly with a brief touch of any button.
  • Off: Requires a long press to power on, preventing accidental activation inside travel bags or on crowded countertops.

  • Drift Comp (Off / 0.05g / 0.075g / 0.1g / 0.2g): Corrects minor weight fluctuations caused by rising electronic temperatures or environmental heat.
  • Recommended: 0.05g or 0.075g for general espresso use.
  • Pour-over: 0.1g or 0.2g to counteract ambient heat drift from large carafes of hot water.

  • 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:

  • Scale
  • Connections
  • Display
  • Power
  • Optional Grind by weight
  • Optional Pressensor
  • Info
  • Exit

  • >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
  • Back
  • Calibrate
  • Drift: Off / 0.05g / 0.075g / 0.10g / 0.20g
  • 2x Tap Tare, meaning the scale tares if you tap on it twice [toggle - O for off or X for on]
  • 3x Tap Timer, meaning the timer of the scale turns on if you tap on it trice [toggle - O for off or X for on]

  • Connections
  • Back
  • WiFi [toggle - O for off or X for on]
  • Heartbeat [toggle - O for off or X for on]
  • BLE Buttons [toggle - O for off or X for on]. With this option, you can still use the physical buttons of your scale, even if someone is connected to it via BLE.
  • WiFi Status
  • WiFi Update
  • Custom Build
  • Reset WiFi
  • Relink [shown after pairing]. To pair your scale again for HDS Custom Build.

  • Display
  • Back
  • Flip Screen [toggle - O for off or X for on]
  • Top: Weight / Time
  • Show Logo

  • Power
  • Back
  • Auto Sleep [toggle - O for off or X for on]
  • Quick Boot [toggle - O for off or X for on]
  • WakeOnWeight: Off / 2s / 3s / 4s. Meaning you can wake your scale by putting something on it for at least that amount of time.

  • Info
  • Back
  • Status
  • About

  • Exit
  • Exit the menu

  • Half Decent Scale Manual: table of contents

    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.

  • The method: Use a damp (not dripping) microfiber cloth to wipe away coffee grounds or spills. Then, wipe the scale with a dry towel to make sure that the buttons are bone dry. This way, you can avoid ghost taps from the moisture.
  • The rule: Never submerge the scale in water or place it in a dishwasher.

  • 2. The magnetic USB port

    The charging interface is highly moisture-tolerant, but "tolerant" doesn't mean waterproof.

  • Stay dry: Ensure the magnetic port is dry before attaching the charging cable.
  • Emergency protocol: If liquid gets inside the port, disconnect power immediately. Let it air dry completely to prevent oxidation (rusting) of the contact points.

  • 3. Moisture & internal integrity

    The internal circuit boards (PCBs) have a protective coating, but direct liquid ingress should still be avoided.

  • If a major spill occurs:
  • 1. Wipe the exterior bone-dry immediately.
    2. Place the scale in a well-ventilated area.
    3. Wait 24 hours before turning it back on to ensure any internal vapor has evaporated.

    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.

  • Avoid "steady streams": Don't let water pool under the chassis or sit directly against the internal sensors.
  • Stable calibration: Keep the scale on a flat, dry surface when not in use to maintain sensor health.

  • 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.


    Half Decent Scale Manual: table of contents

    2. Setup

    How to weight calibrate the Half Decent Scale

    weight calibrate 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:

    1. hold your left fingers down on the O button and ▢ button at the same time
    2. You will see HDS SETUP decent scale setup

    To Calibrate your scale:

    1. Make sure you have no objects on your scale
    2. Tap the O button until you reach the Calibrate menu. Tap the ▢ button
    3. Tap the O button to move to the word "Calibrate". Tap the ▢ button
    4. Choose the weight you own with the O button and tap ▢ to start calibration
    5. The scale will calibrate itself to this "no weight" (0g) point
    6. When asked to place the weight you have, do so. You will have 3 seconds.
    7. The scale will calibrate itself to your weight, and indicate when it is done.
    8. Remove the weight, tare and place the weight back on. The displayed weight should now be accurate.decent scale calibrate 100g


    Half Decent Scale Manual: table of contents

    How to use WiFi on the Half Decent Scale (HDS)


    HDS enable WiFi

    1. Enable WiFi on your Half Decent Scale
  • Enter "HDS Setup" mode, by pressing and holding both the O and the [] buttons until "HDS Setup" appears.
  • Navigate to the "WiFi Settings" menu entry and select it by pressing the [] button
  • Select the "WiFi On" menu entry. The display will show: "WiFi enabled, restart Scale"
  • Exit the menu and turn the scale off and on again.

  • 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.

  • Find the "Decent Scale" Wi-Fi network on your device and connect to it. The "Decent Scale" Wi-Fi password is "12345678".

  • 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
    1. Open the scale's web page.Connect your phone or computer to the scale's current Wi-Fi network. Open http://hds.local. If you changed your scale's address because you are using several scales, connect to the renamed address. You can also connect to your scale's IP address. You can find the IP under Setup > Connections > WiFi Status on the scale.
    2. Insert the name of your home network. Scroll down a little on the page and enter its name in Network name.
    3. Enter the new network's password. Use Show password to check it, then select Connect. You do not need to reset the Wi-Fi settings.

    Connecting to the WiFi home network

    4. Click on "Connect". The scale will now test the network and then returns to report the result. The page may temporarily lose contact. Keep the browser open and the scale powered on; do not switch your phone or computer's Wi-Fi yet.

    Testing the new WiFi settings

    5. Wait for “Connection test succeeded.” The router will assign the scale a new IP address and display it.
    6. Now, access this same IP address on your phone or computer. Leave the browser tab open and change networks in your device's Wi-Fi settings. Return to the browser and only click on "Continue" once your device is connected.

    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."

    Connection test succeeded

    7. Confirm the change. Look for “Connected to [your network]. WiFi settings saved.” A successful connection test alone does not confirm that the final switch completed.

    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.

    Tasmota plug

    What you need

    Before starting, make sure you have:

  • An HDS scale with firmware that includes the Grind by weight plugin
  • A compatible Tasmota smart plug, such as https://nous.technology/product/a6t.html https://de.athom.tech/blank-1/tasmota-esp32-c3-eu-plug-v3 https://www.athom.tech/blank-1/tasmota-esp32-c3-uk-plug-v3 https://www.athom.tech/blank-1/tasmota-esp32-c3-us-plug-v3
  • The Grind by weight plug firmware installed on that smart plug
  • The scale and smart plug connected to the same Wi-Fi network
  • Your grinder plugged into the smart plug
  • A dosing cup

  • 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:

    1. Install or flash firmware that includes the Grind by weight plugin. You can find this on the HDS Custom Build website. We explain how to use that website here.
    2. Connect the scale to Wi-Fi.
    3. Open the HDS Setup menu.
    4. Select Grind by weight.
    5. Select Enable.
    6. Select Select Plug.
    7. Choose your smart plug from the list.
    8. Adjust the grinder settings if needed.
    9. Select Back to leave the menu.

    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:

    1. Put your empty dosing cup on the scale.
    2. Press tare.
    3. Leave the cup still.
    4. Wait for the display to show Ready.
    5. Confirm that the smart plug relay switches on.
    6. Slowly add weight to the cup or scale.
    7. Continue until the cutoff point is reached.
    8. Confirm that the smart plug switches off.
    9. Remove the added weight.
    10. Return the empty cup to the scale.
    11. Wait for the display to return to Ready.

    Only turn on the grinder's physical switch after this test works reliably.


    Step 4: Choose your target dose

    The default settings are:

  • Target: 15.0 g
  • Safety: 2.0 g
  • Zero range: -1.0 g to 1.0 g
  • Zero hold: 1000 ms
  • Target tolerance: 0.5 g

  • 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:

    1. Put the empty dosing cup on the scale.
    2. If the display says Tare to arm, press tare.
    3. Leave the cup still.
    4. Wait for Ready.
    5. The smart plug should now be supplying power.
    6. Start the grinder physically if your grinder requires it.
    7. Coffee begins falling into the cup.
    8. The display changes to Grinding after the scale detects a plausible rising dose.
    9. When the cutoff point is reached, the scale sends the OFF command.
    10. Wait for the dose to finish falling.
    11. Remove the filled cup.

    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:

    1. If your grinder has a latching physical switch, move it back to OFF first.
    2. Empty the cup.
    3. Put the empty cup back on the scale.
    4. Leave it still.
    5. Wait for the weight to settle around zero.
    6. The scale will automatically return to Ready.

    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:

  • The final weight never becomes stable
  • The cup is removed too early
  • Weight falls after the grinder switches off
  • Grinding stops before reaching the target
  • The measured grind rate is unusually high
  • The final result is too far from the target

  • 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:

    1. The filled cup must be removed.
    2. The empty cup must be returned.
    3. The cup must remain stable inside the zero range.

    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:

  • The smart plug is powered
  • The plug and scale are on the same Wi-Fi network
  • The plug service is running
  • The saved hostname still works
  • The saved IP address still belongs to the correct plug

  • 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

    hds v1.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
    2. New charging cable connector
    3. Improved circuit board design
    4. New laser etching


    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.

  • Improved brushed black casing2
  • it's now less susceptible to water damage,
  • has better wireless connectivity,
  • and as an added bonus, there's less weighing interference while HDS is plugged in.1
  • countersunk USBC connector, to use less space:

  • new HDS v1.1


    2. Redesigned charging connector

    New magnetic connector

    Previous USB charging connector was causing measuring irregularities when plugged in. It was also a potential culprit for water damage.

  • New magnetic connector adapter can now be attached to HDS for charging.
  • A rubber gasket has been added, to protect the USB port when not in use.
  • New redesigned charging cable that comes with a magnetic connector.

  • 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.

  • Half Decent Scale now presents itself as "Half Decent Scale" when connected over USB.
  • It has improved battery capacity sensing.
  • Furthermore, weight stability and measurement accuracy were improved.
  • Last but not least, a temperature sensor for measuring ambient temperature was added.


  • 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 Manual: table of contents

    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

  • A Google Chrome or Microsoft Edge browser (other browsers won't work)
  • A USB cable connected between your scale and your computer
  • Mac users: you may need to install the CH34x USB driver first — without it, your computer won't recognize the scale. Some Windows and Linux machines may also need this driver.

  • 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.

    select version dropdown

    Step 2: Download

    Click the Download button. A file will be saved to your computer — remember where it goes (usually your Downloads folder).

    download button

    downloaded firmware zip

    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.

    firmware zip selected for upload

    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

    select device

    You'll know it worked when the device info box appears.

    device connected

    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.

    update in progress

    Something Not Working?

  • No device shows up in the popup :Try a different USB cable — some cables only charge and can't transfer data
  • The connection fails : Unplug the USB cable, plug it back in, and try again
  • The button says "Connect" but nothing happens : Make sure no other programs are connected to the scale (close any you're unsure about)


  • Half Decent Scale Manual: table of contents

    How to use Wi-Fi to upgrade your HDS firmware (v3.0.0 and above)

    Warning: Only use this method if your HDS firmware version is 3.0.0 or higher

  • If your HDS firmware version is below V3.0.0, please update it using a USB-C connection.

  • /docs/how_to_use_usbc_to_upgrade_your_hds_firmware_v300_and_above


    To check your HDS firmware version, enter HDS setup mode and go to the 'About' menu.

  • Hold both the O and the [] buttons at the same time until "HDS Setup" appears on the screen.
  • Use the O button to navigate down to "About" and press the [] button.
  • Verify that the version is 3.0.0 or above.

  • How to check firmware version


    1. Get the update ready.
  • Download the firmware update and unzip (extract) the folder.
  • Inside the folder, you should see these four files:
  • bootloader.bin – starts up the device
  • partitions.bin – tells the device how to organise its memory
  • firmware.bin – the main software for the device
  • littlefs.bin – holds the web apps running on Half Decent Scale
  • With the Wi-Fi update, only two files are needed:
  • firmware.bin
  • littlefs.bin


  • 2. Make sure WiFi is enabled on your Half Decent Scale

    HDS enable WiFi

  • Enter "HDS Setup" mode, by pressing and holding both the O and the [] buttons until "HDS Setup" appears.
  • Navigate to the "WiFi Settings" menu entry and select it by pressing the [] button
  • Select the "WiFi On" menu entry. The display will show: "WiFi enabled, restart Scale"
  • Exit the menu and turn the scale off and on again.



  • 3. 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.

  • Find the "Decent Scale" Wi-Fi network on your device and connect to it. The "Decent Scale" Wi-Fi password is "12345678".

  • 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.


    Make sure that the device to which you downloaded the firmware files is connected to the same network as HDS.

    Open the address http://hds.local in your preferred browser and select "Firmware update"

    HDS wifi address


    4. Upload the filesystem partition first
  • Once you are on the firmware update page, make sure you select SPIFFS/LittleFS in the OTA Mode dropdown.
  • Find and select the file littlefs.bin from the file picker. The upload will start automatically. Progress will also be displayed on the scale.

  • HDS filesystem ota upload

  • The scale will restart itself once the upload is complete.
  • If you used the "Decent Scale" network to connect to the scale, you need to reconnect to the "Decent Scale" Wi-Fi network on your device
  • Reload the browser window to view the Half Decent Scale homepage, then select 'Firmware Update' again.


  • 5. Update the firmware partition last
  • On the firmware update page, verify that 'Firmware' is selected in the 'OTA Mode' dropdown.
  • Click "Select File" and select the file firmware.bin in the system file picker. The upload will start automatically.

  • HDS firmware  ota upload

  • Once the upload is complete, the scale will restart.


  • 6. (Optional) turn off WiFi to save battery
  • After successfully updating to the new firmware version, you can turn off WiFi on HDS, to save battery life.
  • Restart the scale in HDS Setup mode.
  • Navigate to Wifi Settings.
  • Select the WiFi Off option.
  • Restart the scale by exiting the menu and double-tapping the O button quickly.
  • On firmware version 3.0.0, you can also restart the scale by pressing and holding the O button on the main screen.


  • Half Decent Scale Manual: table of contents

    How to use USB-C to upgrade your HDS firmware (v3.0.0 and above)

    1. Get the update ready
  • Download the firmware update and unzip (extract) the folder.
  • Inside that folder, you should see these four files:
  • bootloader.bin – starts up the device
  • partitions.bin – tells the device how to organize its memory
  • firmware.bin – the main software for the device
  • littlefs.bin – holds the web apps for Half Decent Scale


  • 2. Connect your device
  • If using a Mac, make sure you have installed the required WCH CH34X drivers for macOS first.
  • If using a Windows PC, make sure you have installed the required WCH CH34X drivers for Windows first.


  • Use a USB-C cable to connect your HDS to your computer.
  • If your HDS display does not turn on or doesn't show the charging animation, do not worry. ESP Flash tool can still connect to it
  • Open Firefox or Chrome (other browsers may not work).
  • Go to the ESP Flash Tool page in your browser.


  • 3. Set up the tool
  • In the Flash Tool, choose the highest baud rate available - 921600 Baud.
  • Click Connect.
  • From the list of devices, on macOS select wchusbserial, on Windows, select "USB Serial" .
  • The tool should now be connected to your HDS.
  • HDS display will turn off at this point

  • connect to HDS with Adafruit ESP tool



    4. Load the update files
  • For each of the four .bin files in the folder, choose it in the tool and enter the offset value shown in the video guide.
  • bootloader.bin: 0x0
  • partitions.bin: 0x8000
  • firmware.bin: 0x10000
  • littlefs.bin: 0x670000
  • Double-check that the offsets match correctly.


  • 5. Start the update

    using ESP tool to program the HDS

  • Click Program.
  • Wait until the tool tells you it's finished.
  • When prompted, restart your HDS:
  • Turn it upside down.
  • Find the small round hole on the bottom right.
  • Push a paperclip (or SIM ejector tool) into the hole until you hear a click.


  • 6. Confirm it worked

    Check version on HDS

  • Once restarted, open the HDS Setup menu on your device.
  • Go to About → you should now see version 3.0.0.

  • ✅ Done!


    Half Decent Scale Manual: table of contents

    How to upgrade firmware via Wifi on the Half Decent Scale

    Note: these instructions are valid for Firmware versions 1.x and 2.x. For firmware 3.x and newer, see:

    How to use Wi-Fi to upgrade your HDS firmware (v3.0.0 and above)

    decent scale wifi update

    In this tutorial, I'll cover how to upload new firmware via Wifi for your Half Decent Scale.

    To go into SETUP MODE:

  • hold your left fingers down on the O button and ▢ button at the same time
  • You will see HDS SETUP decent scale setup

  • To go into Wifi Update Mode:

  • Tap the O button to move the cursor to "WiFi Update"
  • Tap the ▢ button
  • Tap O once to Choose "Wifi Update" again
  • Tap the ▢ buttondecent scale ota enable

  • To upload a new firmware via wifi:

  • First, download the wifi firmware image, to your computer or your mobile device.  We'll call this the "computer"
  • Mobile devices are very handy for updating the scale (ie iPhone, iPad, Android Device)
  • With your computer, connect to the "Decent Scale" Wifi hotspot
  • With your computer, open a web browser, and go to http://192.168.1.1
  • Specify the firmware file you previously downloaded and upload it.
  • The scale will reboot after the upgrade

  • To confirm the upgrade worked:

  • Go into HDS SETUP mode (remember, hold down O  and then also tap ▢ when you see the HDS message)
  • Go to ABOUT and read the firmware version, which should now equal what you just uploaded.


  • iphone firmware update of scale



    Half Decent Scale Manual: table of contents

    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:

    usbc firmware updating of half decent scale


    Here are the steps:

  • If using a Mac, make sure you have installed the required WCH CH34X drivers for macOS first.
  • If using a Windows PC, make sure you have installed the required WCH CH34X drivers for Windows first.


  • 1. Connect your scale via USBC to a computer
    3. If you are running a firmware v2.7.6 or earlier:
    1. Choose the "ino.bin" file you previously downloaded. choose scale fw file
    2. Type 10000 into the first Offset offset 10000
    1. If your scale is really bricked (unable to power up) you can usually bring it back to life by first choosing to completely erase the scale via USBC, and the uploading all 3 firmware images.
    2. If you want to also upload the bootloader and partitions, then choose those two files as well.
    1. The Offset for the bootloader file is "0000"
    2. The Offset for the partitions file is "8000"
    3. You will need to weight calibrate your scale if you erase or upload 3 files.
    4. Tap the PROGRAM button ADA program button
    5. You should see a progress bar progress bar ada
    6. Wait 2 minutes until you see the message "To run the new firmware, please reset your device"ADA upload done
    7. Unplug your scale from USB, turn it over, and push the reset button with a small screwdriver. reset scale button
    1. You can also cause a scale reset with the command line "esptool.py chip_id" if you have installed esptool.
    8. Your scale should now work


    Half Decent Scale Manual: table of contents

    Firmware for Half Decent Scale

    Latest Half Decent Scale firmware

  • Latest Universal firmware

  • Use this link to always get to the latest released firmware version.

    Specific firmware versions with more detailed updates can be found below.

    NEW: make your own custom firmware, by choosing extensions you want. You can even write your own (usually, with an AI agent's help).

    Half Decent Scale firmware v3.0.4

  • Universal firmware 3.0.4

  • What's new:

  • Intelligent finger touch detection

  • Intelligent finger detection will reduce false button press detections, by verifying sufficient pressure was applied to the button (as it would when you press the button with a finger).

    Half Decent Scale firmware v3.0.3

  • Universal firmware 3.0.3

  • What's new:

  • Drift compensation

  • Drift compensation is enabled by default with a 0.05 g threshold. When active, the HDS only reports a change if a new sample differs from the previous value by more than ±0.05 g.

    This does not change the load cell's native resolution, but it improves effective precision and repeatability by suppressing small fluctuations and noise. As a result, repeated measurements under identical conditions are more stable and consistent.

    The feature also compensates for slow thermal drift, caused by changes in ambient temperature, load cell self-heating after cold start, or hot/cold objects placed on the scale. These effects often produce small, continuous weight changes that can be effectively filtered out with an appropriate threshold.

    For example, hot cups may benefit from a larger threshold (e.g. 0.2 g), while a silicone thermal insulation padtypically allows a smaller threshold (e.g. 0.05 g). Choose the threshold according to your application and operating conditions.

    If your HDS is running firmware v3.0.0 or later, upgrading is possible both over WiFi or USB-C.

    Half Decent Scale firmware v3.0.2

  • Universal firmware 3.0.2

  • What's new

  • Scale drift filtering: If you were experiencing drift while using the scale (going from 0.0 to -0.1g intermittently with no load), this should help.
  • Version info: Together with the version information, there's now also the build date and git commit identifier displayed on the about screen.
  • Wifi asynchronous initialisation: Instead of blocking the boot process, Wifi (if enabled) is now initialised asynchronously, making startup feel fast and snappy again.
  • Wifi status indication: While HDS is connecting to your wifi, the chain link icon will be blinking. Once connected it will stop blinking and remain solid.
  • Quick Boot HDS Setup option. This will not wait for 0.5 seconds before turning on HDS and will start it instantly instead.
  • Remove long press to turn off option, as it could cause scale turning itself off in the middle of a (very messy) shot.
  • Improved double tap timings.
  • Fixed timer starting when exiting HDS setup.
  • Fix potential crash when calibrating.
  • Fix crash if WiFi is disabled in HDS Setup.
  • Battery voltage update fixes.
  • Using stable pioarduino framework.
  • Fix for WiFi starting even when just charging.

  • If your HDS is running firmware v3.0.0 or later, upgrading is possible both over WiFi or USB-C.

    Half Decent Scale firmware v3.0.1

  • Universal firmware 3.0.1

  • What's new

  • Simplified charging experience, a small icon is displayed while charging and turned off when battery is fully charged. This takes care of erroneous 100% charged indication that sometimes happened.
  • More accurate battery level reporting while running
  • Disabled weight check during calibration. Should help with "No weight detected" preventing recalibration
  • HDS Firmware version is now sent as the last 3 bytes response of LED ON/OFF command (BLE & USB)
  • WiFi reset options on HDS homepage and HDS setup (under WiFi Settings). Will restore HDS WiFi mode to create its own network.

  • If your HDS is running firmware v3.0.0, upgrading is possible both over WiFi or USB-C.

    Half Decent Scale firmware v3.0.0

  • Universal firmware 3.0.0

  • New in this version:

  • Scale apps running on HDS, now compatible with Safari browser / iOS devices
  • New Web socket API and Web server
  • Long press O button to turn off, double press also still works

  • It's recommended to upgrade to this version using USBC.

    Half Decent Scale firmware v2.7.6

  • Wifi firmware 2.7.6
  • USB firmware 2.7.6

  • New in this version:

  • Beanconqueror iOS bug fix. The Beanconqueror app on iOS previously could not connect to the HDS. The Android version of the app worked fine

  • Instructions on how to upgrade the scale firmware via USBC or Wifi.

    Half Decent Scale firmware v2.7.5

  • Setup option for the two buttons (tare and timer) to work even when bluetooth connected. By default, it's up to the app what the two buttons should do. If the app you're using doesn't do anything with the two buttons, but you'd like the Tare and Timer features to be enabled when app connected, you can do that now.
  • Setup option to flip the screen upside down.
  • Setup option to flip the position of the Timer and Weight information on screen. This can be useful if you have flipped the screen.
  • The beeping sound when touching a button has been permanently removed from the firmware. The PCBs don't even have the speaker any more. Not only did people find it annoying, but the speaker was vulnerable to failure if wet, thereby completely breaking the scale. Removing the speaker improves the scale's resistance to water.
  • The tilt/angle detector feature has been removed (it was a gyroscope on the PCB), both from the firmware and the PCB. Previously, this would intentionally keep the scale from powering on if the scale was not on a flat surface. This was seen as a necessary feature, adding cost, but also increasing the scale's vulnerability to not functioning if wet.
  • Introduction of PCB v8.1. This is the same as PCB v8.0, but with the beeping speaker and gyroscope removed. The same firmware works on all v8.x PCBs.
  • The "require a heartbeat" feature, which improves the scale's ability to connect to old versions of Android, is now optional. You can disable the heartbeat feature in Setup, if you want to use an older app that does not know to send the heartbeat.
  • Weighing via the USB cable is now tested, debugged, and works with all our Chrome apps.
  • Same firmware for all Half Decent Scale models. We no longer need different firmware for different PCB versions. There's only one firmware now. We've removed the PCB Version menu choice, since this is no longer relevant.

  • To upgrade using Wifi:

  • wifi firmware 2.7.5

  • To upgrade using USBC:

  • USB firmware 2.7.5

  • Half Decent Scale firmware v2.6.3

    Changelog:

  • New 'heartbeat' feature solves connectivity issues with Android 9 and older.
  • Apps need to send a 'heartbeat' at least every 5 seconds, or the bluetooth connection will be dropped
  • Older Android versions have a problem where bluetooth connections are kept to devices, even though the app no longer has the connection.
  • The heartbeat resolves that problem, and is the same approach Decent took with bluetooth on the DE1, to resolve the same issue.
  • Older apps that are unaware of the heartbeat feature, will automatically disable it when they send the LED ON bluetooth command, with the 6th byte in that command set to 00.
  • Apps that want to use the heartbeat feature, should send 01 as the last data byte of the LED ON command, for example: "03 0a 01 01 00 01 08"
  • The heartbeat command to send to the scale is: "03 0a 03 ff ff 00 0a"
  • DE1 users should upgrade to the NIGHTLY de1app dated April 11 or newer.
  • Fixed a bug that cause the HDS to reboot when the bluetooth connection was dropped.
  • Fixed a bug, if the timer exceeded 65535 seconds, HDS might freeze.
  • Added "Show Logo" feature in the Setup Menu, for photography purposes.
  • Prevent user from calibrating the scale when a usb cable is plugged in, as the cable might cause miscalibration.
  • Added SoftSleep Mode. BLE and USB command to switch off peripherals. (03 0A 04 00 for exit soft sleep, and 03 0A 04 01 for start soft sleep)
  • In calibration mode, if no weight is put on the scale after the 0 calibration, the procedure will exit and return to menu.
  • The empty battery icon will blink if the voltage is under 5%(about under 3.45v).

  • To upgrade using Wifi:

  • wifi firmware 2.6.3 for PCB v7.5
  • wifi firmware 2.6.3 for PCB v8.0

  • To upgrade using USBC:

  • USB firmware 2.6.3 for PCB v7.5
  • USB firmware 2.6.3 for PCB v8.0

  • Half Decent Scale firmware v2.6

    Changelog:

  • Changed the buzzer duration from 50ms to 5ms. It is now a more pleasant sound and also a lower volume.

  • To upgrade using Wifi:

  • wifi firmware 2.6 for PCB v7.5
  • wifi firmware 2.6 for PCB v8.0

  • To upgrade using USBC:

  • USB firmware 2.6 for PCB v7.5
  • USB firmware 2.6 for PCB v8.0

  • Half Decent Scale firmware v2.5.9

    Changelog:

  • "Exit" option for Calibration menu. Previously you could get stuck in this menu choice with no way to exit.
  • Fixed bug causing a reboot when choosing Wifi upgrading firmware.

  • To upgrade using Wifi:

  • firmware 2.5.9 for Wifi upgrade (PCB v8.0)
  • firmware 2.5.9 for Wifi upgrade (PCB v7.5)

  • To upgrade using USBC:

  • firmware 2.5.9 for USBC upgrade (PCB v8.0)
  • firmware 2.5.9 for USBC upgrade (PCB v7.5)

  • Half Decent Scale firmware v2.5.8

    Changelog:

  • Changed firmware name to HDS_PCB_x_x_FW_x_x_x to match the About page and WiFi OTA page.
  • Commands now support send via USB, with a baud rate of 115200.
  • New reset command.
  • New usb weight control command.
  • New gyro data command.
  • New battery voltage command.
  • To send commands via USB manually, please check the "Send HEX" option in Window's Serial Debug Assistant or the Mac Serialport Assistant.
  • The USB weight should be enabled first using the command 03 20 01.
  • The gyro and voltage are called on demand, not continuously.

  • To upgrade using Wifi:

  • firmware 2.5.8 for Wifi upgrade (PCB v8.0)
  • firmware 2.5.8 for Wifi upgrade (PCB v7.5)

  • To upgrade using USBC:

  • firmware 2.5.8 for USBC upgrade (PCB v8.0)
  • firmware 2.5.8 for USBC upgrade (PCB v7.5)

  • serial port assistant example

    4. For developers and makers

    Programmers guide to the Half Decent Scale

    * Over bluetooth, these commands should be sent as binary

  • Over USB and Wifi, these commands should be sent as Hex strings
  • Also see the older Decent Scale API Docs. The Half Decent Scale is compatible with that command set, but adds a substantial number of new commands
  • A python library is also available
  • Javascript apps and weighing library (supporting Bluetooth, USB and Wifi!)


  • New 'heartbeat' feature solves connectivity issues with Android 9 and older.

  • Apps need to send a 'heartbeat' at least every 5 seconds, or the bluetooth connection will be dropped
  • The heartbeat command to send to the scale is: “03 0a 03 ff ff 00 0a”
  • Why does this feature exist?
  • Older Android versions have a problem where bluetooth connections are kept to devices, even though the app no longer has the connection.
  • The heartbeat resolves that problem, and is the same approach Decent took with bluetooth on the DE1, to resolve the same issue.
  • Older apps that are unaware of the heartbeat feature, will automatically disable the heartbeat requirement
  • when they send the LED ON bluetooth command, with the 6th byte in that command set to 00
  • or the TARE command with that last byte as 00.
  • Apps that want to use the heartbeat feature (and it's highly recommended),
  • should send 01 as the last data byte of the LED ON command, for example: “03 0A 01 01 00 01 08”
  • should also send 01 as the last data byte of the TARE command, for example: “03 0F 01 00 00 01 0C”
  • These variants of the LED ON and TARE commands will not have any negative effect on older Decent Scales, which don't have the heartbeat feature.
  • DE1 users should upgrade to the NIGHTLY de1app dated April 11 or newer


  • 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.

    HDS serial


    Half Decent Scale Manual: table of contents

    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:

    1. Browser Check:

    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.

    2. Open an App:

    Navigate to one of the app links provided above.

    3. Enable Pairing Mode:

    Put your Half Decent Scale into Bluetooth pairing mode.

    4. Connect via App:
  • Click the "Connect" button in the web application.
  • A pop-up window will appear, listing available Bluetooth devices.
  • Select "Decent Scale" from the list.
  • 5. Connection Confirmed:

    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.

    6. Begin:

    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:

  • First, connect your device to the Half Decent Scale via a USB-C cable.
  • Next, install the CH34X serial drivers on your device.
  • Select the USB connection from the drop-down menu, click "Connect," and choose "USB Serial" from the pop-up list.
  • Connect it and the live weight updates will appear on the screen.


  • Use the WIFI Connection (firmware 3.0.0 required) :

    Half Decent Scale now uses WiFi for additional features and connectivity.

  • To enable WiFi mode, go to the HDS setup menu and find the "WiFi settings" entry.

  • You can enable or disable Wi-Fi there and view the current Wi-Fi details.

  • If you toggle WiFi on/off, you must restart the scale for the new settings to take effect.

  • HDS will open its own WiFi, called "Decent Scale." It is protected with a password: '12345678.'

  • Once connected to this WiFi, navigate to hds.local or 192.168.1.1 using your browser to change the WiFi settings.

  • 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:

  • For Scale Users: Our Half Decent Scale tools are practical and easy to use. They enhance the functionality of the scale for everyday tasks.
  • For Developers: A real-world demonstration of Web Bluetooth and Web USB capabilities is essential to encourage exploration and innovation with these technologies.

  • These apps are ideal for:

  • Decent Espresso Machine and/or Half Decent Scale Owners: Maximize your daily weighing and coffee preparation routines.
  • Quality Control Professionals: Streamline weighing processes, improve consistency, and simplify data collection.
  • Developers & Tech Enthusiasts: Explore a practical implementation of Web BLE and Web USB in an IoT context.


  • For Developers: Technical Deep Dive
  • The code for these web apps is available in the web_apps directory of the openscale repo.
  • Foundation: It is built with standard HTML, CSS, and JavaScript.
  • Styling: Tailwind CSS is the utility-first approach to styling, ensuring a responsive and modern interface. Note: Tailwind is a CSS framework, but its core logic is in plain JavaScript, avoiding heavy JS frameworks.
  • Connectivity:
  • Web Bluetooth API (Web BLE): Enables wireless communication with the Half Decent Scale.
  • Web USB API: It provides an alternative wired connection method.
  • Browser Compatibility: Use Google Chrome (version 136 or newer) or Microsoft Edge (version 136 or newer), iOS, and Safari using the scale's Wi-Fi connection.
  • WIFI (Websocket): Upgrade half decent scale to firmware 3.0.0, then follow the instructions above to switch it on. HDS will now broadcast weight data and receive tare command via WebSocket endpoint. See example code here. here.
  • Data Storage: Data such as readings and presets are stored locally in the browser's local storage. Users can download their data as JSON or CSV files.


  • 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:

    1. Download the web_apps Directory: GitHub does not offer a direct download for subdirectories. Use a specialized tool for this. Here are a couple of options:
  • Use a web tool like DownGit or github1s.
  • Go to the tool's website.
  • Paste the URL to the web_apps directory on GitHub: https://github.com/decentespresso/openscale/tree/main/web_apps
  • Follow the tool's instructions to download the directory as a ZIP file.
  • Extract the downloaded ZIP file. This will create a web_apps folder.
  • 2. Navigate into the project directory:

    cd web_apps/dosing_assistant

    3. Serve the files with a local HTTP server:

    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.

  • Using NPX's 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.


    Half Decent Scale Manual: table of contents

    Half Decent Scale simulator

    The up-to-date version of this simulator is always on GitHub: github.com/ODevStudio/hds-simulator. This page has a copy of release v0.1.0.

    Try the Half Decent Scale's own screen and buttons right here in your browser. This simulator runs the real drawing code from the HDS firmware (version 3.1.16), so every screen looks exactly as it does on the scale.

    Click the circle and square buttons on the photo, or click the simulator once and then use the C and S keys. Pour some water, start the timer, or hold both buttons to open the menus. Everything stays in your browser: it can't connect to or change a real scale.

    HDS

    Browser Simulator

    V8.1 3.1.16
    Local simulation
    BOOT
    Half Decent Scale
    Loading renderer
    128 × 64 / Standard HDSU8g2

    HDS Custom Build - how to use it

    HDS Custom Build title picture

    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.

    Choosing the firmware version


    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.

    WiFi or USBC


    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.

    Features that can be chosen


    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.

    Plugins available


    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.

    Request build


    Step 7: Save the build (WiFi-only)

    Now, if you chose WiFi, click on "Save build." If you chose USB, go to step 9.

    Save the build


    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:

    1. Turn your scale OFF.
    2. Access the menu of your scale by pressing both buttons.
    3. Using the button O, switch between the menu points and go to Connections > Custom Build. Press ▢ to choose this. If your scale hasn't been paired yet, it'll show you a code now.
    4. Then, scroll down on the HDS Custom Build website, insert the code and click "Add Scale" (see picture below).
    5. Your scale is now paired to the website.

    Pairing the scale


    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.

    Adding a 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

    scale transparent cad image

    Here are the STL CAD files for the Half Decent Scale. With these, you can print your own case parts.

  • Screen
  • PCB
  • Lower cover
  • Glass
  • Upper cover
  • Load cell
  • Outer dimensions


  • top cover
    lower cover

    glass
    screen
    pcb

    treads
    load cell


    Half Decent Scale Manual: table of contents

    Three new bluetooth Decent Scale apps

    In yesterday's Decent Factory Livestream Mark and John demonstrated three new apps for all Decent Scale owners: Web Weigh, QC weighing and the Dosing Assistant.

    The apps all run inside the Chrome browser and work with the new Half Decent Scale, as well as the classic full-height Decent Scale.

    There's nothing to install, and they automatically work in Android, Mac OSX, Windows. On Linux bluetooth needs to be enabled via a special Chrome flag.

    To find the apps, go to your Decent Support account and you'll see a "Decent Scale" button.

    decent support account


    As to today there are 3 apps available, with more coming:

    three chrome apps for the decent scale


    Here is the "weigh and save" app:

    weigh and save

    It lets you:

  • Weigh several objects in a row
  • Save each weight
  • Show and save the rate of change (ie, flow rate)
  • Export the results to CSV or JSON files

  • Here are some use cases:

  • Imagine that you are making a coffee pour over, and want to see the total weight and flow rate.
  • And perhaps you want the history to be saved, so you know what you did, when the taste is good.
  • Or perhaps you're a cafe and you want to see how each of your employees makes hand-poured coffee.
  • Or imagine that you're a restaurant and you need to weigh several pieces of fish. This will make that easy.


  • Here is the QC (quality control) Assistant:

    qc weigh

    This lets you weigh the same (or similar) object, very quickly, see which of those objects are within your stated tolerances, and keep a log of the whole thing.

    Use cases:

    1. You are a cafe and want to quickly check that the pre-weight 18g doses of beans you have in front of you, really are 18g. And quickly reject those that are too far out.
    2. You are a food service that sells portions of cake, stated to be a certain weight. You want to make sure each slice is at least the stated weight, and reject those which are not.
    3. You are a restaurant, looking at preportioned fish. Each piece needs to be close to the same weight, so that each cooks in the same amount of time.
    4. You are buying a large quantity of the same object. For example, ceramic coffee cups. You want to quickly weigh all of them, to see which cups are much heavier than the others, and thus should either be rejected or sold at a discount for being less delicate than desired.

    As this is a quite powerful app, with several entry fields, there is a feature to save and restore presets. There are also sound effects that tell you of of a PASS or FAIL without needing to look at the screen.


    Here is the Dosing Assistant app.

    dosing assistant

    Some use cases:

    1. You are a cafe and need to quickly weigh out 18g gram bean doses, and store them for later use.
    2. You are a restaurant and need to cut and portion out meat in close-to-identical weights.
    3. You are a manufacturer, and need to portion out, into packaging, the same amount of product.

    You are able to specify the minimum and maximum allowed tolerances, as well as your goal weight. The entire thing is saved to CSV (and JSON) so you can have accurate records.

    For a manufacturer or restaurant, where trading standards apply, the ability to audit and prove your portioning, might save you one day from a lawsuit that claims you are short changing people.


    Here is the complete livestream video:

    Apologies for the slightly distorted audio. Our 1st livestream's audio was too soft, now this one is too loud. We'll get this right soon!

    Half Decent Scale Manual: table of contents

    5. Repair

    Half Decent Scale : how to replace the PCB

    In this video Levi shows you how you can replace the PCB in the Half Decent Scale. You might need to do this if Decent comes out with a PCB upgrade that you want, or if you PCB fails for some other reason.


    Half Decent Scale Manual: table of contents

    6. More about the scale

  • Product web page

  • Blog postings:

  • Integrated weighing with the Half Decent Scale
  • USA lower priced shipping for Half Decent Scale and other coffee accessories
  • Chrome web app for the Decent Scale
  • Youtuber Ryde Jeavons on DeCon 2025, Bengle, Half Decent Scale, Scott Rao of Prodigal Coffee
  • Half Decent Scale firmware v3.0.0
  • Beanconqueror and the Decent Scale

  • #decentscale #toc #manual #overview