Skip to content
Orange PI monitor
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
config
deploy
models
services
store
.gitignore
LICENSE
README.md
app.js
jsconfig.json
package.json

README.md

Orange PI Monitor

Summary

Monitoring of Orange PI based on NodeJS and ThingSpeak.com

Features

  • Periodic CPU temperature reading
  • Saving to a local database
  • Send to a remote service (ThingSpeak.com)

Usage

  • Install nvm
  • Install Git (optional)
  • Clone repository or download zip archive
git clone https://github.com/golyakov/opimonitor.git
  • Build app
cd opimonitor && npm init
  • Connected to ThingSpeak.com
    • Register in ThingSpeak.com
    • Create channel
    • Copy channel api key

Example

  • Manual app launch
THINGSPEAK_API_KEY=<Your channel api key> npm start
  • Run the app as a service
    • Copy opimonitor.service
    sudo cp deploy/opimonitor.service /etc/systemd/system/opimonitor.service
    • Insert node version and channel api key in file /etc/systemd/system/opimonitor.service
    • Init and start service
    sudo systemctl enable opimonitor.service
    sudo systemctl start opimonitor.service

License

MIT

You can’t perform that action at this time.