Giter VIP home page Giter VIP logo

wechatstep's Introduction

准备工作

  • 启用微信运动,打开排行榜,为避免出现问题,建议授予微信运动传感器权限;
  • 下载安装Zepp Life(原小米运动),为避免出问题,建议绑定前打开存储、运动传感器权限;
  • 使用国内手机号注册并登录Zepp Life,并在第三方数据来源中绑定微信(支付宝等其他app同理);
  • 可以先杀掉微信,然后在Zepp Life中手摇一些步数出来,然后打开微信后看能否同步过去

修改配置

  • 配置文件(config.json)参数说明:
  • ScheduleTime:定时器,每天哪个时间运行,格式"HH:MM"。如果仅运行一次,则留空;
  • Tag:为该账户起一个好识别的名称,无实际作用;
  • PhoneNum:Zepp Life登录手机号;
  • PassWord:Zepp Life密码;
  • StepNum:需要刷的步数,格式"XXXXX-YYYYY",则会在XXXXX-YYYYY之间随机一个数字;格式"XXXXX",则会固定步数"XXXXX";
  • DeviceId:设备唯一码,程序自动按账户随机生成,无需自行填写。

本地运行

  • 准备一个python3运行环境,并安装有pip
  • 拷贝本程序到任意目录,如/usr/src/app
  • 安装依赖:pip install -r requirements.txt
  • 执行:python wechatstep.py

Docker

  • 暂时仅为简单说明
  • 生成镜像:docker build -t cokebar/wechatstep .
  • 复制config.json到宿主机按需编辑,并将其挂载到容器/usr/src/app/config.json

参考: https://blog.csdn.net/Jaeger_Java/article/details/109631118

wechatstep's People

Contributors

cokebar avatar

Watchers

 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.