casperboone / homey-sony-srs-multiroom-speakers

🔉 Control your Sony speakers via Homey
1 stars 1 forks source link

Add device wizard immediately shows error. #3

Open j0bro opened 7 years ago

j0bro commented 7 years ago

I added the app to Homey (v1.5.3), opened the Add device wizard but the only output I get in the dialog is

Cannot read property '0' of undefined

The Chrome console shows these 2 errors: GET http://192.168.1.156/app/nl.casperboone.sony-srs-multiroom-speakers/locales/nl.json 404 (Not Found) in i18n.js:1 The stack trace shows getLocale as the last method invocation.

POST http://192.168.1.156/api/manager/drivers/pair/40144057f69f1e161b411546b877f661e48ff6b2/emit?_=1510949366397 500 (Internal Server Error) in api.js:1 This is probably a result of the former error. Edit: switching to English gets rid of the first error only, this one remains.

I cannot setup the speakers (HT-RTZ7 combo, consisting of an HT-CT790 sound bar with a pair of SRS-ZR5 surround speakers, configured as Wireless Surround setup). Any hints?

casperboone commented 7 years ago

I'm a bit busy atm, but will get back to you on this @j0bro. Thanks for reporting the issue.

mbnn commented 6 years ago

Cannot read property '0' of undefined

Je mag dit venster sluiten.

Zodra ik voeg nieuw apparaat toe klik (heb ZR7 in huis).

Povlov commented 6 years ago

Same issue here Casper. Problems arised after the recent (march 1) sony software update. After that things did work, but after failing to get chromecast connection (paired set stereo) connections could not be established reliably. After new installation of your app I can not get things set-up right. screenshot 2018-03-11 at 15 22 44

casperboone commented 6 years ago

Thanks for the reports guys, hope to look into this asap.

Povlov commented 6 years ago

Hoi Casper,

After Homeys update stable 1.5.8 the SRS did not respond/broken link. Then upon reinstal of the device the error as above occurs, also after fresh app install.

I have some great flows switching the source "jack-ïnput" which I use for TV sound. As HDMI is connected for control only (Samsung ANYnet) , it switches to HDMI without transmitting sound :-(.
Only way to change this now is to go to the speaker and switch, or use the cumbersome Sony app on the phone.

Maybe you can have a look to see if your app can be brought to life again? Or can you maybe transfer the maintenance to someone in the community?

Greetings, Peter (povlov on slack)