Giter VIP home page Giter VIP logo

Comments (16)

ACDR avatar ACDR commented on June 26, 2024 1

You'll need to close the Home app and open again.

from homebridge-yamaha-avr.

alexanderjakob avatar alexanderjakob commented on June 26, 2024 1

You'll need to close the Home app and open again.

OMG - never mind, I'm so sorry -.-' works now!

from homebridge-yamaha-avr.

Kienz avatar Kienz commented on June 26, 2024 1

Should be fixed in 3.0.1-beta.1 - can you please test and confirm?

It works. Thanks!

from homebridge-yamaha-avr.

ACDR avatar ACDR commented on June 26, 2024

Sounds like the plug-in may be unable to write to the cache directory.

Are you using the default cache directory or have you specified one?

Anything in the log?

from homebridge-yamaha-avr.

Kienz avatar Kienz commented on June 26, 2024

Homebridge is installed into /var/lib/homebridge
There exists the folder .yamahaAVR. In the plugin config /var/lib/homebridge/.yamahaAVR is set as cache directory.
If I change HDMI3 to Apple TV the content of /var/lib/homebridge/.yamahaAVR/hdmi3 is:
{"ConfiguredName":"Apple TV","CurrentVisibilityState":0}
I can't see anything in the logs - there should be something like Set input (${input.id}) name to ${name} - or?

from homebridge-yamaha-avr.

Kienz avatar Kienz commented on June 26, 2024

Ok - now I see [Yamaha AVR] Set input (audio1) name to TV Audio. And there a lot of [Yamaha AVR] AVR PING { power: 'standby', input: 'hdmi3'
Is it possible the AVR PING resets the naming? Because some names are changed - maybe timing problem?

from homebridge-yamaha-avr.

ACDR avatar ACDR commented on June 26, 2024

The PING simply checks for the power state and the active input ID & updates the app in HomeKit if it changes externally (e.g. with the physical AVR remote).

The cache for the main zone should be under a main directory, under .YamahaAVR. Have you tried removing the device (if it's one set up in v2 of the plug-in) and manually adding the new Main Zone device for v3?

from homebridge-yamaha-avr.

Kienz avatar Kienz commented on June 26, 2024

There is no maindirectory under .yamahaAVR. I complete deinstalled the plugin and removed the accessory. But still no mainfolder.

from homebridge-yamaha-avr.

Kienz avatar Kienz commented on June 26, 2024

After the log output Current main input ... the names / visibility are changed back.

from homebridge-yamaha-avr.

ACDR avatar ACDR commented on June 26, 2024

Can you rename/delete the .YamahaAVR folder & reboot Homebridge - see if the directory is recreated?

from homebridge-yamaha-avr.

Kienz avatar Kienz commented on June 26, 2024

If I rename the inputs or change visibility and restart the homebridge it shows correct.

from homebridge-yamaha-avr.

Kienz avatar Kienz commented on June 26, 2024

The folder .yamahaAVR is recreated with all inputs - but no main folder.

from homebridge-yamaha-avr.

ACDR avatar ACDR commented on June 26, 2024

I think I've managed to replicate the issue. Appears we may be restoring the input name from a stale cache when HomeKit requests an updated name. Fix incoming.

As for the missing main cache directory - this isn't created if the cacheDirectory has been set in the config - a fix for this will also be be included (you'll should be able to simply move your existing cache data into this directory once updated).

from homebridge-yamaha-avr.

ACDR avatar ACDR commented on June 26, 2024

Should be fixed in 3.0.1-beta.1 - can you please test and confirm?

from homebridge-yamaha-avr.

alexanderjakob avatar alexanderjakob commented on June 26, 2024

Downlaoded the beta version as well - could not change devices (like airplay, tv or so) anymore, just seeing "on, on, on, on, on, on, ..." in HomeKit

from homebridge-yamaha-avr.

ACDR avatar ACDR commented on June 26, 2024

https://github.com/ACDR/homebridge-yamaha-avr/releases/tag/v3.0.1

from homebridge-yamaha-avr.

Related Issues (20)

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.