Skip to content

Latest commit

 

History

History
45 lines (40 loc) · 1.18 KB

File metadata and controls

45 lines (40 loc) · 1.18 KB

Orange PI Monitor

Monitoring of Orange PI based on NodeJS and ThingSpeak.com

  • Periodic CPU temperature reading
  • Saving to a local database
  • Send to a remote service (ThingSpeak.com)
  • 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
  • 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

MIT