Skip to content

A pythonic library for discovering and controlling Teufel Raumfeld devices.

License

Notifications You must be signed in to change notification settings

tsschaffert/python-raumfeld

 
 

Repository files navigation

python-raumfeld

A pythonic library for discovering and controlling Teufel Raumfeld devices.

Tested with a Raumfeld One. Hardware donations to improve the library are welcome 😄

Supports Python >2.7, 3.x

Installation

pip install raumfeld

Quickstart

import raumfeld

# discovery returns a list of RaumfeldDevices
devices = raumfeld.discover(timeout=1, retries=1)
if len(devices) > 0:
    speaker = devices[0]

    # now you can control your raumfeld speaker
    speaker.mute = True     # mute
    print(speaker.volume)   # print current volume
    speaker.volume = 50     # set volume

    speaker.pause()
    speaker.play()
else:
    print('No devices found.')

About

A pythonic library for discovering and controlling Teufel Raumfeld devices.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 95.8%
  • Makefile 4.2%