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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pyfeld-0.9.30.tar.gz
.
File metadata
- Download URL: pyfeld-0.9.30.tar.gz
- Upload date:
- Size: 133.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38af9b1a94d5a6e5023acb5f2c0fbacab27acfe43f9160290ff7b8c33c8a0231 |
|
MD5 | fafe97ef013e1a473fc5afa88179dd0a |
|
BLAKE2b-256 | 124a11ba0f3e76f79546e13115c61756d244275f974a6f26e5255e93f8f2116a |