Giter Site home page Giter Site logo

badboy9288 / raspberry-pi-cpu-gpu-temperature-check Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hashbangcn/raspberry-pi-cpu-gpu-temperature-check

0.0 2.0 0.0 5 KB

通过py向yeelink上传CPU、GPU温度,用于检测树莓派状态.

Python 100.00%

raspberry-pi-cpu-gpu-temperature-check's Introduction

Raspberry-Pi-CPU-GPU-Temperature-Check

通过py向yeelink上传CPU、GPU温度,用于检测树莓派状态.

yeelink 是一个物联网服务网站,可以将传感器的数据上传到yeelink上,将数据更好的展示出来.

主要步骤:

  • 注册eeLink账户 并拥有一部 树莓派 开发板.
  • 在主页中,通过按照开发指南添加设备、添加传感器.
  • 获取API Key以及传感器URL.
  • 添加的传感器URL,共有两个,分别是树莓派CPU、GPU传感器URL.
  • API Key 注册时候会邮件通知的.

使用yeelink API开始上传数:

我是用的是 Raspberry Lite的版本..所以...需要 requests (通过pip安装)

sudo apt install python-pip && pip install requests

我将收集来的脚本已经上传github中,所以用git下载即可.

git clone https://github.com/insaneboy/Raspberry-Pi-CPU-GPU-Temperature-Check.git

修改 yeelink api Key 、 apiurl_gpu 、 apiurl_cpu 成自己对应的即可.

定时任务设置

crontab -e     //新建一个定时任务

*/5 * * * * python ~/yeelink.py    //路径用自己的即可

这是我搭建好的... (不一定常开)[http://www.yeelink.net/devices/352548]


企鹅群: 树莓派社区 250568697

raspberry-pi-cpu-gpu-temperature-check's People

Watchers

 avatar  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.