Rockrobo.vacuum.v1 pris en charge mais commandes vides

salut.

je cherche à ajouter 3 robots mi vacuum (roborock v1 je suppose).

plugin installé, je lance la sync ca me dit ca dans le log de debug:

[2024-07-15 10:17:40] DEBUG  : Le modèle de l'équipement n'est pas pris en charge : rockrobo.vacuum.v1
[2024-07-15 10:17:40] DEBUG  : Le modèle de l'équipement n'est pas pris en charge : rockrobo.vacuum.v1
[2024-07-15 10:17:40] DEBUG  : Le modèle de l'équipement n'est pas pris en charge : rockrobo.vacuum.v1

donc je fais la modif suggérée ici:

je lance la sync, ca me met bien les 3 appareils mais vides en commandes, et avec le log de debug en continu :

[2024-07-15 10:34:32] DEBUG  : ============================ UPDATING CMD ============================
[2024-07-15 10:34:32] DEBUG  : GENERATE CMD FROM CONFIG FILE : /var/www/html/plugins/mirobot/core/class/../conf/genericmiot.json
[2024-07-15 10:34:32] DEBUG  : CMD BY genericmiot => sudo  /var/www/html/plugins/mirobot/core/class/../../resources/venv/bin/miiocli -o json_pretty genericmiot --ip 192.168.1.127 --token aaa status  >&1 2>/var/www/html/plugins/mirobot/core/class/../../data/exec/error_350.txt
[2024-07-15 10:34:54] DEBUG  : CMD result null
[2024-07-15 10:34:54]WARNING : ERROR:miio.miioprotocol:Got error when receiving: timed out
[2024-07-15 10:35:03] DEBUG  : ============================ UPDATING CMD ============================
[2024-07-15 10:35:03] DEBUG  : GENERATE CMD FROM CONFIG FILE : /var/www/html/plugins/mirobot/core/class/../conf/genericmiot.json
[2024-07-15 10:35:04] DEBUG  : CMD BY genericmiot => sudo  /var/www/html/plugins/mirobot/core/class/../../resources/venv/bin/miiocli -o json_pretty genericmiot --ip 192.168.1.70 --token aa status  >&1 2>/var/www/html/plugins/mirobot/core/class/../../data/exec/error_348.txt
[2024-07-15 10:35:27] DEBUG  : CMD result null
[2024-07-15 10:35:27]WARNING : ERROR:miio.miioprotocol:Got error when receiving: timed out
[2024-07-15 10:35:27] DEBUG  : ============================ UPDATING CMD ============================
[2024-07-15 10:35:27] DEBUG  : GENERATE CMD FROM CONFIG FILE : /var/www/html/plugins/mirobot/core/class/../conf/genericmiot.json
[2024-07-15 10:35:27] DEBUG  : CMD BY genericmiot => sudo  /var/www/html/plugins/mirobot/core/class/../../resources/venv/bin/miiocli -o json_pretty genericmiot --ip 192.168.43.220 --token aa status  >&1 2>/var/www/html/plugins/mirobot/core/class/../../data/exec/error_349.txt
[2024-07-15 10:35:34] DEBUG  : CMD result null
[2024-07-15 10:35:34]WARNING : ERROR:miio.click_common:Exception: Unable to discover the device 192.168.43.220
[2024-07-15 10:35:34] DEBUG  : ============================ UPDATING CMD ============================
[2024-07-15 10:35:34] DEBUG  : GENERATE CMD FROM CONFIG FILE : /var/www/html/plugins/mirobot/core/class/../conf/genericmiot.json
[2024-07-15 10:35:34] DEBUG  : CMD BY genericmiot => sudo  /var/www/html/plugins/mirobot/core/class/../../resources/venv/bin/miiocli -o json_pretty genericmiot --ip 192.168.1.127 --token aaa status  >&1 2>/var/www/html/plugins/mirobot/core/class/../../data/exec/error_350.txt
[2024-07-15 10:35:56] DEBUG  : CMD result null
[2024-07-15 10:35:56]WARNING : ERROR:miio.miioprotocol:Got error when receiving: timed out
[2024-07-15 10:36:02] DEBUG  : ============================ UPDATING CMD ============================
[2024-07-15 10:36:02] DEBUG  : GENERATE CMD FROM CONFIG FILE : /var/www/html/plugins/mirobot/core/class/../conf/genericmiot.json
[2024-07-15 10:36:02] DEBUG  : CMD BY genericmiot => sudo  /var/www/html/plugins/mirobot/core/class/../../resources/venv/bin/miiocli -o json_pretty genericmiot --ip 192.168.1.70 --token aaa status  >&1 2>/var/www/html/plugins/mirobot/core/class/../../data/exec/error_348.txt
[2024-07-15 10:36:24] DEBUG  : CMD result null
[2024-07-15 10:36:24]WARNING : ERROR:miio.miioprotocol:Got error when receiving: timed out
[2024-07-15 10:36:24] DEBUG  : ============================ UPDATING CMD ============================
[2024-07-15 10:36:24] DEBUG  : GENERATE CMD FROM CONFIG FILE : /var/www/html/plugins/mirobot/core/class/../conf/genericmiot.json
[2024-07-15 10:36:24] DEBUG  : CMD BY genericmiot => sudo  /var/www/html/plugins/mirobot/core/class/../../resources/venv/bin/miiocli -o json_pretty genericmiot --ip 192.168.43.220 --token aaa status  >&1 2>/var/www/html/plugins/mirobot/core/class/../../data/exec/error_349.txt
[2024-07-15 10:36:31] DEBUG  : CMD result null
[2024-07-15 10:36:31]WARNING : ERROR:miio.click_common:Exception: Unable to discover the device 192.168.43.220
[2024-07-15 10:36:31] DEBUG  : ============================ UPDATING CMD ============================
[2024-07-15 10:36:31] DEBUG  : GENERATE CMD FROM CONFIG FILE : /var/www/html/plugins/mirobot/core/class/../conf/genericmiot.json
[2024-07-15 10:36:31] DEBUG  : CMD BY genericmiot => sudo  /var/www/html/plugins/mirobot/core/class/../../resources/venv/bin/miiocli -o json_pretty genericmiot --ip 192.168.1.127 --token aaa status  >&1 2>/var/www/html/plugins/mirobot/core/class/../../data/exec/error_350.txt
[2024-07-15 10:36:54] DEBUG  : CMD result null
[2024-07-15 10:36:54]WARNING : ERROR:miio.miioprotocol:Got error when receiving: timed out
[2024-07-15 10:37:02] DEBUG  : ============================ UPDATING CMD ============================
[2024-07-15 10:37:02] DEBUG  : GENERATE CMD FROM CONFIG FILE : /var/www/html/plugins/mirobot/core/class/../conf/genericmiot.json
[2024-07-15 10:37:02] DEBUG  : CMD BY genericmiot => sudo  /var/www/html/plugins/mirobot/core/class/../../resources/venv/bin/miiocli -o json_pretty genericmiot --ip 192.168.1.70 --token aaa status  >&1 2>/var/www/html/plugins/mirobot/core/class/../../data/exec/error_348.txt
[2024-07-15 10:37:25] DEBUG  : CMD result null
[2024-07-15 10:37:25]WARNING : ERROR:miio.miioprotocol:Got error when receiving: timed out
[2024-07-15 10:37:25] DEBUG  : ============================ UPDATING CMD ============================
[2024-07-15 10:37:25] DEBUG  : GENERATE CMD FROM CONFIG FILE : /var/www/html/plugins/mirobot/core/class/../conf/genericmiot.json
[2024-07-15 10:37:25] DEBUG  : CMD BY genericmiot => sudo  /var/www/html/plugins/mirobot/core/class/../../resources/venv/bin/miiocli -o json_pretty genericmiot --ip 192.168.43.220 --token aaa status  >&1 2>/var/www/html/plugins/mirobot/core/class/../../data/exec/error_349.txt
[2024-07-15 10:37:31] DEBUG  : CMD result null
[2024-07-15 10:37:31]WARNING : ERROR:miio.click_common:Exception: Unable to discover the device 192.168.43.220
[2024-07-15 10:37:31] DEBUG  : ============================ UPDATING CMD ============================
[2024-07-15 10:37:31] DEBUG  : GENERATE CMD FROM CONFIG FILE : /var/www/html/plugins/mirobot/core/class/../conf/genericmiot.json
[2024-07-15 10:37:31] DEBUG  : CMD BY genericmiot => sudo  /var/www/html/plugins/mirobot/core/class/../../resources/venv/bin/miiocli -o json_pretty genericmiot --ip 192.168.1.127 --token aaa status  >&1 2>/var/www/html/plugins/mirobot/core/class/../../data/exec/error_350.txt
[2024-07-15 10:37:54] DEBUG  : CMD result null
[2024-07-15 10:37:54]WARNING : ERROR:miio.miioprotocol:Got error when receiving: timed out
[2024-07-15 10:38:02] DEBUG  : ============================ UPDATING CMD ============================
[2024-07-15 10:38:02] DEBUG  : GENERATE CMD FROM CONFIG FILE : /var/www/html/plugins/mirobot/core/class/../conf/genericmiot.json
[2024-07-15 10:38:02] DEBUG  : CMD BY genericmiot => sudo  /var/www/html/plugins/mirobot/core/class/../../resources/venv/bin/miiocli -o json_pretty genericmiot --ip 192.168.1.70 --token aaa status  >&1 2>/var/www/html/plugins/mirobot/core/class/../../data/exec/error_348.txt
[2024-07-15 10:38:25] DEBUG  : CMD result null
[2024-07-15 10:38:25]WARNING : ERROR:miio.miioprotocol:Got error when receiving: timed out
[2024-07-15 10:38:25] DEBUG  : ============================ UPDATING CMD ============================
[2024-07-15 10:38:25] DEBUG  : GENERATE CMD FROM CONFIG FILE : /var/www/html/plugins/mirobot/core/class/../conf/genericmiot.json
[2024-07-15 10:38:25] DEBUG  : CMD BY genericmiot => sudo  /var/www/html/plugins/mirobot/core/class/../../resources/venv/bin/miiocli -o json_pretty genericmiot --ip 192.168.43.220 --token aaa status  >&1 2>/var/www/html/plugins/mirobot/core/class/../../data/exec/error_349.txt
[2024-07-15 10:38:32] DEBUG  : CMD result null
[2024-07-15 10:38:32]WARNING : ERROR:miio.click_common:Exception: Unable to discover the device 192.168.43.220
[2024-07-15 10:38:32] DEBUG  : ============================ UPDATING CMD ============================
[2024-07-15 10:38:32] DEBUG  : GENERATE CMD FROM CONFIG FILE : /var/www/html/plugins/mirobot/core/class/../conf/genericmiot.json
[2024-07-15 10:38:32] DEBUG  : CMD BY genericmiot => sudo  /var/www/html/plugins/mirobot/core/class/../../resources/venv/bin/miiocli -o json_pretty genericmiot --ip 192.168.1.127 --token aaa status  >&1 2>/var/www/html/plugins/mirobot/core/class/../../data/exec/error_350.txt
[2024-07-15 10:38:54] DEBUG  : CMD result null
[2024-07-15 10:38:54]WARNING : ERROR:miio.miioprotocol:Got error when receiving: timed out

(jai remplacé le token dans le log collé ci-dessus par aaa)

est-ce que je peux/dois créer les commandes de base malgré tout?
est-ce que je dois autoriser qqch sur l’app mi home ? etc.

merci.

Salut,

comme tu as du le voir un peu plus loin dans la discussion : si vous souhaitez bidouiller le plugin, il faut aller jusqu’au bout …

le robot est sur le même réseau de ton jeedom ?
→ ton jeedom a une IP 192.168.43.xxx ?

merci pour ta réponse :slight_smile:

j’ai viré le 3e robot pour éviter de se focaliser sur cette IP d’un aspi qui effectivement n’est pas sur le même réseau.

pour les 2 autres sur le même réseau que jeedom j’ai toujours l’erreur:

1445|[2024-07-15 13:09:25] DEBUG  : ============================ UPDATING CMD ============================
1446|[2024-07-15 13:09:25] DEBUG  : GENERATE CMD FROM CONFIG FILE : /var/www/html/plugins/mirobot/core/class/../conf/genericmiot.json
1447|[2024-07-15 13:09:25] DEBUG  : CMD BY genericmiot => sudo  /var/www/html/plugins/mirobot/core/class/../../resources/venv/bin/miiocli -o json_pretty genericmiot --ip 192.168.1.127 --token aaa status  >&1 2>/var/www/html/plugins/mirobot/core/class/../../data/exec/error_350.txt
1448|[2024-07-15 13:09:47] DEBUG  : CMD result null
1449|[2024-07-15 13:09:47]WARNING : ERROR:miio.miioprotocol:Got error when receiving: timed out
1450|[2024-07-15 13:10:04] DEBUG  : ============================ UPDATING CMD ============================
1451|[2024-07-15 13:10:04] DEBUG  : GENERATE CMD FROM CONFIG FILE : /var/www/html/plugins/mirobot/core/class/../conf/genericmiot.json
1452|[2024-07-15 13:10:04] DEBUG  : CMD BY genericmiot => sudo  /var/www/html/plugins/mirobot/core/class/../../resources/venv/bin/miiocli -o json_pretty genericmiot --ip 192.168.1.70 --token bbb status  >&1 2>/var/www/html/plugins/mirobot/core/class/../../data/exec/error_348.txt
1453|[2024-07-15 13:10:28] DEBUG  : CMD result null
1454|[2024-07-15 13:10:28]WARNING : ERROR:miio.miioprotocol:Got error when receiving: timed out
1455|[2024-07-15 13:10:28] DEBUG  : ============================ UPDATING CMD ============================

et pourtant ils sont atteignables, pas avec un wifi de fou, mais via l’app mi home aucun souci de réactivité et d’accessibilité…

je vais aller regarder ce error_348.txt pour voir…

bon nouvel essai hier et après quelques raffraichissements, sync, clics sur les boutons, etc. les commandes sont apparues :slight_smile: ca marche nickel.

la seule chose que je n’ai pas trouvé, c’est la liste des statuts (6=? 8=?)…

bravo et merci