In versions 5.0.31+ there is empty field `token` in `miio2.db` file. They change something in application. An investigation is required. Tested on Mi Robot Vacuum Cleaner (1st generation)