homebridge / homebridge-config-ui-x

The Homebridge UI. Monitor, configure and backup Homebridge from a browser.
https://homebridge.io
MIT License
2.59k stars 369 forks source link

Config.json not saved changes if use very big oneOf function. #1987

Closed grzegorz914 closed 4 months ago

grzegorz914 commented 5 months ago

Describe The Bug

The config not save its changes if use very big oneOf functions. In my case is 600 objects. The plugin to test: https://github.com/grzegorz914/homebridge-denon-tv

If reduce objects then saved correctly.

Thanks.

Logs

No response

Config

No response

Homebridge UI Version

All versions

Homebridge Version

All versions

Node.js Version

20.10

Operating System

macOS

Environment Info

{"label"=>"Using hb-service?"}

Raspberry Pi Model

Other (specify in description)

grzegorz914 commented 5 months ago

I fixed this in my plugin config.schema by reduce objects count in oneOf but the problem still exist in ConfigUi X.

bwp91 commented 5 months ago

Hi @grzegorz914 is this something that I could reproduce myself, if I could install your plugin could you attach to this ticket an example config that I could use?

grzegorz914 commented 5 months ago

Please instal version 4.7.0 because 4.8.0 contain temporary workaround for this issue. After install it try to create / change some buttons using UI. The UI will not save the changes.

coryabooth commented 5 months ago

Is this related to the "Accessories" tab and not saving the layout of rooms and accessories?

github-actions[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 4 months ago

This issue has been closed as no further activity has occurred.