2023-12-10 12:56:35 -05:00
---
title: PeaNUT
description: PeaNUT Widget Configuration
---
2024-01-24 14:27:47 -08:00
Learn more about [PeaNUT ](https://github.com/Brandawg93/PeaNUT ).
2024-01-22 13:26:15 -05:00
2023-12-10 12:56:35 -05:00
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.
2024-04-02 18:42:34 -04:00
Allowed fields: `["battery_charge", "ups_load", "ups_status"]` .
2023-12-10 12:56:35 -05:00
!!! 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
2025-02-19 17:58:56 -05:00
username: username # only needed if set
password: password # only needed if set
2023-12-10 12:56:35 -05:00
```