forked from OpenPDU/acf-openpdu
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9aa83d545f | |||
| f8629b0a39 | |||
| 947af911fa | |||
| d621a86814 | |||
| de13fc6171 | |||
| 6182c7760a |
34
.drone.yml
Normal file
34
.drone.yml
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
platform: linux/arm
|
||||||
|
|
||||||
|
workspace:
|
||||||
|
base: /home/builder/package
|
||||||
|
path: /
|
||||||
|
|
||||||
|
clone:
|
||||||
|
default:
|
||||||
|
image: plugins/git:linux-arm
|
||||||
|
depth: 50
|
||||||
|
|
||||||
|
pipeline:
|
||||||
|
build:
|
||||||
|
image: arm32v6/abuild:latest
|
||||||
|
environment:
|
||||||
|
- REPODEST=/home/builder/package
|
||||||
|
secrets:
|
||||||
|
- source: abuild_ssh_key
|
||||||
|
target: RSA_PRIVATE_KEY
|
||||||
|
- source: abuild_ssh_key_name
|
||||||
|
target: RSA_PRIVATE_KEY_NAME
|
||||||
|
|
||||||
|
gitea_release:
|
||||||
|
image: plugins/gitea-release:linux-arm
|
||||||
|
files: builder/armhf/*.apk
|
||||||
|
checksum:
|
||||||
|
- md5
|
||||||
|
- sha1
|
||||||
|
- sha256
|
||||||
|
- sha512
|
||||||
|
secrets: [ gitea_token ]
|
||||||
|
base_url: https://git.asperti.com
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
2
APKBUILD
2
APKBUILD
@@ -4,7 +4,7 @@ pkgname=acf-openpdu
|
|||||||
pkgver=0.3
|
pkgver=0.3
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="ACF interface for the OpenPDU project"
|
pkgdesc="ACF interface for the OpenPDU project"
|
||||||
url="https://github.com/openpdu/acf-openpdu"
|
url="https://git.asperti.com/OpenPDU/acf-openpdu"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
license="GPL2"
|
license="GPL2"
|
||||||
depends="acf-core openpdu lua-cjson"
|
depends="acf-core openpdu lua-cjson"
|
||||||
|
|||||||
@@ -1,19 +1,21 @@
|
|||||||
ACF interface for the OpenPDU project.
|
# ACF interface for the OpenPDU project.
|
||||||
|
|
||||||
|
[](https://drone.asperti.com/OpenPDU/acf-openpdu)
|
||||||
|
|
||||||
Connect the wires, and install this package.
|
Connect the wires, and install this package.
|
||||||
Then go to https://[YOUR_IP], enter user/pass so you can login to ACF.
|
Then go to https://[YOUR_IP], enter user/pass so you can login to ACF.
|
||||||
Under "OpenPDU" you can control your outlets.
|
Under "OpenPDU" you can control your outlets.
|
||||||
|
|
||||||
DONE:
|
## DONE:
|
||||||
* Basic Outlet Status (almost everything hardcoded :( )
|
* Basic Outlet Status (almost everything hardcoded :( )
|
||||||
* Power control (ON/OFF) for each socket
|
* Power control (ON/OFF) for each socket
|
||||||
* All the outlets are powered ON on boot
|
* All the outlets are powered ON on boot
|
||||||
* ACF package
|
* ACF package
|
||||||
* configuration file editing
|
* configuration file editing
|
||||||
|
|
||||||
TODO:
|
## TODO:
|
||||||
* editing outlet parameters
|
* editing outlet parameters
|
||||||
* everything else (there's a long list)
|
* everything else (there's a long list)
|
||||||
|
|
||||||
BUGS:
|
## BUGS:
|
||||||
* At the moment, the "Edit" button doesn't work
|
* At the moment, the "Edit" button doesn't work
|
||||||
Reference in New Issue
Block a user