Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Raumfeld controlled by python scripts

Project Description

Synopsis

Small tools to Raumfeld functionalities using python. With these simple tools you can control the following things in Raumfeld:

  • playsettings: volume, position, pause, stop, equalizer
  • rooms: list rooms
  • zones: list, create, drop
  • media: browse and search, play in zone
  • macro operations: fade, wait for conditions (volume, position, title)

Installation

the easiest way is to use pip3 for installation

pip3 install pyfeld

Please note, it requires python3, still have to figure out that you will NOT use it with python2 and hurting you before you use it.

Usage

Running pyfeld

These examples will suppose a device called kitchen

Get some help:

pyfeld --help

Discover devices and print info of zones and rooms:

pyfeld --discover info

Same as bevor but print:

pyfeld --discover --json info

Set volume of kitchen:

pyfeld roomvolume 20 kitchen

Set volume on a zone:

pyfeld -z 1 -d setvolume 50

switch device on:

pyfeld standby off kitchen

Info for all devices:

pyfeld -d playinfo

Stop a zone:

pyfeld -z 1 stop

Browse some stuff:

pyfeld browse "0/My Music/Albums"

Play one of the browsed albums:

pyfeld play --zonewithroom kitchen "0/My Music/Albums/Frank%20Zappa+"

Check the volume in the kitchen, then set to 30%:

pyfeld --discover --zonewithroom kitchen volume pyfeld --zonewithroom kitchen setvolume 30

Raise bass and treble, lower mids

pyfeld  roomseteq kitchen 500 -100 700

Create new zone (pay attention to spaces, quote!):

pyfeld createzone kitchen "bath room" "living room"
Drop a device from the zone it is in:
pyfeld drop "bath room"

Pyfeld advanced

You can do operations on specific UDN, but it should not be necessary usually.

Retrive UDN’s:
pyfeld --discover -v info

pyfeld --udn createzone uuid:f7052a34-37f6-432f-b584-837466474205 pyfeld --udn roomsetvolume uuid:f7052a34-37f6-432f-b584-837466474205 10

Release History

Release History

This version
History Node

0.9.28

History Node

0.9.27

History Node

0.9.25

History Node

0.9.24

History Node

0.9.23

History Node

0.9.22

History Node

0.9.21

History Node

0.9.20

History Node

0.9.19

History Node

0.9.18

History Node

0.9.17

History Node

0.9.16

History Node

0.9.15

History Node

0.9.14

History Node

0.9.13

History Node

0.9.12

History Node

0.9.11

History Node

0.9.10

History Node

0.9.9

History Node

0.9.8

History Node

0.9.7

History Node

0.9.6

History Node

0.9.5

History Node

0.9.4

History Node

0.9.3

History Node

0.9.2

History Node

0.9.1

History Node

0.9.0

History Node

0.5.0b0

History Node

0.4.4b0

History Node

0.4.3b0

History Node

0.4.2b0

History Node

0.4.1b0

History Node

0.4.0b0

History Node

0.3.6b0

History Node

0.3.5b0

History Node

0.3.4b0

History Node

0.3.3b0

History Node

0.3.2b0

History Node

0.3.1b0

History Node

0.3.0b0

History Node

0.2.1a0

History Node

0.2.0a0

History Node

0.1.2a0

History Node

0.1.1a0

History Node

0.1.0a0

History Node

0.0.8a0

History Node

0.0.7a0

History Node

0.0.6a0

History Node

0.0.5a0

History Node

0.0.4a0

History Node

0.0.3a0

History Node

0.0.2a1

History Node

0.0.2a0

History Node

0.0.1a0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyfeld-0.9.28.tar.gz (130.9 kB) Copy SHA256 Checksum SHA256 Source Nov 21, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting