From 6966bfe018cfcb0fc5fd3fb1acc2ef0bdce9694e Mon Sep 17 00:00:00 2001 From: noels <l.noels@ulg.ac.be> Date: Tue, 3 Nov 2020 16:23:16 +0100 Subject: [PATCH] new one --- cm3apps/installAPC.txt | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 cm3apps/installAPC.txt diff --git a/cm3apps/installAPC.txt b/cm3apps/installAPC.txt new file mode 100644 index 000000000..17b789484 --- /dev/null +++ b/cm3apps/installAPC.txt @@ -0,0 +1,30 @@ + +connect acpc with cable AND usb cable to station +sudo apt-get install apcupsd + +possibly change vi /etc/apcupsd/apcupsd.conf +UPSNAME smartupsC1500 +UPSCABLE usb +UPSTYPE usb +DEVICE +POLLTIME 60 + +BATTERYLEVEL 10 + +MINUTES 10 + +TIMEOUT 0 + +sudo vi /etc/default/apcupsd +ISCONFIGURED=yes + +sudo systemctl restart apcupsd + +check +apcaccess status + +to test it +sudo systemctl stop apcupsd +sudo apctest + + -- GitLab