NorthernMan54 / homebridge-yamaha-home

Homebridge plugin for my Yamaha Receiver optimized for use with the Home App and Alexa
26 stars 9 forks source link

After Configuration Restart faild #12

Closed vplustute closed 5 years ago

vplustute commented 6 years ago

I installed the homebridge-plugin for Yamaha AVR

For Testing I only want to use the UI Plugin und the Yamaha Plugin.

This is the Code I want to use. But wenn I use this, the Homebridge doesn't start.

`{ "bridge": { "name": "Homebridge", "username": "XX:XX:XX:XX:XX:XX", "port": XXXXX, "pin": "XXX-XX-XXX" }, "description": "This is an example configuration file for homebridge plugin for yamaha AVR", "hint": "Always paste into jsonlint.com validation page before starting your homebridge, saves a lot of frustration",

"platforms": [ { "platform": "config", "name": "Config", "port": 8083, "sudo": true, "restart": "sudo -n systemctl restart homebridge", "log": "systemd" }, { "platform": "yamaha-home", "play_volume": -48, "setMainInputTo": "Airplay", "show_input_name": "yes", "party_switch": "yes", "inputs_as_accessories":{ "YamahaReceiver": { "1": { "name":"Raspberry", "setInputTo": "HDMI1", "set_default_volume": -49 }, "2": { "name":"AppleTV", "setInputTo": "HDMI2" }, "3": { "name": "Scene 3", "set_scene": "3", "setInputTo": "HDMI3" } } }, "manual_addresses": { "Yamaha": "192.168.20.9" } } ], "accessories": [ {}, {} ] } `

NorthernMan54 commented 6 years ago

Can you share the error you are receiving when homebridge doesn’t start?

On Aug 8, 2018, at 3:36 AM, vplustute notifications@github.com wrote:

I installed the homebridge-plugin for Yamaha AVR

For Testing I only want to use the UI Plugin und the Yamaha Plugin.

This is the Code I want to use. But wenn I use this, the Homebridge doesn't start.

`{ "bridge": { "name": "Homebridge", "username": "XX:XX:XX:XX:XX:XX", "port": XXXXX, "pin": "XXX-XX-XXX" }, "description": "This is an example configuration file for homebridge plugin for yamaha AVR", "hint": "Always paste into jsonlint.com validation page before starting your homebridge, saves a lot of frustration",

"platforms": [ { "platform": "config", "name": "Config", "port": 8083, "sudo": true, "restart": "sudo -n systemctl restart homebridge", "log": "systemd" }, { "platform": "yamaha-home", "play_volume": -48, "setMainInputTo": "Airplay", "show_input_name": "yes", "party_switch": "yes", "inputs_as_accessories":{ "YamahaReceiver": { "1": { "name":"Raspberry", "setInputTo": "HDMI1", "set_default_volume": -49 }, "2": { "name":"AppleTV", "setInputTo": "HDMI2" }, "3": { "name": "Scene 3", "set_scene": "3", "setInputTo": "HDMI3" } } }, "manual_addresses": { "Yamaha": "192.168.20.9" } } ], "accessories": [ {}, {} ] } `

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/NorthernMan54/homebridge-yamaha-home/issues/12, or mute the thread https://github.com/notifications/unsubscribe-auth/AS5CmOd4alPe7wT4CMlDWVdXRcpShvlJks5uOpUAgaJpZM4VzbKv.

vplustute commented 6 years ago

Where I can find the error message?

vplustute commented 6 years ago

here are 2 verions of your Plugin. At first I installed the Version 0.0.6 and that was not working und now I installed the Version 0.0.26 and that is working. How I can find the Problem?

Now I installed the Plugin by terminal (sudo npm install -g homebridge-yamaha-home) that ist also working.

image

NorthernMan54 commented 6 years ago

@vplustute What program or UI are you using? It looks like it is offering an older broken version of the plugin. This should really be an issue raised against the UI, and not the plugin itself.

vplustute commented 6 years ago

It's this one of UI Homebridge Config UI X

https://github.com/oznu/homebridge-config-ui-x#readme

NorthernMan54 commented 6 years ago

@oznu

Any thoughts?

oznu commented 6 years ago

The second plugin is from the homebridge org. The UI is a bit ahead of the game and waiting for https://github.com/nfarina/homebridge/pull/1842 to be merged.

vplustute commented 6 years ago

Now I‘m using the the first one.