Mi Robot Vacuum Mop-P pièces non remontées

Bonjour
Merci pour ce plugin :+1:
L’installation du plugin mirobot c’est très bien passé et je peux commander le robot.
Sauf que les pièces ne sont pas remontées !
Le robot est vu en tant que viomi.vacuum.v8, le type est donc Viomi
J’ai testé avec le plugin stable et beta…
Merci de votre aide

Salut,

avec les logs on aura peut etre plus d’infos …

je pensais qu’il s’agissait d’un problème connu puisque tout le reste marche parfaitement…
Voici le log demandé

[2023-12-01 13:38:45][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=mirobot function=remove callInstallFunction=1
[2023-12-01 13:38:50][INFO] : Début d'activation du plugin
[2023-12-01 13:38:51][INFO] : Info sur le démon : {"launchable_message":"","launchable":"nok","state":"nok","log":"nok","auto":0}
[2023-12-01 13:38:51][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=mirobot function=install callInstallFunction=1
[2023-12-01 13:40:05][DEBUG] : *** REFRESH 5min****
[2023-12-01 13:40:05][DEBUG] : ============================ UPDATING CMD ============================
[2023-12-01 13:40:05][DEBUG] : GENERATE CMD FROM CONFIG FILE : /var/www/html/plugins/mirobot/core/class/../conf/viomivacuum.json
[2023-12-01 13:40:05][DEBUG] : CMD BY viomivacuum => sudo  /var/www/html/plugins/mirobot/core/class/../../resources/venv/bin/miiocli -o json_pretty viomivacuum --ip 192.168.10.161 --token 357676764a30464c4335577558336148 status  2>&1 
[2023-12-01 13:40:16][DEBUG] : JSON {"battary_life":100,"box_type":1,"err_state":2105,"has_map":1,"has_newmap":0,"hw_info":"1.0.3","is_charge":0,"is_mop":0,"is_work":1,"light_state":1,"mode":0,"mop_type":0,"order_time":"0","remember_map":1,"repeat_state":0,"run_state":5,"s_area":13.68,"s_time":18,"start_time":0,"suction_grade":2,"sw_info":"3.5.3_0017","v_state":10,"water_grade":12,"zone_data":"0"}
[2023-12-01 13:40:16][DEBUG] : Updating [battary_life] with value [100]
[2023-12-01 13:40:16][DEBUG] : Updating [err_state] with value [2105]
[2023-12-01 13:40:16][DEBUG] : Updating [is_charge] with value [0]
[2023-12-01 13:40:16][DEBUG] : Updating [run_state] with value [5]
[2023-12-01 13:40:16][DEBUG] : Updating [s_area] with value [13.68]
[2023-12-01 13:40:16][DEBUG] : Updating [s_time] with value [18]
[2023-12-01 13:40:16][DEBUG] : Updating [suction_grade] with value [2]
[2023-12-01 13:42:35][DEBUG] : ============================ EXEC CMD ============================
[2023-12-01 13:42:35][DEBUG] :   with options : {"user_login":"pm","user_id":"5"}
[2023-12-01 13:42:35][DEBUG] : running : start - request: start
[2023-12-01 13:42:35][DEBUG] : CMD BY viomivacuum => sudo  /var/www/html/plugins/mirobot/core/class/../../resources/venv/bin/miiocli -o json_pretty viomivacuum --ip 192.168.10.161 --token 357676764a30464c4335577558336148 start  2>&1 
[2023-12-01 13:42:47][DEBUG] : ============================ UPDATING CMD ============================
[2023-12-01 13:42:47][DEBUG] : GENERATE CMD FROM CONFIG FILE : /var/www/html/plugins/mirobot/core/class/../conf/viomivacuum.json
[2023-12-01 13:42:47][DEBUG] : CMD BY viomivacuum => sudo  /var/www/html/plugins/mirobot/core/class/../../resources/venv/bin/miiocli -o json_pretty viomivacuum --ip 192.168.10.161 --token 357676764a30464c4335577558336148 status  2>&1 
[2023-12-01 13:42:50][DEBUG] : JSON {"battary_life":100,"box_type":1,"err_state":2110,"has_map":1,"has_newmap":0,"hw_info":"1.0.3","is_charge":1,"is_mop":0,"is_work":0,"light_state":1,"mode":0,"mop_type":0,"order_time":"0","remember_map":1,"repeat_state":0,"run_state":3,"s_area":0,"s_time":0,"start_time":0,"suction_grade":2,"sw_info":"3.5.3_0017","v_state":10,"water_grade":12,"zone_data":"0"}
[2023-12-01 13:42:50][DEBUG] : Updating [battary_life] with value [100]
[2023-12-01 13:42:50][DEBUG] : Updating [err_state] with value [2110]
[2023-12-01 13:42:50][DEBUG] : Updating [is_charge] with value [1]
[2023-12-01 13:42:50][DEBUG] : Updating [run_state] with value [3]
[2023-12-01 13:42:50][DEBUG] : Updating [s_area] with value [0]
[2023-12-01 13:42:50][DEBUG] : Updating [s_time] with value [0]
[2023-12-01 13:42:50][DEBUG] : Updating [suction_grade] with value [2]
[2023-12-01 13:42:55][DEBUG] : ============================ EXEC CMD ============================
[2023-12-01 13:42:55][DEBUG] :   with options : {"user_login":"pm","user_id":"5"}
[2023-12-01 13:42:55][DEBUG] : running : stop - request: stop
[2023-12-01 13:42:55][DEBUG] : CMD BY viomivacuum => sudo  /var/www/html/plugins/mirobot/core/class/../../resources/venv/bin/miiocli -o json_pretty viomivacuum --ip 192.168.10.161 --token 357676764a30464c4335577558336148 stop  2>&1 
[2023-12-01 13:43:03][DEBUG] : ============================ UPDATING CMD ============================
[2023-12-01 13:43:03][DEBUG] : GENERATE CMD FROM CONFIG FILE : /var/www/html/plugins/mirobot/core/class/../conf/viomivacuum.json
[2023-12-01 13:43:03][DEBUG] : CMD BY viomivacuum => sudo  /var/www/html/plugins/mirobot/core/class/../../resources/venv/bin/miiocli -o json_pretty viomivacuum --ip 192.168.10.161 --token 357676764a30464c4335577558336148 status  2>&1 

J aurais peut etre du preciser… les logs de creation des commandes.
A la creation de l equipement ou alors en cliquant sur le bouton synchro les commandes

:slightly_smiling_face:

[2023-12-01 14:20:05][DEBUG] : *** REFRESH 5min****
[2023-12-01 14:20:05][DEBUG] : ============================ UPDATING CMD ============================
[2023-12-01 14:20:05][DEBUG] : GENERATE CMD FROM CONFIG FILE : /var/www/html/plugins/mirobot/core/class/../conf/viomivacuum.json
[2023-12-01 14:20:05][DEBUG] : CMD BY viomivacuum => sudo  /var/www/html/plugins/mirobot/core/class/../../resources/venv/bin/miiocli -o json_pretty viomivacuum --ip 192.168.10.161 --token 357676764a30464c4335577558336148 status  2>&1 
[2023-12-01 14:20:13][DEBUG] : JSON {"battary_life":90,"box_type":1,"err_state":0,"has_map":1,"has_newmap":0,"hw_info":"1.0.3","is_charge":1,"is_mop":0,"is_work":1,"light_state":1,"mode":0,"mop_type":0,"order_time":"0","remember_map":1,"repeat_state":0,"run_state":1,"s_area":0.2,"s_time":0,"start_time":0,"suction_grade":2,"sw_info":"3.5.3_0017","v_state":10,"water_grade":12,"zone_data":"0"}
[2023-12-01 14:20:13][DEBUG] : Updating [battary_life] with value [90]
[2023-12-01 14:20:13][DEBUG] : Updating [err_state] with value [0]
[2023-12-01 14:20:13][DEBUG] : Updating [is_charge] with value [1]
[2023-12-01 14:20:13][DEBUG] : Updating [run_state] with value [1]
[2023-12-01 14:20:13][DEBUG] : Updating [s_area] with value [0.2]
[2023-12-01 14:20:13][DEBUG] : Updating [s_time] with value [0]
[2023-12-01 14:20:13][DEBUG] : Updating [suction_grade] with value [2]
[2023-12-01 14:20:23][DEBUG] : removing all commands
[2023-12-01 14:20:23][DEBUG] : ============================ CREATING CMD ============================
[2023-12-01 14:20:23][DEBUG] : GENERATE CMD FROM CONFIG FILE : /var/www/html/plugins/mirobot/core/class/../conf/viomivacuum.json
[2023-12-01 14:20:23][DEBUG] : CMD BY viomivacuum => sudo  /var/www/html/plugins/mirobot/core/class/../../resources/venv/bin/miiocli -o json_pretty viomivacuum --ip 192.168.10.161 --token 357676764a30464c4335577558336148 status  2>&1 
[2023-12-01 14:20:30][DEBUG] :   -- creating cmd Batterie
[2023-12-01 14:20:30][DEBUG] :   -- creating cmd En Charge
[2023-12-01 14:20:30][DEBUG] :   -- creating cmd Erreur
[2023-12-01 14:20:30][WARNING] :   -- skipping cmd Equipement en erreur
[2023-12-01 14:20:30][WARNING] :   -- skipping cmd Etat
[2023-12-01 14:20:30][DEBUG] :   -- creating cmd Statut
[2023-12-01 14:20:30][DEBUG] :   -- creating cmd Temps de nettoyage
[2023-12-01 14:20:30][DEBUG] :   -- creating cmd Surface Nettoyée
[2023-12-01 14:20:30][DEBUG] :   -- creating cmd Vitesse Mode
[2023-12-01 14:20:30][DEBUG] :   -- creating cmd Arreter
[2023-12-01 14:20:30][DEBUG] :   -- creating cmd Démarrer
[2023-12-01 14:20:30][DEBUG] :   -- creating cmd Maison
[2023-12-01 14:20:30][DEBUG] :   -- creating cmd Cherche Moi
[2023-12-01 14:20:30][DEBUG] :   -- creating cmd Rafraichir
[2023-12-01 14:20:30][DEBUG] :   -- creating cmd Vitesse
[2023-12-01 14:20:30][DEBUG] :   -- creating cmd Commande perso
[2023-12-01 14:20:30][DEBUG] : CMD BY viomivacuum => sudo  /var/www/html/plugins/mirobot/core/class/../../resources/venv/bin/miiocli -o json_pretty viomivacuum --ip 192.168.10.161 --token 357676764a30464c4335577558336148 get_rooms  2>&1 
[2023-12-01 14:20:42][WARNING] : Skipping cmd creation - No rooms available : Syntax error
[2023-12-01 14:20:42][DEBUG] : rooms => null
[2023-12-01 14:20:42][DEBUG] : ============================ UPDATING CMD ============================
[2023-12-01 14:20:42][DEBUG] : GENERATE CMD FROM CONFIG FILE : /var/www/html/plugins/mirobot/core/class/../conf/viomivacuum.json
[2023-12-01 14:20:42][DEBUG] : JSON {"battary_life":90,"box_type":1,"err_state":0,"has_map":1,"has_newmap":0,"hw_info":"1.0.3","is_charge":1,"is_mop":0,"is_work":1,"light_state":1,"mode":0,"mop_type":0,"order_time":"0","remember_map":1,"repeat_state":0,"run_state":1,"s_area":0.2,"s_time":0,"start_time":0,"suction_grade":2,"sw_info":"3.5.3_0017","v_state":10,"water_grade":12,"zone_data":"0"}
[2023-12-01 14:20:42][DEBUG] : Updating [battary_life] with value [90]
[2023-12-01 14:20:42][DEBUG] : Updating [err_state] with value [0]
[2023-12-01 14:20:42][DEBUG] : Updating [is_charge] with value [1]
[2023-12-01 14:20:42][DEBUG] : Updating [run_state] with value [1]
[2023-12-01 14:20:42][DEBUG] : Updating [s_area] with value [0.2]
[2023-12-01 14:20:42][DEBUG] : Updating [s_time] with value [0]
[2023-12-01 14:20:42][DEBUG] : Updating [suction_grade] with value [2]

pas pièce du coup !


ah oui c’est vrai … viaomi ya un mode opératoire vraiment dégueulasse (pas de moi!) à suivre pour que les pièces puissent remonter !
faut que je retrouve ça et que je l’ajoute dans la doc !

je te trouve ça

Ok… de toute façon il n’y a pas urgence…
Encore merci

alors sur l’app Xiaomi, il faut créer 2 « fausses » planification :

le 1er :
à 0h00 toutes les pièces sauf une
tu enregistres
puis tu désactives

et un 2nd
à 0h00 la seule pièce que tu n’as pas sélectionnée en 1
tu enregistres
puis tu désactives

ensuite tu refais une synchro des commandes sur le plugin

mais je n’ai aucune piece!

« application » VERSUS « plugin » …
je viens d’ajouter la précision « xiaomi » sur mon précédent msg … :confused:

OK… j’avais pas saisi :smiley:

parfait… ça a marché et j’ai bien retrouvé toutes les pièces dans les commandes.
encore merci

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.