RepositoryC++USUnited States
tatemazer

tatemazer/AcaiaArduinoBLE

Bluetooth Scale Gateway using the ArduinoBLE library for devices such as the esp32 and other Bluetooth-enabled Arduino compatible hardware.

136stars
39forks
6issues
2views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: espresso

#1 Repository of the month

1
TINIX TRENDING·Topic: coffee

#1 Repository of the month

2
TINIX TRENDING·Topic: ble

#2 Repository of the month

AcaiaArduinoBLE

Acaia / Bookoo / Felicita Scale Gateway using the ArduinoBLE library for esp32-based devices. This is an Arduino Library which can be found in the Arduino IDE Library Manager.

Scale Compatibility

MfrModelSubmodelFirmwareConnection PerformanceAuto-TareAuto-Start/Stop TimerAuto-Reset Timer
AcaiaLunarUSB-Micro
(Pre-2021)
v2.6.019GreatYesYesUntested
AcaiaLunarUSB-C
(2021 version)
v1.0.016Hit or MissYesYesYes
AcaiaPearl SUSB-Microv1.0.056OkYesYesYes
AcaiaPearl SUSB-C----OkYesYesYes
AcaiaPyxis----v1.0.022GoodNot Recommended (too sensitive)YesYes
BookooThemis Mini----v1.0.5GreatYesYesYes
BookooThemis Ultra--------GreatYesYesYes
FelicitaArc------------YesYesYes

Requirements

This library is intended to be used with any arduino device which is compatible with the ArduinoBLE library.

Printed Circuit Board

shotStopperV3 screenshot

The included "shotStopper" example code uses the ShotStopper PCB to make it simple to control your espresso machine using the scale.

A kit can also be ordered by visiting tatemazer.com

If you choose to build your own from scratch, v2.0 is recommended as it requires only through-hole components

Join the discord for updates and support: https://discord.gg/NMXb5VYtre

Video showing developmnent of the shotStopper

Espresso Machine Compatibility

ModelPowered by Machine (5V)Brew State Detection MethodOfficially Documented
GS3No, requires included power supplySolenoid Valve (Reed Switch)Yes
Linea MicraYesBrew SwitchYes
Linea Mini*Older, non-IoT machines may require a power supplyBrew SwitchYes
Linea Mini RYesBrew SwitchYes
Silvia Pro (X)YesBrew ButtonYes
Stone EspressoYesSolenoid Valve (Reed Switch)Yes
Ascaso Steel Duo PIDUntestedBrew ButtonNo
Profitec MoveYesBrew ButtonNo

*Ace Dotshot is compatible with the shotStopper. Also note, shot duration is automated at the scale with the shotStopper, making the dotShot redundant.

ShotStopper Example Code Configuration

The following variables at the top of the shotStopper.ino file can be configured by the user:

MOMENTARY

  • true for momentary switches such as GS3 AV, Rancilio Silvia Pro, etc.
  • false for latching switches such as Linea Mini/Micra, stone, etc.

REEDSWITCH

  • true if a reed switch on the brew solenoid is being used to determine the brew state. This is typically not necessary so set to FALSE by default. This feature is only available for non-momentary-switches.

AUTOTARE

  • true by default. The scale will automatically tare when the shot is started, and, if MOMENTARY is false, will perform another tare at 3 seconds to notify the user that the switch is latched and should be returned to the home position.
  • if set to false, the shotStopper will never send a tare command. It is the user's responsibility to tare before each shot. This may be helpful if the scale is not stable when the shot begins, and thus the scale is unable to tare reliably.

TIMER_ONLY

  • false by default. disables brew-by-weight functionality and enables only automatic timer and tare

Demo

You can find a demo on Youtube:

Video showing an shotStopper pulling a shot on a silvia pro

Scale Compatibility:

☑ Acaia Pyxis

☑ Acaia Lunar (usb-micro)

☑ Acaia Lunar 2021 (usb-c)

☑ Pearl S

☑ Felicita Arc

☑ Bookoo

Bugs/Missing

  1. Tare command is less reliable than pressing the tare button for pyxis
  2. Only supports grams.

Acknowledgement

This is largely a basic port of the LunarGateway library written for the ESP32.

In addition to some minor notes from pyacaia library written for raspberryPI.

Felicita Arc support contributions from baettigp and A-TWJ

Bookoo contributions from philgood and same31

lunar 2019 contributions from jniebuhr

Similar Projects

Discover other similar projects and AI models.

RepositoryC++
blinker-iot/blinker-library

An IoT Solution,Blinker library for embedded hardware. Works with Arduino R4, ESP32.

5.2k
Nov 11, 2026
RepositoryC++
T-vK/ESP32-BLE-Keyboard

Bluetooth LE Keyboard library for the ESP32 (Arduino IDE compatible)

3.2k
Aug 7, 2024
RepositoryC++
rancilio-pid/clevercoffee

Open, modular controller platform for portafilter espresso machines

424
Oct 28, 2026
RepositoryC
jniebuhr/gaggimate

This project upgrades a Gaggia espresso machine with smart controls to improve your coffee-making experience. By adding a display and custom electronics, you can monitor and control the machine more easily.

1.0k
Nov 23, 2026
RepositoryPython
sepandhaghighi/mycoffee

☕ Brew Perfect Coffee Right from Your Terminal

108
Nov 30, 2026
RepositoryC
kaspizzo/lamarzocco

Community ESP32-S3 round controller for La Marzocco machines: BLE/cloud control, local portal, Wi-Fi firmware updates, recipe presets and an experimental Linea Mini BLE scale bridge (legacy Acaia Lunar; Lunar 2021/USB-C and BOOKOO Mini/Ultra beta).

69
Nov 10, 2026
RepositoryRust
ruvnet/RuView

π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.

106.0k
Dec 3, 2026
RepositoryC++
78/xiaozhi-esp32

An MCP-based chatbot | 一个基于MCP的聊天机器人

34.2k
Dec 3, 2026
RepositoryC++
wled/WLED

Control WS2812B and many more types of digital RGB LEDs with an ESP32 over WiFi!

19.2k
Dec 1, 2026