Controlling a Coffee Machine (QBO/Tchibo) via OpenHAB

Inspired by a post from another Forum / GitHub I started to experiment with my coffeemaker.
It has built in support for Alexa, but it’s quite closed source.

What does work right now?
Extracting recipes from the machines
Sending recipes to it.

(Using smartphone/Alexa App an automated start ist also possible, but i did not figure out how to start the recipe)

Sending a recipe: (70ml Espresso)

curl -s -k -d ' {"uid": "00000000-0000-0000-0000-000000000000","creatorId": "22","userId": "33","userName": "Smarthome","name": "Espresso","coffeeAmount": 70,"foamAmount": 0,"milkAmount": 0,"cupSize": 80,"creationTimestamp": 15,"defaultRecipe": 1,"usesHotMilk": 1,"favouriteCapsuleId": -1,"sequence": {  "index_0": 2,  "index_1": 3,  "index_2": 4,  "index_3": 0,  "index_4": 0  }}' -H "Content-Type: application/json" -X POST https://qbo/brew

Get all recipes stored on a QBO

curl -s -k -H "Accept: application/json" -H "Content-Type: application/json" -X GET -k -s https://qbo/recipes

Get maintenance status

curl -s -k -H "Accept: application/json" -H "Content-Type: application/json" -X GET -k -s https://qbo/status/maintenance

In case you are using the same machine, or if you managed to start brewing from OpenHAB, it would be great to hear about it.

3 Likes

I added my knowledge to Github.


In case there is someone with the same machine :slight_smile:

1 Like

Thanks for sharing!
I really enjoy it when people add their scripts for coffee machines.
I have Mr. Coffee Cafe Barista but I still can’t add a controller to it (maybe I don’t have enough experience or it’s just impossible because here is written it doesn’t have any Alexa or something similar).