0.8.12 • Published 8 years ago

pimatic-mpd v0.8.12

Weekly downloads
60
License
-
Repository
github
Last release
8 years ago

pimatic-mpd

pimatic plugin for controlling the Music Player Daemon.

###device config example:

{
  "id": "mpd-player",
  "name": "Music",
  "class": "MpdPlayer",
  "host": "192.168.1.2",
  "port": 6600
}

###device rules examples:

Play music if smartphone is present then play mpd-player

Pause music if smartphone is absent then pause mpd-player

Stop music if smartphone is absent then stop mpd-player

Change volume if buttonVolumeLow is pressed then change volume of mpd-player to 5

Next song if buttonNext is pressed then play next song Music

Previous song if buttonPrev is pressed then play previous song Music

Currently no predicates for the mpd plugin. If you would like to do something when the state changes u could use the attribute predicate. if $mpd-player.state equals \"play\" then switch speakers on if $mpd-player.state equals \"pause\" then switch speakers off

0.8.12

8 years ago

0.8.11

9 years ago

0.8.10

9 years ago

0.8.9

9 years ago

0.8.8

9 years ago

0.8.6

9 years ago

0.8.5

9 years ago

0.8.4

9 years ago

0.8.3

9 years ago

0.8.2

9 years ago

0.8.1

10 years ago