Wearable devices are commonly used to monitor human movement since motor activity is a fundamental element in all phases of a person's life. Patients with motor disorders need to be monitored for a prolonged period and the battery life can be a limit for such a goal. Here the technique of harvesting energy from body heat to supply energy to wearable devices is investigated. A commercial flexible thermoelectric generator, equipped with an accelerometer, is placed on the lower leg above the ankle. The accelerometer serves to detect diverse motor activities carried out by ten students of VSB-Technical University of Ostrava involved in the execution of two tasks. To summarize, the motor activities analyzed in the proposed work are: "Sit", "Walk", "Rest", "Go biking", "Rest after biking", and "Go down and up the stairs". The maximum measured value of power density was 20.3 µW cm -2 for the "Walk" activity, corresponding to a gradient of temperature between the hot and cold side of the thermocouples constituting the flexible thermoelectric generator of 1.5 °C, while the minimum measured value of power density was 8.3 µW cm -2 for the "Sit" activity, corresponding to a gradient of temperature of 1.1 °C. Moreover, a mathematical model was developed for the recognition of motor activities carried out during the execution of the experiments. As a preliminary result, it is possible to state that semi-stationary parts of the signal generated by the thermoelectric generator can be traced back to the performance of an activity.