Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

佳明-跑步机跑步记录好像没有同步? #284

Open
roostinghawk opened this issue Jul 20, 2022 · 13 comments
Open

佳明-跑步机跑步记录好像没有同步? #284

roostinghawk opened this issue Jul 20, 2022 · 13 comments
Labels
good first issue Good for newcomers

Comments

@roostinghawk
Copy link

是不是因为跑步机没有轨迹?

@yihong0618
Copy link
Owner

可能跑步机不属于跑步类别,可以试试 only-run = False.

@roostinghawk
Copy link
Author

默认配置(无only-run参数)的应该就是同步所有的活动,貌似不行

@yihong0618
Copy link
Owner

我理解了,是没有跑步机数据的。
因为 garmin 拿的是 gpx 而跑步机跑是没有 gpx 的。

@roostinghawk
Copy link
Author

了解,尽量还是外面跑

@arthurfsy2
Copy link

arthurfsy2 commented Jul 7, 2023

@yihong0618 大佬好,我按照提示,在佳明后面添加了 --tcx命令,成功获取.tcx的文件了,但是的action-run data sync的日志里面,所有的跑步机数据都无法成功读取。其中一个跑步机的tcx日志是:
2023-07-07T02:28:29.1634673Z Something went wrong when loading TCX. for file 254970027.tcx, we just ignore 2023-07-07T02:28:29.1635852Z this file and continue 2023-07-07T02:28:29.1636942Z Track is empty .

我看了这个tcx,里面是有track标签的(是我理解有误吗?)
相关的tcx我已打包贴上,麻烦有空看看是不是不支持佳明跑步机的tcx
activity_254970027.zip

@yihong0618
Copy link
Owner

跑步机是不行的,没有坐标数据

@arthurfsy2
Copy link

跑步机是不行的,没有坐标数据

OK,明白了,那请问知道有什么工具可以在TCX文件内添加虚拟的position数据吗?

@yihong0618
Copy link
Owner

不太知道,但应该可以从程序端解决,我有时间看看

@yihong0618 yihong0618 added the good first issue Good for newcomers label Jul 7, 2023
@NaturezzZ
Copy link
Collaborator

NaturezzZ commented Jan 17, 2024

@roostinghawk 目前使用FIT模式进行同步可以记录跑步机上跑步记录,不知是否可以解决你的问题

@roostinghawk
Copy link
Author

@roostinghawk 目前使用FIT模式进行同步可以记录跑步机上跑步记录,不知是否可以解决你的问题
@NaturezzZ 在哪里设置 fit 模式?

@NaturezzZ
Copy link
Collaborator

env.RUN_TYPE == 'garmin_sync_cn_global'
在github action中设置同步类型为garmin同步国内国际

@ld066077
Copy link

把garmin数据同步到strava,用strava_sync,可以显示跑步机跑步数据,没有轨迹

@yihong0618
Copy link
Owner

跑步机肯定没轨迹啊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

5 participants