I'd like to attach a battery powered IOT Device to my Cat Wheel to measure the number of times it rotates across the afternoon. Not too concerned about what programming language is involved in writing the code for it. It has a nice surface on the wheel to mount a magnet and on the supporting leg to catch a signal from it passing if there is a nice way to measure that. You can see the cat wheel at https://www.ziggydoo.com/en/home/8-ferris-cat-exercise-wheel.html#/11-color-black
Any ideas are greatly appreciated for this very important project Patrick