Giter VIP home page Giter VIP logo

home_assistant_libratone_zipp's Introduction

Libratone Zipp controller for Home Assistant

This aims to control a Libratone Zipp speaker within Home Assistant using this Python library.

Limitations / Known bugs

  • Major:
    • Only one speaker is supported - this needs this upstream module issue to be fixed
    • On Bluetooth and when the music is playing, you only get "Play" button, not Pause.
  • Minor:
    • After a restart of Home Assistant, the integration can be in an "unknown" state before the 1st music is played

Usage

Installation via HACS

  1. Search for Libratone Zipp in the integration tab of HACS

  2. Click Install

  3. Add the following in your /config/configuration.yaml:

    media_player:
    - platform: libratone_zipp
      host: 192.168.XX.XX
      name: Zipp
      scan_interval: 2
    • Only one speaker is supported!
    • I suggest scan_interval: 2 to get 2 seconds refresh rate
  4. Restart the server

  5. You need to forward 3333/udp and 7778/udp if you're using Docker/devcontainer

Features

Functionality coverage

Current coverage suits me, even if the python integration has much more options. Don't expect new features (only maintenance) but feel free to open an issue or submit a PR!

  • v1.0
    • Set up entity in home assistant
    • Basic playback status
    • Calculate status
  • v2.0
    • Set a sound mode (voicing)
    • Use human names for Voicing / Sound mode
    • Retrieve basic playback status: play, pause, stop, next, prev
    • Set volume
    • Retrieve volume
    • Set to immediate standby (sleep)
    • Retrieve current Voicing
    • (kinda) Play a favorite (but it's only number)
  • v3.0
    • Retrieve current title and sub-title

Other functionalities - Not planned right now:

  • Module
    • Submit it for non-official integration on HACS - in progress
    • Re-enable automatic HACS workflow
    • Make the module async
    • Submit it for official integration!
  • Current Playback info
    • Retrieve current playback source
    • Retrieve media type: bluetooth, spotify, aux, radio, ...
  • Standby
    • Set a standby timer
    • Retrieve a standby timer
  • Voicing & Room Setting
    • Set Room Setting
    • Retrieve current Room Setting
  • Favorites
    • Play a favorite (proper title)
    • Set a Favorite
  • Extended current playback info
    • Set extended playback status: shuffle, repeat
    • Retrieve extended playback status: shuffle, repeat
    • Set Source
    • Retrieve current source
  • Multi-room
    • Implement SoundSpace Link

Acknowledgment

This work is based on the following:

License

See LICENSE file.

home_assistant_libratone_zipp's People

Contributors

chouffy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

home_assistant_libratone_zipp's Issues

Spotify

Could you possible add the possibility to use Spotify?
Thank you

DLNA Play Media: status: 500, upnp error: 716

Hi.

I tried the integration and it works ... But when I do not play media for a while, the player does not start i hear a "BING" and in the logs, I get the below mentioned error message. What can I do?

Regads Oliver

2023-09-18 06:38:23.083 ERROR (MainThread) [homeassistant.components.dlna_dmr] Error during call async_play_media: UpnpActionResponseError('Error during async_call(), status: 500, upnp error: 716 (resource is not found)')

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.