目录
  1. Scan devices with sudo hcitool lescann
  2. Find MAC of thermometer eg. A4:C1:38:25:A9:E4 LYWSD03MMC
  3. Replace MAC in btread.sh with scanned value
  4. Setup git username and email, set it to store password to disk with git config --global credential.helper store
  5. Run bash btread.sh && bash gitpush.sh, github will require Personal access token to be input as the password, then it will be stored on disk
  6. Add to crontab: */30 * * * * cd /home/pi/temperatures/ && bash btread.sh && bash gitpush.sh
关于
81.7 MB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号