grzegorz914 / homebridge-denon-tv

Homebridge plugin for Denon/Marantz AV Receivers, publish as independent external platform accessory.
MIT License
70 stars 15 forks source link

Error with 4.7.0 and empty config page and config ui won't save #228

Closed MichlW closed 5 months ago

MichlW commented 6 months ago

After updating from 4.6.0 to 4.7.0 i continiously get this error: [DenonTv] Device: 172.16.3.31 Receiver, Info error: AxiosError: Request failed with status code 403, reconnect in 15s.

I tried to fix it by one time editing through ConfigUI, but it stays empty at first: image

After clicking around the window and switched through some browser tabs, the config ui comes up and i discovered a new generation selector. After changing this to "middle gen", saving and restarting homebridge, the same error occurs. There are no generation changes in config.json.

Any ideas?

MichlW commented 6 months ago

I fixed this by manually adding "generation": 1, to config.json.

MichlW commented 6 months ago

OT: There is a small typo in config ui: image

grzegorz914 commented 6 months ago

The config not save its changes because of use very big oneOf functions, I will investigate to fix this. The typo will be fixed in next update.

tobihoby commented 5 months ago

Hi.

After updating to version 4.7.1, all Denon devices no longer respond in the Apple Home app. According to the log, the name of the connected device has changed?! I can see it when I compare version 4.6.0 and 4.7.1 in the log.

Greets Tobi

grzegorz914 commented 5 months ago

Was nothing changed about name, just add generation property to the config because UI do not save its changes. Just edit it manually.

tobihoby commented 5 months ago

thats it! Thank you.

kleingunni commented 5 months ago

Hi.

After updating to version 4.7.1, all Denon devices no longer respond in the Apple Home app. According to the log, the name of the connected device has changed?! I can see it when I compare version 4.6.0 and 4.7.1 in the log.

Greets Tobi

same issue BR Gunnar

grzegorz914 commented 5 months ago

Same fix as before

kleingunni commented 5 months ago

Yes BR Gunnar

grzegorz914 commented 5 months ago

fixed in 4.8.0

bsoener commented 5 months ago

I did the latest update earlier and now I get this error message:

[17.1.2024, 13:19:09] [DenonTv] Device: 192.168.178.113 Denon 4800, prepare accessory error: TypeError: serviceType is not a constructor

grzegorz914 commented 5 months ago

As was described in update Note need to configure buttons, sensors, legacy volume displayType again.