-
Notifications
You must be signed in to change notification settings - Fork 381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
custom ui path not recognised #1379
Comments
I did initially get this error, but it's unrelated to the problem you were facing:
After fixing that it loaded fine. |
Thx for your fast feedback.
Force restart did help. But didn't realise that there is a difference to normal restart before. Could the path caching be reset on normal restart? |
The cache is per version of the plugin, and since you can't publish the same version twice, it will never be an issue in the real world. |
My last comment may not be correct sorry. |
Expecting users to also update the UI might be an issue, you can probably get away with creating a symlink from
|
But wouldn't users running homebridge on windows have problems with symlinks? |
Probably, but you're looking at less than 2% of total Homebridge users who run on Windows natively. Fixed in |
Wow. Thx for the fast fix! |
I forgot to mention this yesterday. You should probably move the Angular and other UI dependencies to https://github.com/thieren/Homebridge-eufy-plugin/blob/customUiPath/package.json#L37 |
Yeah you're likely right. I just used the default dependencies generated by |
Describe The Bug
Hi!
I'm working with the homebridge-eufy-security team and have recently redesigned the custom ui screen which utilises plugin-ui-utils.
As mentioned here it should be possible to set a custom path to the ui through
config.schema.json
but for me this setting is ignored. It always falls back to the default./homebridge-ui/public/index.html
I looked briefly at the source and found that this setting is read in this repo rather then
plugin-ui-utils
, so I've opened an issue here.An example branch can be found here
Let me know if the issue lies somewhere else.
Logs
Config
Homebridge UI Version
4.49.0
Homebridge Version
1.5.0
Node.js Version
16.13.0
Operating System
Ubuntu / Debian (or a variant)
Environment Info
Raspberry Pi Model
No response
The text was updated successfully, but these errors were encountered: