Live data from Hacker News

Show HN: Hacking Bluetooth to brew coffee in GitHub actions

grack.com

31–38 of 38 posts

Re: Show HN: Hacking Bluetooth to brew coffee in GitHub actions

#31
post #5

Need a REST API to implement HTTP 418 I'm a teapot https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/418 Or maybe even the whole the Hyper Text Coffee Pot Control Protocol (HTCPCP) https://en.m.wikipedia.org/wiki/Hyper_Text_Coffee_Pot_Contro...

you beat me to it, https://go.dev/src/net/http/status.go

Re: Show HN: Hacking Bluetooth to brew coffee in GitHub actions

#33

I'm surprised the De'Longhi BLE protocol doesn't have _any_ replay attack protection. I get that making coffee isn't a safety-critical operation, but you could do some hilariously annoying denial-of-service on the communal coffee machines.

I didn't want to go too deeply into it, but the protocol definitely has a lot of issues.

Re: Show HN: Hacking Bluetooth to brew coffee in GitHub actions

#34

Sorry for the double comment at the top level, but were you able to experiment with different values for taste, coffee, milk? Or does each recipe require constant values? It may already be in your write-up, but if it is I missed it, sorry.

I've managed to brew a few custom coffees, including a comically over-sized cappuccino when I forgot to specify milk (apparently not including the ingredient means... use a lot of it?).

The application specifically allows you to program defaults and save beverages, so this is fully supported once you have the recipes decoded.

Re: Show HN: Hacking Bluetooth to brew coffee in GitHub actions

#35
post #16

OH, THIS IS THE SAME EXACT COFFEE MACHINE I OWN. THANKS FOR THIS. Now I just need to have a robot putting cups under the dispenser

If you’re the only one using it and you’ve got at least two cups, you could place an empty cup each time you remove a full cup.

HEY, I want to automatize everything.

Re: Show HN: Hacking Bluetooth to brew coffee in GitHub actions

#36

Sorry for the double comment at the top level, but were you able to experiment with different values for taste, coffee, milk? Or does each recipe require constant values? It may already be in your write-up, but if it is I missed it, sorry.

I've managed to brew a few custom coffees, including a comically over-sized cappuccino when I forgot to specify milk (apparently not including the ingredient means... use a lot of it?). The application specifically allows you to program defaults and save beverages, so this is fully supported once you have the recipes decoded.

> (apparently not including the ingredient means... use a lot of it?)

to be fair, 0 = unlimited isn't an unheard of setting

yeah, that sounds like fun stuff to explore - playing with different values. How granular is it?

Re: Show HN: Hacking Bluetooth to brew coffee in GitHub actions

#37

Earlier quoted context omitted.

I've managed to brew a few custom coffees, including a comically over-sized cappuccino when I forgot to specify milk (apparently not including the ingredient means... use a lot of it?). The application specifically allows you to program defaults and save beverages, so this is fully supported once you have the recipes decoded.

> (apparently not including the ingredient means... use a lot of it?) to be fair, 0 = unlimited isn't an unheard of setting yeah, that sounds like fun stuff to explore - playing with different values. How granular is it?

It's wildly precise - the coffee appears to be measured in "impulses", where a single impulse is somewhere The milk is measured in 1/10s of a second of flow, most likely because the volume depends on the foam setting.

I haven't gone as far as pushing the machine out of bounds intentionally, or even sending a parameter that's considered invalid yet.

Re: Show HN: Hacking Bluetooth to brew coffee in GitHub actions

#38
Awesome! There is a whole world of Bluetooth devices waiting out there!

Some suffer from broken or outdated Android apps like my Eurochron A620 bluetooth thermometer - the only way to make it work on a modern Android version is to hack it like the OP did. (If only old apps would make their source code publicly available...)

So this article is very much appreciated.

Post reply on HN