La Marzocco GS/3 & Linea Mini support

Thanks for your help so far. I think I fixed the wifi connection issues, but the issue is still here. Happy to help diagnose the issue further in case it happens to anyone else. Let me know what you need.
If you have some documentation to access the API, I can try to write some code to see if I can connect locally. I can definitely ping it.

If you know how to code you could try to init the upstream library directly (GitHub - zweckj/lmcloud: Library to interface with La Marzocco's cloud), debug through it and see if you find anything in there. Documentation for the REST calls is also there (docs folder), although I’m not exactly sure how up-to-date that is.

thanks Grant. Will add that new message in a future update.

New Linea mini gateway version V3.3-RC5 out. Will it break the HA integration ?

Didn’t break anything for me. Working normal so far.

Yep, I tried to init the library and worked fine. I’ve been coding for about 40 years :smiley:
Everything is working fine now, including the shot timer and I’m delighted, thanks so much once again for your work and support!
Here’s what I’ve been doing to fix the issue (not sure exactly what did the trick though):

  • I locked the coffee machine to the closest AP to prevent roaming
  • I installed a bluetooth proxy
  • I reconfigured the integration

Now the machine responds to commands very fast. I need to look for an LED matrix display…

Great! Happy it’s working for you now!

1 Like

Announcement: This component will move to Home Assistant core with 2024.2.0. I don’t know yet, if we already get all features in this release (Bluetooth support might be missing, for example). There are definitely things that will change compared to the custom component. The custom component will continue to work (for now), but I will not release any more updates from my GitHub, but only through official HA releases.

5 Likes

Great work

One thing i am noticing after the last two gateway updates, the “Gateway Firmware” entity id does not correct itself after the update has been completed. Maybe a restart of the system does?

Congratulations!

Has anyone installed the HA integration of Lamarzocco and getting constant state changes on their machine powering on and off? Was not happening with the HACS version.

image

I am seeing those. Also finding these errors. Model is GS3 MP.

Logger: lmcloud.lmcloud
Source: components/lamarzocco/coordinator.py:92
First occurred: February 9, 2024 at 9:48:39 AM (141 occurrences)
Last logged: 6:22:06 PM

Could not get statistics from cloud. Full error: Error during HTTP request. Request to endpoint https://gw-lmz.lamarzocco.io/v1/home/machines/GS017859/statistics/counters failed with error:
Could not connect to local API although initialized, falling back to cloud.

and

Logger: lmcloud.lmlocalapi
Source: runner.py:188
First occurred: February 9, 2024 at 2:29:48 PM (7 occurrences)
Last logged: 2:29:43 PM

Unknown websocket message received

I have a question: How should we change the integration? Just download it as a new integration in HA and delete the old HACS integration?

As I said: I would stay on the HACS version still, as the integrated version does not have all features yet.
No need to download anything to switch, you just uninstall the HACS version and add it again from the integration page.

Hey @mrvautin just wanted to pop into this thread a couple of years later to say thanks for the inspiration and automation basis for this idea. I adapted your code to also display the number of remaining shots on a small eink display next to the machine

Thanks for all the work, definitely the most used integration for me. Will you let us know when parity between HACS and normal integration is achieved? I too see some issues on a gs3 MP and I switched back to HACS where it works flawless.
Thanks again!

I will, but it’ll probably be a while

@zweckj Hi Joseph, you have an integration for the Acaia Scale & the LM Mini into Home Assistant now.

Just wondering if there is there any chance I could use the data coming from my Acaia scale to stop the extraction on my Mini when it reaches a weight I set in home assistant using the Mini integration?

Not sure if any of the current entities could stop an extraction, otherwise perhaps a relay in line with the brew lever switch to stop the extraction with an ESP32 maybe?

:slight_smile:

Take a look at:

Its not home assistant based but works great… I’ve been using it for a few months and its been great.