A python interface to control Volumio.
You can install pyvolumio from PyPI:
pip3 install pyvolumio
Python 3.7 and above are supported.
from pyvolumio import Volumio
v = Volumio("<host>", <port>)
# you can also pass in your own session
v = Volumio("<host>", <port>, <session>)
info = await v.get_system_info()
state = await v.get_state()
await v.play()
await v.pause()
await v.stop()
await v.volume_up()
...