https://github.com/enolgor/docker-winpower
Simple docker image to use powerwalker winpower agent with UPS that support it.
https://github.com/enolgor/docker-winpower
bluewalker docker ups winpower
Last synced: about 2 months ago
JSON representation
Simple docker image to use powerwalker winpower agent with UPS that support it.
- Host: GitHub
- URL: https://github.com/enolgor/docker-winpower
- Owner: enolgor
- License: mit
- Created: 2024-01-23T21:09:53.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-24T12:41:26.000Z (over 2 years ago)
- Last Synced: 2025-07-26T21:30:46.861Z (11 months ago)
- Topics: bluewalker, docker, ups, winpower
- Language: Go
- Homepage: https://hub.docker.com/r/enolgor/winpower
- Size: 6.84 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WINPOWER DOCKER
Simple docker image to use powerwalker winpower agent with UPS that support it.
Sample docker command:
`docker run --name winpower -d --privileged -p 8888:8888 -v "/dev/bus/usb:/dev/bus/usb" enolgor/winpower:latest`
Sample docker-compose:
```
version: "3.7"
services:
winpower:
image: enolgor/winpower:latest
privileged: true
ports:
- 8888:8888
volumes:
- /dev/bus/usb:/dev/bus/usb
restart: unless-stopped
```
You can then access the web interface at `https://localhost:8888` or poll the state of the UPS at `https://localhost:8888/0/json` in order to run further automations.
For example, [upsmon](https://github.com/enolgor/docker-winpower/tree/main/upsmon) is a service that fetches the status from winpower, can post status changes to a web service and run a script after a timeout on "AC Fail" status.