Xiaomi treadmills can be controlled by user code

Last Updated on December 13, 2022 by pg@petergamma.org

We did some research about how to create a user controlled treadmill. One of the options is to replace for instance the engine in our Newgen Medicals treadmill by a new device which can be controlled by a computer, but we know of little DIY development in this field. But here we found an alternative:

https://community.home-assistant.io/t/xiaomi-treadmill-walkingpad-integration/204713

There are several example codes available how to control the KingSmith WalkingPad A1. We can find them by google search. But nobody has confirmed that the code that connects the King Smith Walking Pad A1 to Home Assistant works. A Home Assistant integration would be highly desirable. We have shown several options to calibrate treadmills on this site. Once we have accurate sensor readings, we can ajust to speed of the treadmill to be correct. A second advantage of Home Assistant is the InfluxDB integration. Once sensor devices are integrated to HA, we can stream data to InfluxDB. There is currently support for the Apple Watch, sports sensors which can be synched over Strava, Withings, Fitbit and several others. In InfluxDB, we can do data analysis with Python scripts.