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.
Before starting, make sure you have:
The required smart-plug firmware is available from Decent Espresso's tasmota-auto-doser project.
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.
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.
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.
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.
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.
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.
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.
Here are the most useful messages to know.
The scale is waiting for Wi-Fi.
Check that the scale can connect to its saved network.
The scale cannot currently reach the selected smart plug.
Check that the plug is powered and connected to the same network.
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.
The scale is waiting for a stable zero reading.
Leave the empty cup alone until the reading settles.
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.
The scale has detected a normal-looking increase in coffee weight.
Let the grind continue.
The scale has sent the OFF command and is waiting for confirmation.
The dose has finished.
Remove the filled dosing cup.
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.
Another scale or client is already using the smart plug.
Disconnect the other client or restart the plug.
Grind by weight has entered its fail-safe state.
Check the smart plug and reconnect Grind by weight.
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.
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.
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.
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.
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.
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.
#HDS #HalfDecentScale #scale #features #grindbyweight #documentation