Code Monkey home page Code Monkey logo

mimotion's Introduction

mimotion

 刷步数 GitHub forks GitHub stars GitHub issues

小米运动自动刷步数(支持邮箱登录)

小米运动自动刷步数

Github Actions 部署指南

一、Fork 此仓库

二、设置账号密码

添加名为 USERPWDOPEN_GET_WEATHERAREA的变量: Settings-->Secrets-->New secret

Secrets 格式
USER 小米运动登录账号,仅支持小米运动账号对应的手机号或邮箱,不支持小米账号
PWD 小米运动登录密码,仅支持小米运动账号对应的密码
OPEN_GET_WEATHER 开启根据地区天气情况降低步数False关闭,True开启
AREA 设置获取天气的地区(上面开启后必填)如:北京,当OPEN_GET_WEATHERFalse时填写NO
PAT 此处PAT需要申请,值为github token,教程详见:https://www.jianshu.com/p/bb82b3ad1d11 ,需要repo和workflow权限,此项必填,避免git push的权限错误。

三、自定义启动时间多账户(用不上请忽略)

多账户请用 # 分割 然后保存到变量 USERPWD

例如

13800138000#13800138001 变量 USER

abc123qwe#abcqwe2 变量 PWD

四、自定义启动时间

编辑 .github/workflows/run.yml 修改其中cron语句的判断时间为UTC时间,即北京时间-8,如北京时间8点为UTC时间0点,需要运行的时间-8就是UTC时间

五、感谢列表

本项目基于https://github.com/xunichanghuan/mimotion 项目修改,特此感谢

注意事项

  1. 每天运行六次,整由run.yml中的cron控制,分钟为随机值

  2. 多账户的数量和密码请一定要对上 不然无法使用!!!

  3. 启动时间得是UTC时间!

  4. 如果支付宝没有更新步数,到小米运动->设置->账号->注销账号->清空数据,然后重新登录,重新绑定第三方

  5. 小米运动不会更新步数,只有关联的会同步!!!!!

  6. 请各位在使用时Fork主分支,防止出现不必要的bug.

  7. 请注意,账号不是 [小米账号],而是 [小米运动] 的账号。

mimotion's People

Contributors

huangshihai avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.