Giter Club home page Giter Club logo

pioneer_vsx529's Introduction

Async Pioneer VSX-529

My VSX-529 AV amp is not working with the original Home Assistant Pioneer driver. After some changes on the original driver it worked for a few hours, a day or two at max only. After that it freezes, and only a power off/on cycle makes it useable again. This is because that driver creates a new telnet connection to the amp for every update, it queries the required info, and then closes the connection. The telnet software in the amp firmware probably has memory leak, that might be the reason for this freeze after a few thousands of telnet connections.

No firmware updates available for this amp anymore.

I found the work of realthk who did a amazing work for his Pioneer AV. His AV has much more functions and didn't fit to my one.

So I took his async approach and merged it with the original HASS Pioneer driver.

The Pioneer VSX-529 is not supporting the Volume Set function so I added Volume Step Support. Additional I build a small control loop for the Volume Set function. It is now possible to set a volume level directly. Please keep in mind, that this is not a perfect control loop, so use this function carefull!

Install

  1. Download and copy media_player.py and init.py into config/custom_components/pioneer_vsx529 directory.

  2. Add a reference to this inside your configuration.yaml:

media_player:
- platform: pioneer_vsx529
  host: 192.168.0.XXX
  port: 8102
  name: Pioneer VSX-529
  sources:
    'TV': '05'
    'Webradio': '38'
    'Alexa': '04'

This verison needs Home Assistant v.0.110 or higher! For the previous version plese see the coresponding branch.

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.