r/SpinnCoffee • • 9d ago

DizzyCoffee Unofficial OSS Spinn Python Controls & Home Assistant

Happy to let you guys know about quick project: DizzyCoffee. Up front: I've developed this with the help of Claude. I'm an experienced dev, and reviewed all commits, but the code was primarily authored by an AI agent. I consider this more _"agentic development"_ than vibecoding, but I'll leave that distinction to you all.

DizzyCoffee enables Home Assistant to read your Spinn’s status, brew, and adjust recipes using your own Spinn account against their cloud, as the app does. It's unaffiliated with Spinn. MIT licensed.

Install with HACS or Home Assistant Marketplace:

In HACS or Settings → Marketplace → ⋮ → Custom repositories → add https://github.com/spiegela/dizzycoffee (Integration) → install "Spinn Coffee Maker" → restart → Add integration → Spinn, and sign in.

Or manually: copy custom_components/spinn into your config folder. The dashboard cards come with it.

Bug reports, feature requests, pull requests, and feedback are welcome on the Github repository.

Can it work without Spinn’s cloud?

Probably not, unfortunately. The machine talks to AWS IoT over mTLS: checking the server’s identity with each request. Redirecting it to a local server would mean changing the certificates it trusts by modifying the firmware. Secure boot may block that. I’d like to try anyway. If you have a broken Spinn whose controller board still works and you’d lend or donate it, please message me.

27 Upvotes

5 comments sorted by

1

u/lampshade29 9d ago

Been waiting for something like this.

1

u/sabresite 8d ago

Can we use eMudhra exploit to get around the AWS mTLs and dump the firmware or unofficial OTA?

1

u/Fit_Experience_4829 8d ago

It’s an Espressif IoT board, not sure if it’s directly accessible via WiFi / Bluetooth. I know there’s a button in the app to check for new firmware/updates. I have to imagine via that update check if the correct response was provided, the last firmware update could be downloaded.

1

u/TheTriscuit 8d ago

I've tried. My testing showed there's 2 revisions of board, on the older board you could theoretically flash your own firmware but on the newer board it's not poasible.

Getting an update from the server has been fruitless so far.

1

u/kavisiegel 1d ago

Somebody in the Facebook group had mentioned that the provisioning step when you first add the spinn to your account is what provides the credentials to the machine. I don't know if that's totally accurate, but if so, you could do some DNS and return it creds to a connection you control