Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jimmysawczuk/power-monitor

Monitors the status and records the events of of at least my CyberPower UPS unit.
https://github.com/jimmysawczuk/power-monitor

cyberpower go highcharts iot javascript

Last synced: about 1 month ago
JSON representation

Monitors the status and records the events of of at least my CyberPower UPS unit.

Awesome Lists containing this project

README

        

# power-monitor
[![Go Report Card](https://goreportcard.com/badge/github.com/jimmysawczuk/power-monitor)](https://goreportcard.com/report/github.com/jimmysawczuk/power-monitor)

![Screenshot](/screenshot.png)

## Setting up
You'll need to set up [PowerPanel for Linux](https://www.cyberpowersystems.com/product/software/powerpanel-for-linux/) on a server that's connected via USB to a CyberPower UPS.

You'll also need Go >= 1.9 and npm, as well as a globally installed verison of yarn and parcel (`npm install -g yarn parcel-bundler`).

```bash
$ go get -u github.com/jimmysawczuk/power-monitor
$ cd $GOPATH/src/github.com/jimmysawczuk/power-monitor
$ make setup
$ make tls
$ make release
$ power-monitor
```

Finally, open a browser and navigate to `https://your-server:3000/` and you should be good to go.