Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python example.py --mac MAC_ADDRESS --init #41

Open
jalpeshpanchal99 opened this issue Feb 20, 2020 · 2 comments
Open

python example.py --mac MAC_ADDRESS --init #41

jalpeshpanchal99 opened this issue Feb 20, 2020 · 2 comments

Comments

@jalpeshpanchal99
Copy link

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")

@yeah61
Copy link

yeah61 commented Jun 10, 2020

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.

@GiacomoEandi
Copy link

GiacomoEandi commented Sep 11, 2020

I solved by commenting the line 104 within the file base.py
Now it works with my Raspberry Pi 4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants