Require iTunes installed
Make backup then run this script
Usage :
Manual : commandline with iTunes Backup Dir
Auto : trying to find iTunes Backup Dir in appdata folder like "%appdata%\Apple Computer\MobileSync\Backup"
Ressources : https://domotique123.com/recuperer-le-token-du-robot-xiaomi-roborock-quand-on-est-sur-ios/