![]() |
Accessing step counter in Wasp-OS throws ValueError: invalid sensor - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PineTime (https://forum.pine64.org/forumdisplay.php?fid=134) +--- Forum: PineTime Hardware and Accessories (https://forum.pine64.org/forumdisplay.php?fid=137) +--- Thread: Accessing step counter in Wasp-OS throws ValueError: invalid sensor (/showthread.php?tid=14762) |
Accessing step counter in Wasp-OS throws ValueError: invalid sensor - nnnqwer - 08-26-2021 Hello, I'm working on a custom Wasp-OS watch face to include the current step count. I'm using "watch.accel.steps" to get the step count value, which I picked up by looking at the step counter app included with Wasp-OS. My app works in the simulator, but crashes on the device. I tried to check the step count in a console on the watch using wasptool, and got this: Code: >>> watch.accel.steps Is there another method I should use to get the step count? I also noticed that Wasp-OS doesn't display its built in step counter app. Not sure if I'm doing something wrong. The step counter did work initially when I had InfiniTime installed, so the hardware works (or did, at one point). Any pointers appreciated! RE: Accessing step counter in Wasp-OS throws ValueError: invalid sensor - nnnqwer - 08-27-2021 Saw an issue on the Wasp-OS GitHub that might be related. I commented there. Sorry for the double-post. https://github.com/daniel-thompson/wasp-os/issues/244 RE: Accessing step counter in Wasp-OS throws ValueError: invalid sensor - danielt - 09-03-2021 No worries. As mentioned on the ticket. wasp-os CI builds now include support for BMA425. |