mirror of
https://github.com/novatiq/packages.git
synced 2026-07-30 07:13:07 +01:00
simple package to manipulate gpio pins via the web interface. This was tested on a UBNT EdgePing R6 turining on and off the 4 PoE ports (496-500). Signed-off-by: Paul Spooren <mail@aparcar.org>
23 lines
256 B
Plaintext
23 lines
256 B
Plaintext
{
|
|
"poe": {
|
|
"description": "manipulate gpio pins to enable/disable poe",
|
|
"read": {
|
|
"ubus": {
|
|
"poe": [
|
|
"status",
|
|
"list"
|
|
]
|
|
}
|
|
},
|
|
"write": {
|
|
"ubus": {
|
|
"poe": [
|
|
"on",
|
|
"off",
|
|
"powercycle"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|