Note: The billing method of Tencent cloud functions has been changed. There has been no free quota since 6.1. Please refer to the official instructions of Tencent Cloud for the detailed billing method. Don't use it if unnecessary~~
As of today, the blogger has occupied the cover of WeChat sports friends for more than half a year, and has been locked in a small dark room by many friends 😂
The so-called solo music is not as good as public music. In order for more people to enjoy the fun of being pulled black, we will send out the detailed tutorial of brush step today.
This tutorial is implemented using the cloud function of Tencent Cloud (the free quota is sufficient), so you must first have a real name authenticated Tencent Cloud account. If you don't have one, you can register one. I won't explain too much here.
You can use WeChat Sports and Alipay Sports
The following tutorial officially begins
Download Xiaomi Sports and open the Xiaomi Sports APP to register your account
Click My Third Party Access to bind
Download the ZIP package at the end of the article
Enter Tencent Cloud Function Console https://console.cloud.tencent.com/scf/list
Select a function service to create a new cloud function
Select Start from scratch, function type: event function, running environment: Python 3.6
Upload the ZIP package locally and select the ZIP package downloaded at the end of the article
Change the execution timeout to 900 in advanced configuration to prevent strange bugs
Click Finish
Select the function code, drag it to about 145 lines, and modify the relevant information as prompted.
If you choose to use server sauce or Qmsg sauce, you can go to
https://sct.ftqq.com/
https://qmsg.zendee.cn/
Apply for KEY
It is unnecessary and can be left blank.
Click Deploy
Click to test
The test succeeds, and qq receives the pushed message
Go to WeChat to check, and the steps are modified successfully
Click Trigger Management to create a trigger
Select custom trigger cycle, and fill in Cron expression
00 36 10 * * * *
The representative executes at 10:36 every day, which can be set according to personal needs
Submit, start to enjoy the fun of occupying your friend's cover every day~~
reminder:
Life lies in sports. This article is only for entertainment, but it's better to go out more.
Cloud function ZIP file from https://github.com/Liu-Hsin/MI_bushu/ , not my work, this article is only a tutorial
This document is for reference only, and there is a risk in brushing steps. Please handle the seal number yourself
One suggestion:
The number of steps shall not exceed 3W
Bind with Small
Don't set Leopard, Shunzi, etc
Never use the swiped steps to donate to Alipay (must be sealed)
What if I don't want to build it?
Learn about the online scanning gadget: WeChat Alipay Sports Swipe Steps
Resource download