ZH version is available. Content is displayed in original English for accuracy.
Advertisement
Advertisement
⚡ Community Insights
Discussion Sentiment
100% Positive
Analyzed from 267 words in the discussion.
Trending Topics
#https#com#strava#wheel#running#more#project#cat#exercise#hackaday

Discussion (7 Comments)Read Original on HackerNews
His exercise routine is somewhat variable but he usually goes for a short jog a few dozen times a day. Most often at 5 am, for whatever reason.
Since the article I also built and hooked up a treat dispenser for extra motivation.
Poo time?
I was surprised that the owner said he needed to get a Strava premium account in order to be able to auto-upload the hamster's activities. Not 100% sure why.
He might be able to use https://github.com/dlenski/stravacli (written by me) or the library it's based on (https://github.com/stravalib/stravalib) to avoid this requirement and save a few bucks.
Project: > The main parts are an ESP32 attached to a hall sensor, which I positioned close to the wheel. Using a magnet attached to the back of the wheel, this tells the ESP32 when a full rotation has completed. It gives a timestamp (and total distance) to each magnet-pass, which is stored on the network. A python script (on my laptop) then retrieves this data in the morning, turns it into a .FIT file, and uploads it to Strava through the Strava API (with a randomly chosen run title, taken from a mostly AI-generated list of options, as I needed >100). In terms of manual additions, I had to add the photo manually, and Mollie had to do the running.
More here: https://www.reddit.com/r/SideProject/comments/1v9uyq0/i_buil...