mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-07 14:18:47 +00:00
Feature: Add peaNUT Widget (#2450)
--------- Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
parent
a72ccb6d27
commit
bccd73fe2d
7 changed files with 96 additions and 0 deletions
21
docs/widgets/services/peanut.md
Normal file
21
docs/widgets/services/peanut.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
title: PeaNUT
|
||||
description: PeaNUT Widget Configuration
|
||||
---
|
||||
|
||||
This widget adds support for [Network UPS Tools](https://networkupstools.org/) via a third party tool, [PeaNUT](https://github.com/Brandawg93/PeaNUT).
|
||||
|
||||
The default ups name is `ups`. To configure more than one ups, you must create multiple peanut services.
|
||||
|
||||
Allowed fields: `["battery_charge", "ups_load", "ups_status"]`
|
||||
|
||||
!!! note
|
||||
|
||||
This widget requires an additional tool, [PeaNUT](https://github.com/Brandawg93/PeaNUT), as noted. Other projects exist to achieve similar results using a `customapi` widget, for example [NUTCase](https://github.com/ArthurMitchell42/nutcase#using-nutcase-homepage).
|
||||
|
||||
```yaml
|
||||
widget:
|
||||
type: peanut
|
||||
url: http://peanut.host.or.ip:port
|
||||
key: nameofyourups
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue