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.