wasp-os / wasp-os

A MicroPython based development environment for smart watches (including Pine64 PineTime)
https://wasp-os.readthedocs.io/
GNU General Public License v3.0
829 stars 227 forks source link

Step counter not implemented on second generation Colmi P8 (uses different accelerometer) #100

Open Gozel opened 3 years ago

Gozel commented 3 years ago

Hi Daniel, thanks for this open source project! I tried to install the steps.py on the Colmi P8 and I get following output after it's uploaded to the watch:

Traceback (most recent call last):
  File "<stdin>", in <module>
  File "<stdin>", in __init__
  File "drivers/bma421.py", in reset
ValueError: invalid sensor

Can you advise?

SteveAmor commented 3 years ago

Hi @Gozel check out #69 It's likely that you have a newer P8 with a different accelerometer.

daniel-thompson commented 3 years ago

Assuming you bought the new model P8 (with the magnetic charger) then this is because the sensor is not supported: https://wasp-os.readthedocs.io/en/latest/install.html#colmi-p8

Gozel commented 3 years ago

Hi Steve and Daniel, yes, that's it. Thanks! Apologies for having overlooked that. Question, will there be support for the new accelerometer?

daniel-thompson commented 3 years ago

I don't think anybody is currently working on this, so don't expect anything in the short term. Ultimately we never know when an interested person will step forward to write something so, in the longer term, I just don't know.

Gozel commented 3 years ago

Fair. Many thanks!