pimatic-play

0.8.0 • Public • Published

pimatic-play

A plugin for playing sounds in pimatic. Requires a suitable player installed on your machine:

afplay (osx available by default) mplayer (best for raspberry) mpg123 mpg321 play

Configuration

You can load the backend by editing your config.json to include:

{
  "plugin": "play",
}

in the plugins section. For all configuration options see play-config-schema

Currently you can play sounds via action handler within rules.

Example:

if it is 08:00 play "./alarm.wav"

in general: if X then play "path/to/file.wav"

currently the option for setting a player is not implemented!

Dependents (0)

Package Sidebar

Install

npm i pimatic-play

Weekly Downloads

1

Version

0.8.0

License

none

Last publish

Collaborators

  • sweetpi
  • mwittig