Skip to main content

Mammotion smart home integration, free and open source

Mammotion integration for Gladys Assistant

Control your Mammotion mower (Luba, Yuka): mowing, pause, return to dock, battery and status.

Control your Mammotion robot lawn mower (Luba, Luba 2, Luba mini, Yuka…) from Gladys: start mowing, pause, send the mower back to its dock, and follow its battery and status.

What you get​

Each mower of your Mammotion account shows up with:

  • Mowing (switch): on = start or resume mowing, off = pause;
  • Return to dock (switch): on = go back to the dock, off = cancel;
  • Status: Mowing, Charging, Paused, Returning to dock, Offline…;
  • Battery (%) and Charging;
  • Blade height (mm), Total mowing time (h), Total distance (km).

Configuration​

  1. Open the Configuration tab of the integration.
  2. Enter the email and password of your Mammotion app account.
  3. Set the refresh interval (60 s by default, between 30 and 3600 s): how often Gladys reads the mower status.
  4. Save, then click Test the connection: the number of mowers found is displayed.
  5. Add your mowers from the Discovery tab.

Tip: create a second Mammotion account, share the mower with it from the app, and use that account here. Otherwise the app on your phone may be logged out when Gladys connects.

Scene ideas​

  • Start mowing on Saturday at 10 am if the battery is above 80%.
  • Send the mower back to its dock when the rain sensor detects rain.
  • Get a message when the status becomes "Location error".

Troubleshooting​

  • "Mammotion cloud unreachable": check the email and password, then click Test the connection.
  • No mower found: make sure the mower shows up in the Mammotion app with this account (owner or shared).
  • Values do not change: click Refresh the mowers now, or lower the refresh interval.
  • For details, read the integration logs with LOG_LEVEL=debug.

Configuration settings​

These are the settings Mammotion asks for in its configuration screen in Gladys.

SettingTypeRequiredDescription
Mammotion accountsectionNoUse the email and password of your Mammotion app account. Tip: create a second account, share the mower with it from the app, and use it here, so Gladys does not log you out of your phone.
EmailstringYes
PasswordsecretYes
Refresh interval (s)numberNoHow often each mower is read from the Mammotion cloud, in seconds.
Status languageselectNo

How to install Mammotion in Gladys​

  1. In Gladys, open Integrations: Mammotion appears in the catalog, next to the native integrations, with a community badge.
  2. Click Install. Gladys pulls the Docker image (ghcr.io/prohand/gladys-mammotion:1.0.2), starts it in a sandbox isolated from the core, and generates the integration's interface (devices, discovery and configuration).
  3. Open the Configuration screen of the integration, fill in the settings, and save.
  4. You can also install it directly from its repository URL: https://github.com/prohand/gladys-mammotion.

Mammotion requires Gladys >=4.86.0. The catalog inside Gladys refreshes every hour, so a new version becomes available at most one hour after its release.

Not running Gladys yet? It is free and open source: follow the installation guide to get started.

About external integrations​

Mammotion is an external integration: a community integration packaged as a Docker container and published on GitHub, that Gladys installs in one click and runs in a sandbox isolated from its core. It is published and maintained by prohand, not by the Gladys core team.

Subscribe to the Gladys Assistant newsletter

A few emails per month about new releases and project news. Sent by Pierre-Gilles Leymarie, founder of the project. Unsubscribe anytime 🙂