Sign inSign up

rembert/pi-control-panel

By rembert

Updated over 5 years ago

Web control panel for Raspberry Pi 4 implemented on Angular and .NET Core using GraphQL and EF Core

Image
0

10K+

rembert/pi-control-panel repository overview

Pi Control Panel

GitHub Workflow Status GitHub commit activity GitHub code size in bytes GitHub issues GitHub closed issues

GitHub Release Date GitHub release (latest by date)

Web control panel for Raspberry Pi 4 implemented on Angular and .NET Core using GraphQL as API and EF Core as ORM. Allows easy overclocking, killing processes, rebooting and shutting down the Pi. It also provides real-time access to system information such as temperature, memory and disk usage, CPU load and network status.

Installing on Raspberry Pi

From the private Debian Package Repository

Run the following command:

sh <(wget -qO- https://raw.githubusercontent.com/rembertmagri/pi-control-panel/master/install.sh)

It will add the private Debian package repository to the list and install the package.

After installing, access http://localhost:8080 from the Pi or http://ip_of_raspberry_pi:8080 from another machine.

Manually from the Debian Package
  1. Download the latest release
  2. Install the package
sudo apt install ./pi-control-panel_VERSION_armhf.deb

or (if running on Raspberry Pi OS 64)

sudo apt install ./pi-control-panel_VERSION_arm64.deb
  1. After installing, access http://localhost:8080 from the Pi or http://ip_of_raspberry_pi:8080 from another machine.
Docker on Raspberry Pi
  1. Install Docker
curl -sSL https://get.docker.com | sh
sudo usermod -aG docker pi
sudo apt-get install docker-compose git -y
  1. Logout at this point and login again as pi user
  2. Clone the repo and open the terminal inside the solution's /Docker directory
git clone https://github.com/rembertmagri/pi-control-panel.git
cd pi-control-panel/src/Docker/
  1. Build the image and run the container
docker-compose -f docker-compose.pi64.build.yml build
docker-compose -f docker-compose.pi64.build.yml up -d

or (if running on 32 bits)

docker-compose -f docker-compose.pi32.build.yml build
docker-compose -f docker-compose.pi32.build.yml up -d
  1. Or run the container from the last image published on Docker Hub
docker-compose -f docker-compose.pi64.yml up -d

or (if running on 32 bits)

docker-compose -f docker-compose.pi32.yml up -d
  1. Access http://localhost:8081 from the Pi or http://ip_of_raspberry_pi:8081 from another machine.
Available fields when running on Docker
  • Login Query
  • RaspberryPi Query
  raspberryPi {
    disk {
      fileSystems {
        name
        total
        type
        status {
          fileSystemName
          available
          used
          dateTime
        }
      }
    }
    ram {
      total
      status {
        used
        free
        diskCache
        dateTime
      }
    }
    swapMemory {
      total
      status {
        used
        free
        dateTime
      }
    }
    network {
      networkInterfaces {
        name
        ipAddress
        subnetMask
        defaultGateway
        status {
          networkInterfaceName
          totalReceived
          receiveSpeed
          totalSent
          sendSpeed
          dateTime
        }
      }
    }
  }
  • All File System Status queries and subscription
  • All RAM and Swap Memory Status queries and subscription
  • All Network and Network Status queries and subscription
  • Refresh Token Query
  • Shutdown Mutation (Returns true, but doesn't actually shut the container down)

Development

Check the Wiki for documentation for developers

Tag summary

Content type

Image

Digest

Size

57.2 MB

Last updated

over 5 years ago

docker pull rembert/pi-control-panel