I am looking for a handful of participants for a closed-beta of a UPS (Uninterruptible Power Supply) project I’m working on. Because of a relative amount of complexity in setting up the appropriate pieces I have elected to start with a closed group of participants for testing with the eventual goal of a free public release.
This project utilizes a Raspberry Pi with apcupsd, Apache 2, and PHP installed. The UPS’s are connected to SmartThings via the Raspberry Pi which acts as a proxy between SmartThings & the UPS. Each connected UPS appears to SmartThings as a LAN-connected device and is capable of receiving push notifications for power loss and power restore events. Additionally, a cron script in the Pi polls apcupsd for UPS status every 60 seconds then pushes the data to SmartThings.
Supported SmartThings Capabilities:
- Voltage Measurement - Line (mains) voltage.
- Power Meter - Real-time consumption in watts.
- Battery - Battery % remaining on UPS.
- Power Source - To indicate mains or battery as the active power source.
- Timed Session - Runtime in minutes remaining on the battery.
- Refresh - Pull current operational status from UPS
The app package includes:
DTH: Lan-connected DeviceType which communicates with the Pi. It accepts notifications from the Pi and can also initiate manual refresh of the UPS data.
SmartApp: (parent/child) There is a service manager SmartApp which is used to install the devices. Child apps are installed to control devices, locks, or other actions anytime a UPS-related event occurs.
Beta Participant Requirements:
Raspberry Pi 2 or 3, or a Pi Zero W with powered USB hub.
Serial or USB-connected UPS, preferably APC-branded however others may work.
The ability to use CLI in Raspbian Linux.
If interested in helping, leave a reply below. I would like to begin testing in a few days.