Hello,
Here is a new external integration that will soon be available on the store to manage your Mammotion lawn mowers:
Hello,
Here is a new external integration that will soon be available on the store to manage your Mammotion lawn mowers:
[2026-09-29T09:46:08.275Z] [INFO] Starting the Mammotion integration...
[2026-09-29T09:46:08.490Z] [INFO] [gladys-sdk] connected to Gladys (http://)
[2026-09-29T10:25:10.406Z] [INFO] onConfigUpdated -> new configuration received
[2026-09-29T10:25:10.622Z] [INFO] [mammotion] Logged in to the Mammotion cloud
[2026-09-29T10:25:15.441Z] [INFO] 1 mower(s) found on the Mammotion account
[2026-09-29T10:25:15.452Z] [ERROR] Mammotion initialization failed GladysApiError: devices[0].poll_frequency: invalid poll frequency
at HttpClient.request (/app/node_modules/@gladysassistant/integration-sdk/lib/http-client.js:49:13)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async refreshMowers (file:///app/index.js:68:3)
at async initialize (file:///app/index.js:110:20)
at async file:///app/index.js:202:3
at async GladysIntegration._runHandler (/app/node_modules/@gladysassistant/integration-sdk/lib/gladys-integration.js:1590:7)
at async GladysIntegration._handleMessage (/app/node_modules/@gladysassistant/integration-sdk/lib/gladys-integration.js:1430:9) {
status: 400,
code: 'BAD_REQUEST'
}
[2026-09-29T10:25:19.213Z] [INFO] 1 mower(s) found on the Mammotion account
[2026-09-29T10:28:41.138Z] [INFO] onConfigUpdated -> new configuration received
[2026-09-29T10:28:42.406Z] [INFO] 1 mower(s) found on the Mammotion account
[2026-09-29T10:28:42.415Z] [ERROR] Mammotion initialization failed GladysApiError: devices[0].poll_frequency: invalid poll frequency
at HttpClient.request (/app/node_modules/@gladysassistant/integration-sdk/lib/http-client.js:49:13)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async refreshMowers (file:///app/index.js:68:3)
at async initialize (file:///app/index.js:110:20)
at async file:///app/index.js:202:3
at async GladysIntegration._runHandler (/app/node_modules/@gladysassistant/integration-sdk/lib/gladys-integration.js:1590:7)
at async GladysIntegration._handleMessage (/app/node_modules/@gladysassistant/integration-sdk/lib/gladys-integration.js:1430:9) {
status: 400,
code: 'BAD_REQUEST'
}
[2026-09-29T10:28:54.595Z] [INFO] 1 mower(s) found on the Mammotion account
[2026-09-29T10:33:43.443Z] [INFO] 1 mower(s) found on the Mammotion account
[2026-09-29T10:33:43.453Z] [ERROR] Mammotion initialization failed GladysApiError: devices[0].poll_frequency: invalid poll frequency
at HttpClient.request (/app/node_modules/@gladysassistant/integration-sdk/lib/http-client.js:49:13)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async refreshMowers (file:///app/index.js:68:3)
at async initialize (file:///app/index.js:110:20) {
status: 400,
code: 'BAD_REQUEST'
}
It’s available in 1.0.1
:
Cause
poll_frequency, in milliseconds: 1000, 2000, 10000, 15000, 30000, or 60000. I checked this in Gladys’s source code.60). Gladys therefore responded with « 400 invalid poll frequency. »Fix
src/devices/mower.js: The mower is now sent to Gladys with 30000 ms if the interval is under 60 s, otherwise 60000 ms.index.js: As Gladys polls at most every 60 s, the integration ignores requests that arrive before the chosen interval. A 5 s margin absorbs small Gladys delays.still having a small issue:
LOG
[2026-09-29T16:17:25.356Z] [INFO] Starting the Mammotion integration...
[2026-09-29T16:17:25.573Z] [INFO] [gladys-sdk] connected to Gladys (http://172.30.0.1:80)
[2026-09-29T16:17:26.212Z] [INFO] [mammotion] Logged in to the Mammotion cloud
[2026-09-29T16:17:32.304Z] [INFO] 1 mower(s) found on the Mammotion account
[2026-09-29T16:17:32.415Z] [WARN] First poll failed for Luba-VPMBS8RA: user device not bind
[2026-09-29T16:20:26.253Z] [INFO] 1 mower(s) found on the Mammotion account
Correction published in the new version 1.0.2 ![]()
Could you please test with the new version 1.0.4?
If you still encounter bugs, don’t hesitate to include the logs as well, which can be very helpful ![]()
The cause
user device not bind comes from Aliyun, the old cloud of Mammotion.The fix
What you should know
It’s still not working
Logs:
[2026-09-30T20:00:40.238Z] [INFO] Starting the Mammotion integration...
[2026-09-30T20:00:40.439Z] [INFO] [gladys-sdk] connected to Gladys
[2026-09-30T20:00:40.739Z] [INFO] [mammotion] Logged in to the Mammotion cloud
[2026-09-30T20:00:45.731Z] [INFO] 1 mower(s) found on the Mammotion account
[2026-09-30T20:00:46.245Z] [INFO] [mammotion-mqtt] Connected to the Mammotion broker mqtt-eu.mammotion.com
[2026-09-30T20:00:46.304Z] [INFO] [mammotion-mqtt] Following Luba-VPMBS8RA on the Mammotion broker
[2026-09-30T20:01:16.125Z] [INFO] 1 mower(s) found on the Mammotion account
[2026-10-01T14:35:37.820Z] [INFO] 1 mower(s) found on the Mammotion account
[2026-10-01T14:36:34.624Z] [INFO] onSetValue <- ext:ext-prohand-gladys-mammotion:mower:nNlJJBp0Cxx538To70i6000000:dock = 1
[2026-10-01T14:36:34.626Z] [INFO] [mammotion] Sending "dock" to Luba-VPMBS8RA
[2026-10-01T14:36:44.989Z] [WARN] Refresh after command failed for Luba-VPMBS8RA: states[0]: must have a numeric "state" or a string "text"
It would be great if other people could test it, because I feel like my model (Luba 2), which is from March 2025, is already too old!! @JKBS64
Thanks for the logs
Can you test with the new version 1.0.5 please ![]()
The cause
state: { text: "..." }.text field, like text: "...".states[0]: must have a numeric "state" or a string "text" in your logs.What I changed
text field.There you go, the robot connected successfully and retrieved the information after 1 hour!
Log
[2026-10-01T15:22:16.622Z] [INFO] Starting the Mammotion integration...
[2026-10-01T15:22:16.825Z] [INFO] [gladys-sdk] connected to Gladys (http://172.30.0.1:80)
[2026-10-01T15:22:17.155Z] [INFO] [mammotion] Logged in to the Mammotion cloud
[2026-10-01T15:22:21.985Z] [INFO] 1 mower(s) found on the Mammotion account
[2026-10-01T15:22:22.526Z] [INFO] [mammotion-mqtt] Connected to the Mammotion broker mqtt-eu.mammotion.com
[2026-10-01T15:22:22.581Z] [INFO] [mammotion-mqtt] Following Luba-VPMBS8RA on the Mammotion broker
[2026-10-01T15:22:40.572Z] [INFO] 1 mower(s) found on the Mammotion account
[2026-10-01T16:02:24.996Z] [INFO] onSetValue <- ext:ext-prohand-gladys-mammotion:mower:nNlJJBp0Cxx538To70i6000000:mowing = 1
[2026-10-01T16:02:24.998Z] [INFO] [mammotion] Sending "start" to Luba-VPMBS8RA
[2026-10-01T16:04:09.610Z] [INFO] onSetValue <- ext:ext-prohand-gladys-mammotion:mower:nNlJJBp0Cxx538To70i6000000:dock = 1
[2026-10-01T16:04:09.611Z] [INFO] [mammotion] Sending "dock" to Luba-VPMBS8RA
[2026-10-01T16:06:29.162Z] [INFO] onSetValue <- ext:ext-prohand-gladys-mammotion:mower:nNlJJBp0Cxx538To70i6000000:dock = 1
[2026-10-01T16:06:29.163Z] [INFO] [mammotion] Sending "dock" to Luba-VPMBS8RA
It’s fixed in version 1.0.6
1. Mow / Return to Base commands did nothing
2. Information took about 1 hour to arrive
Well, it’s not conclusive:
I’d really like someone to test on another model!
Also, will there be other functions/info available?
because the goal is to replace the mammotion app, like the external integration « Dreame » which allows you to use only gladys, and all the changes made on gladys appear very quickly on the dreame app
Log:
[2026-10-02T13:25:32.777Z] [INFO] Starting the Mammotion integration...
[2026-10-02T13:25:33.065Z] [INFO] [gladys-sdk] connected to Gladys (http://172.30.0.1:80)
[2026-10-02T13:25:33.400Z] [INFO] [mammotion] Logged in to the Mammotion cloud
[2026-10-02T13:25:38.161Z] [INFO] 1 mower(s) found on the Mammotion account
[2026-10-02T13:25:38.796Z] [INFO] [mammotion-mqtt] Connected to the Mammotion broker mqtt-eu.mammotion.com
[2026-10-02T13:25:38.830Z] [INFO] [mammotion-mqtt] Following Luba-VPMBS8RA on the Mammotion broker
[2026-10-02T13:33:35.019Z] [INFO] onSetValue <- ext:ext-prohand-gladys-mammotion:mower:nNlJJBp0Cxx538To70i6000000:dock = 1
[2026-10-02T13:33:35.021Z] [INFO] [mammotion] Sending "dock" to Luba-VPMBS8RA
[2026-10-02T13:33:53.821Z] [WARN] [mammotion] Report request refused for Luba-VPMBS8RA: Device not responding
[2026-10-02T13:37:18.218Z] [INFO] onSetValue <- ext:ext-prohand-gladys-mammotion:mower:nNlJJBp0Cxx538To70i6000000:mowing = 1
[2026-10-02T13:37:18.219Z] [INFO] [mammotion] Sending "start" to Luba-VPMBS8RA
Indeed, it would be great if someone else could test, but I still sent your prompt to Claude:
What was happening, according to your logs (I compared with PyMammotion, the code used by Home Assistant):
What I changed:
It’s available in 1.0.7
I admit I don’t see the point of this integration anymore, since it can only pause/resume!
Not even a mow it can’t start!
Is it my model at fault or is it the mammotion API that doesn’t allow it?
You can start mowing here:

Maybe the button isn’t appropriate
Have you tried the latest version I deployed (1.0.7)?
Yes!
And the « mow » button crashes my Mammotion app and disconnects the robot
Note: I don’t have a « refresh » button and I had to change the refresh time in the config, which was still set to 60, replaced by 300
Log:
[2026-10-02T14:28:59.403Z] [INFO] Starting the Mammotion integration...
[2026-10-02T14:28:59.623Z] [INFO] [gladys-sdk] connected to Gladys (http://172.30.0.1:80)
[2026-10-02T14:28:59.921Z] [INFO] [mammotion] Logged in to the Mammotion cloud
[2026-10-02T14:29:05.132Z] [INFO] 1 mower(s) found on the Mammotion account
[2026-10-02T14:29:05.792Z] [INFO] [mammotion-mqtt] Connected to the Mammotion broker mqtt-eu.mammotion.com
[2026-10-02T14:29:05.826Z] [INFO] [mammotion-mqtt] Following Luba-VPMBS8RA on the Mammotion broker
[2026-10-02T14:29:05.947Z] [INFO] [mammotion-mqtt] First data received from Luba-VPMBS8RA (device_protobuf_msg_event)
[2026-10-02T14:30:34.618Z] [INFO] onConfigUpdated -> new configuration received
[2026-10-02T14:30:36.022Z] [INFO] 1 mower(s) found on the Mammotion account
[2026-10-02T14:30:38.200Z] [INFO] 1 mower(s) found on the Mammotion account
[2026-10-02T14:32:39.644Z] [INFO] onSetValue <- ext:ext-prohand-gladys-mammotion:mower:nNlJJBp0Cxx538To70i6000000:mowing = 1
[2026-10-02T14:32:39.644Z] [WARN] Luba-VPMBS8RA: No paused job to resume: start a new job from the Mammotion app
[2026-10-02T14:37:05.631Z] [INFO] 1 mower(s) found on the Mammotion account
Hello, yes I will test this weekend, my model is a Yuka mini. I’ll keep you posted.
Thanks for the feedback! In 1.0.8:
To choose a single zone, you still need to go through the app. If mowing doesn’t start, send me the logs: they indicate the zones found and the step that’s blocking.