Skip to content

Commit

Permalink
fix fitness machine status characteristic (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
tensorturtle authored Jan 6, 2024
1 parent 4bb1f21 commit cc8f297
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/fitness_machine_service_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def print_control_point_response(message):
power_level = 4 / 100 * max_power
print(f"Increasing target power to 4 percent of maximum power ({power_level}W).")
print("The trainer will automatically adjust resistance based on your leg speed.")
print("Try pedaling above {power_level}W to feel decreasing resistance, and vice versa.")
print(f"Try pedaling above {power_level}W to feel decreasing resistance, and vice versa.")
await ftms.set_target_power(power_level)

await asyncio.sleep(30)
Expand Down
2 changes: 1 addition & 1 deletion pycycling/fitness_machine_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
# notify: Indoor Bike Data
ftms_indoor_bike_data_characteristic_id = "00002ad2-0000-1000-8000-00805f9b34fb"
# notify: Fitness Machine Status
ftms_fitness_machine_status_characteristic_id = "00002ad3-0000-1000-8000-00805f9b34fb"
ftms_fitness_machine_status_characteristic_id = "00002ada-0000-1000-8000-00805f9b34fb"
# notify: Training Status
ftms_training_status_characteristic_id = "00002ad3-0000-1000-8000-00805f9b34fb"
# (write, indicate): Fitness Machine Control Point
Expand Down

0 comments on commit cc8f297

Please sign in to comment.