Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/jimmysawczuk/power-monitor
- Owner: jimmysawczuk
- License: mit
- Created: 2015-02-28T06:04:22.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2024-05-07T14:26:28.000Z (8 months ago)
- Last Synced: 2024-06-20T00:27:02.935Z (6 months ago)
- Topics: cyberpower, go, highcharts, iot, javascript
- Language: Go
- Size: 8.13 MB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.