From 58b718c2a996163133916d90bd7d4c842ace3d1e Mon Sep 17 00:00:00 2001 From: Adam Monsen Date: Sat, 26 Oct 2024 11:41:23 -0700 Subject: [PATCH] Add Nextcloud custom service (#650) Add Nextcloud custom service --- docs/customservices.md | 15 ++++ src/components/services/Nextcloud.vue | 101 ++++++++++++++++++++++++++ 2 files changed, 116 insertions(+) create mode 100644 src/components/services/Nextcloud.vue diff --git a/docs/customservices.md b/docs/customservices.md index dfd41ba..b28e5b2 100644 --- a/docs/customservices.md +++ b/docs/customservices.md @@ -36,6 +36,7 @@ within Homer: - [OctoPrint](#octoprint) - [Tdarr](#tdarr) - [PiAlert](#pialert) +- [Nextcloud](#nextcloud) - [Immich](#immich) - [OpenHAB](#openhab) - [Jellystat](#jellystat) @@ -432,6 +433,20 @@ for transcoding on your Tdarr instance as well as the number of errored items. checkInterval: 5000 # (Optional) Interval (in ms) for updating the queue & error counts ``` +## Nextcloud + +This service displays a version string instead of a subtitle. The indicator +shows if Nextcloud is online, offline, or in [maintenance +mode](https://docs.nextcloud.com/server/stable/admin_manual/maintenance/upgrade.html#maintenance-mode). +Example configuration: + +```yaml +- name: Nextcloud + type: Nextcloud + logo: assets/tools/sample.png + url: http://nextcloud.example.com +``` + ## PiAlert The PiAlert service displays stats from your PiAlert server. diff --git a/src/components/services/Nextcloud.vue b/src/components/services/Nextcloud.vue new file mode 100644 index 0000000..1e2c8ce --- /dev/null +++ b/src/components/services/Nextcloud.vue @@ -0,0 +1,101 @@ + + + + +