Hello,
Voici une nouvelle intégration externe qui sera disponible sous peu sur le store pour gérer ses tondeuses Mammotion :
Hello,
Voici une nouvelle intégration externe qui sera disponible sous peu sur le store pour gérer ses tondeuses Mammotion :
[2026-09-29T09:46:08.275Z] [INFO] Démarrage de l'intégration Mammotion...
[2026-09-29T09:46:08.490Z] [INFO] [gladys-sdk] connecté à Gladys (http://)
[2026-09-29T10:25:10.406Z] [INFO] onConfigUpdated -> nouvelle configuration reçue
[2026-09-29T10:25:10.622Z] [INFO] [mammotion] Connexion au cloud Mammotion
[2026-09-29T10:25:15.441Z] [INFO] 1 tondeuse(s) trouvée(s) sur le compte Mammotion
[2026-09-29T10:25:15.452Z] [ERROR] Initialisation de Mammotion échouée GladysApiError: devices[0].poll_frequency: fréquence de sondage invalide
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 tondeuse(s) trouvée(s) sur le compte Mammotion
[2026-09-29T10:28:41.138Z] [INFO] onConfigUpdated -> nouvelle configuration reçue
[2026-09-29T10:28:42.406Z] [INFO] 1 tondeuse(s) trouvée(s) sur le compte Mammotion
[2026-09-29T10:28:42.415Z] [ERROR] Initialisation de Mammotion échouée GladysApiError: devices[0].poll_frequency: fréquence de sondage invalide
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 tondeuse(s) trouvée(s) sur le compte Mammotion
[2026-09-29T10:33:43.443Z] [INFO] 1 tondeuse(s) trouvée(s) sur le compte Mammotion
[2026-09-29T10:33:43.453Z] [ERROR] Initialisation de Mammotion échouée GladysApiError: devices[0].poll_frequency: fréquence de sondage invalide
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'
}
C’est dispo en 1.0.1
:
Cause
poll_frequency, en millisecondes : 1000, 2000, 10000, 15000, 30000 ou 60000. Je l’ai vérifié dans le code source de Gladys.60). Gladys répondait donc « 400 invalid poll frequency ».Correction
src/devices/mower.jsCette session n’est pas en cours d’exécution, ses fichiers ne peuvent donc pas être ouverts. Envoyez un message pour la relancer. : la tondeuse est maintenant envoyée à Gladys avec 30000 ms si l’intervalle est sous 60 s, sinon 60000 ms.index.js : comme Gladys interroge au plus toutes les 60 s, l’intégration ignore les demandes qui arrivent avant l’intervalle choisi. Une marge de 5 s absorbe les petits décalages de Gladys.petit soucis encore :
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 publié dans la nouvelle version 1.0.2 ![]()
Peux-tu tester avec la nouvelle version 1.0.4 stp
Si tu as toujours des bugs, n’hésite pas a mettre les logs aussi qui peuvent être très utiles ![]()
La cause
user device not bind vient d’Aliyun, l’ancien cloud de Mammotion.La correction
Ce qu’il faut savoir
Ça ne fonctionne toujours pas
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"
Ce serait bienque d’autres personnes puissent tester , car j’ai l’impression que mon modèle (Luba 2) qui date de mars 2025 est déjà trop vieux !! @JKBS64
Merci pour les logs
Tu peux tester avec la nouvelle version 1.0.5 stp ![]()
La cause
state: { text: "..." }.text séparé, comme text: "...".states[0]: must have a numeric "state" or a string "text" dans vos logs.Ce que j’ai changé
text.Ca y est le robot s’est bien connecté et a remonté les informations au bout de 1h !
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
C’est corrigé en version 1.0.6
1. Les commandes Tonte / Retour à la base ne faisaient rien
2. Les infos mettaient environ 1 h à arriver
Bon ce n’est pas concluant :
J’aimerais bien que quelqu’un teste sur un autre modèle !
D’autre part est-ce qu’il y aura d’autres fonctions/infos de disponible ?
parce que le but est de remplacer l’appli mammotion, comme le fait l’intégration externe « Dreame » qui permet de n’utiliser que gladys, et toutes les modifications faites sur gladys apparaissent très rapidement sur l’appli dreame
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
Effectivement il serait pas mal qu’une autre personne test mais j’ai quand même envoyé ton prompt à Claude :
Ce qui se passait, d’après tes logs (j’ai comparé avec PyMammotion, le code utilisé par Home Assistant) :
Ce que j’ai changé :
C’est dispo en 1.0.7
Je t’avoue que je ne vois plus l’intérêt de cette intégration, puisqu’elle n’est capable que de faire pause/reprise !
Même une tonte elle ne sait pas la lancer !
Est-ce mon modèle qui est en cause ou bien c’est l’api mammotion qui ne le permet pas ?
Tu peux lancer la tonte ici :

Peut être que le bouton n’est pas approprié
Tu as essayé la dernière version que j’ai déployé (1.0.7) ?
oui !
Et le bouton « tondre » fait planter mon appli mammotion et déconnecte le robot
remarque : je n’ai pas de bouton « rafraichir » et j’ai dû changer dans la config le temps de rafraichissement qui était resté à 60, remplacé par 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
Bonjour, oui je vais tester ce week-end, mon modèle est un Yuka mini. Je vous tiens au jus.
Merci pour les retours ! En 1.0.8 :
Pour choisir une seule zone, il faut encore passer par l’appli. Si la tonte ne démarre pas, envoie-moi les logs : ils indiquent les zones trouvées et l’étape qui bloque.