Skip to content

Provides real time percentages of cpu, memory, disk, and temperature of raspberry pi device (Unix based) through a web interface.

Notifications You must be signed in to change notification settings

ArminArdekani/RaspberryPiHardwareUsages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi Hardware Usages

Provides real time percentages of cpu, memory, disk, and temperature of raspberry pi device (Unix based) through a web interface.

raspberrypi hardware usages

Motivation

  • Wanted an easy way of accessing my raspberry pi hardware usages without opening an ssh shell and easily accessible through my phone.
  • Consdered a web administration tool like webmin however after installing and running, it would use up half of my raspberry pi memory.
  • Decided to implement a lightweight web interface that leverages REST through a micro framework called Flask.

Used Libraries

Tech Stack

  • Flask, jQuery, Ajax, JS, Unix Shell, HTML5, CSS

Setup

  1. Install Python 2.7
  • sudo apt-get install python
  1. Install Flask
  • pip install Flask
  1. Modify CONFIG file
  • Change host and port if necessary
  1. Run the micro web service
  • py run.py

Access via http://HOST:PORT (as configured in CONFIG file)

About

Provides real time percentages of cpu, memory, disk, and temperature of raspberry pi device (Unix based) through a web interface.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published