The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::Wubot::Plugin::OsxVolume - monitor OS X volume

SYNOPSIS

  ~/wubot/config/plugins/OsxVolume/navi.yaml

  ---
  min_volume: 26
  alert_muted: 1
  delay: 300

DESCRIPTION

Monitor the volume on OS X by parsing the output of:

  osascript -e 'get volume settings'

If the volume is below a configured threshold, or optionally if it is muted, wubot will send a message with a subject that indicates one of the following:

  volume muted
  low volume: {$volume}

HINTS

When using voice notifications from wubot, it may sometimes be necessary to mute or lower the volume. This monitor can alert you when you have accidentally left the volume too low so and thus may not be able to hear voice notifications.

SUBROUTINES/METHODS

check( $inputs )

The standard monitor check() method.