Power Source  

Developer: Jason's Plugins
Category: Energy Monitoring
Github: Github Repo
Assistance: Get help!   
Plugin ID: com.heddings.indigo.pmset
Latest release: v0.3.1 released on March 10, 2018
Release downloaded: 0 times
Requires: Indigo v7.0.2 or higher
(Check the Releases tab below for older releases that may have different requirements)
  Download latest release

indigo-pmset

This Indigo plugin provides a basic interface to pmset for monitoring power settings, battery levels and supply status. The devices allow a user to trigger on power failures / restoration, battery levels, etc.

You can run the command pmset -g batt to see the data used by this plugin.

Configuration

Update intervals in the plugin config are used to define how frequently power information should be collected.

The plugin will update device states depending on the current power status. If any batteries are below the critical threshold, the plugin will use the "critical update interval" to refresh device states. Otherwise, the "standard update interval" will be used.

Devices

This plugin does not automatically create devices. Instead, create the devices for any of the batteries or power supplies you wish to monitor. These device types are explained below.

In the future, I'll add a menu option to generate devices.

Power Supply

Represents the main power supply for the computer.

Battery

Represents a battery known to the computer. The plugin will automatically detect the available batteries and present them to the user.

Triggers & Actions

This plugin does not provide any triggers or actions. Instead, by creating devices to represent batteries and power supplies, you can use any trigger or action in Indigo with the Power Source device states.

Release details
Released on: March 10, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  • Added support for critical monitoring thresholds
Release details
Released on: Jan. 7, 2018
Requires: Indigo v7.0.2+
Downloaded: 2 times 
Changes in this release
  • Added support for the Indigo Plugin Store
  • Improved logging & other minor refactoring
Release details
Released on: Nov. 26, 2016
Requires: Indigo v6.1.0+
Changes in this release

Initial version - Supports internal batteries & UPS devices - Detects internal / external supply status