# Spinn bean-to-cup coffee maker: Decoded the Spinn coffee maker's cloud and MQTT protocol with Claude

> Source: <https://reversedwithai.com/p/spinn-coffee-maker-aws-iot-protocol-dizzycoffee-claude>
> Published: 2026-11-20 10:44:22+00:00

**Recommendation:** Gate state-changing device commands behind confirmation prompts and a dry-run mode, and scope credentials to a per-device client certificate rather than a shared account, as DizzyCoffee did for Spinn machines.
More in the playbook "Securing agents and AI tools": <https://wpnews.pro/playbooks/agent-security>

## What was done

The repository documents the reverse engineered sign-in, REST and MQTT protocol of Spinn machines. Claude Opus 4.8 and 5.5 co-author trailers appear on 27 commits.

DizzyCoffee is a read-mostly Python command line tool for the Spinn bean-to-cup coffee maker. The README says the machines are AWS IoT Core appliances: the phone app signs the user in, fetches a client certificate for that user's own machine and talks to it over MQTT with mutual TLS. The tool repeats that sequence for the owner's machine so state and brewing can be reached from tools such as Home Assistant. The protocol is written up in docs/PROTOCOL.md.

### How it was done

Claude Opus 4.8 and Claude Opus 5.5 co-author trailers appear on most of the commits, along with Claude session links. Commands that change state ask for confirmation and have a dry-run mode.

### Results

The README says sign-in, device and certificate fetch, the AWS IoT connection, reading the shadow and brewing were verified end to end against a real machine.

## Discussion

[Your library](https://reversedwithai.com/library)

## Sources

Sources reviewed · Added

An AI model drafted this entry from the sources above. An automated check matched its claims against them on 20 Nov 2026. The figures are the author's. [How entries are checked.](https://reversedwithai.com/about#method) [Something wrong? Tell me.](https://reversedwithai.com/policy#takedown)
