cheetahdotcat / m365-mi

M365 Scooter Library , works with the latest MiAuth protocol - GitHub - catSIXe/m365-mi: M365 Scooter Library , works with the latest MiAuth protocol
17 stars 4 forks source link

Continuous scanning and one time auth. #2

Open csupi003 opened 1 year ago

csupi003 commented 1 year ago

Hi,

Would it be possible to add continuous scanning? Currently if the Scooter turns off the script stops as well. It would be great to automatically get the info once the scooter is available.

Also looks like every time I connect my scooter to it I have to press the button on the scooter. Could it be avoided?

Thanks, Oliver

cheetahdotcat commented 1 year ago

You can specify a token file, which is used for saving the pairing key. For looping you could use a bash script... but yeah this script has some room for improvements... I still need to figure out the Profile Switching Register for the SHFW, so that i can use an external trigger to switch it without the crappy App 🤮🤮