zweckj / lamarzocco

Interact with your La Marzocco espresso machine
55 stars 2 forks source link

Feature Request; Support for Pico #17

Open robinbohnen opened 1 year ago

robinbohnen commented 1 year ago

As well a multiple machines support for a Pico would be nice as well :)

zweckj commented 1 year ago

What can the app do for the Pico? I won't be able to do this, as I don't own one.

robinbohnen commented 1 year ago

It has statistics, auto standby, on/off, doses settings and barista led in the app.

alexpfau commented 9 months ago

I own a Pico and support would be awesome. :)

Anything I can do to help you implement it?

zweckj commented 9 months ago

Anything I can do to help you implement it?

First you'd need to find out if they communicate through WiFi or Bluetooth, or both and then you'd basically need to map out any calls the app does to the grinder. Lastly I'd need to know how the grinder shows up in your LM cloud account

alexpfau commented 9 months ago

How do I best fetch/monitor the API calls that the app sends to the grinder and what communication they are using?

Here‘s how the grinder shows in my profile in the app:

IMG_8205

zweckj commented 9 months ago

How do I best fetch/monitor the API calls that the app sends to the grinder and what communication they are using?

For HTTP traffic mitmproxy. Bluetooth I've only done with an iPhone so far, but you'll also need a Mac with XCode tools then. For Android I saw there's a Profiler for Windows. Hit me up on Teams if you have more detailed questions on this.

robinbohnen commented 9 months ago

I own one and can do this for you. Can you give me the domainname(s) I have to add to mitmproxy? What is the most acceptable way to receive my findings for you?

zweckj commented 9 months ago

@robinbohnen what I'd need would be the response from the calls to https://cms.lamarzocco.io/api/customer (make sure you'd mask any serial numbers/keys in there). Also, I'd need the calls (both request&response) to https://gw-lmz.lamarzocco.io/v1/home if you change any settings on your grinder. Preferrably you'd mask any secrets and post them here, alternatively you can email them to me at josef@zweck.dev