From 1e7542b63271a40ad531fb4458988001531d2387 Mon Sep 17 00:00:00 2001 From: SergeiTarkhanov Date: Fri, 15 Nov 2024 00:09:28 +0300 Subject: [PATCH] Add PeaNUT custom service --- docs/customservices.md | 12 +++++ src/components/services/PeaNUT.vue | 87 ++++++++++++++++++++++++++++++ 2 files changed, 99 insertions(+) create mode 100644 src/components/services/PeaNUT.vue diff --git a/docs/customservices.md b/docs/customservices.md index 733c151..396ce06 100644 --- a/docs/customservices.md +++ b/docs/customservices.md @@ -170,6 +170,18 @@ For Prometheus you need to set the type to Prometheus and provide a url. # subtitle: "Monitor data server" ``` +## PeaNUT + +This service show current status of the UPS device. By default, the subtitle line shows UPS load, unless you provide the `subtitle` property + +```yaml +- name: "PeaNUT" + type: PeaNUT + logo: "assets/tools/sample.png" + url: "http://192.168.0.151" + # device: "ups" # The ID of the device +``` + ## AdGuard Home For AdGuard Home you need to set the type to AdGuard, if you have some issues as 403 responses on requests you need to provide authentication in headers for locations needed as below. diff --git a/src/components/services/PeaNUT.vue b/src/components/services/PeaNUT.vue new file mode 100644 index 0000000..62cd6d4 --- /dev/null +++ b/src/components/services/PeaNUT.vue @@ -0,0 +1,87 @@ + + +