Open jalpeshpanchal99 opened 4 years ago
Traceback (most recent call last): File "example.py", line 5, in from base import MiBand2 File "/root/MiBand2/base.py", line 104 self.device.outfile.write(f"{timestamp.strftime('%d.%m.%Y - %H:%M')},{category},{intensity},{steps},{heart_rate}\n")
have you solved this problem? I meet the same question today.
I solved by commenting the line 104 within the file base.py Now it works with my Raspberry Pi 4
Traceback (most recent call last): File "example.py", line 5, in
from base import MiBand2
File "/root/MiBand2/base.py", line 104
self.device.outfile.write(f"{timestamp.strftime('%d.%m.%Y - %H:%M')},{category},{intensity},{steps},{heart_rate}\n")