Skip to content
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

Configuration Not loading #1547

Closed
1 task done
wahart77399 opened this issue Dec 16, 2024 · 6 comments
Closed
1 task done

Configuration Not loading #1547

wahart77399 opened this issue Dec 16, 2024 · 6 comments
Labels

Comments

@wahart77399
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Describe The Bug

I've loaded a valid token refresh but I still get the following:
Warn Plugin is not configured. Yet I have a valid configuration - token key not shown:
Screenshot 2024-12-16 at 8 23 54 AM
Screenshot 2024-12-16 at 8 24 16 AM

To Reproduce

Screenshot 2024-12-16 at 8 21 54 AM

Expected behavior

My ring devices should have been loaded

Relevant log output

No response

Screenshots

Screenshot 2024-12-16 at 8 24 16 AM
Screenshot 2024-12-16 at 8 23 54 AM
Screenshot 2024-12-16 at 8 21 54 AM
Screenshot 2024-12-16 at 9 20 49 AM
Screenshot 2024-12-16 at 9 20 49 AM
Screenshot 2024-12-16 at 8 24 16 AM
Screenshot 2024-12-16 at 8 23 54 AM
Screenshot 2024-12-16 at 8 21 54 AM

Homebridge Ring Config

{
    "platforms": [
        {
            "platform": "Ring",
            "refreshToken": "not loaded here"
       }
    ]
}

Additional context

No response

OS

Linux 6.6.62-current-sunxi

Node.js Version

20.5.1

NPM Version

v9.8.0

Homebridge/HOOBs Version

1.8.4/5.1.8

Homebridge Ring Plugin Version

13.2.1

Operating System

Linux 6.6.62-current-sunxi

@wahart77399 wahart77399 added the bug Something isn't working label Dec 16, 2024
@tsightler tsightler added HOOBS and removed bug Something isn't working labels Dec 16, 2024
@tsightler
Copy link
Collaborator

tsightler commented Dec 16, 2024

As you are running HOOBS you should contact HOOBS as your primary method of support. As a Homebridge plugin developer, HOOBS makes it somewhat difficult to provide direct support since it has an entirely different UI and settings and is overall quite opaque, however, having official support would seem to be the primary reason to pay for HOOBS, so please contact them directly.

I see right way that NodeJS is still a quite unusual/outdated version (not even an LTS version), but otherwise, there is nothing in that log. You can perhaps try to enable debug in the plugin settings and see if you can get more detailed logs, or maybe enabled debugging in HOOBS (again, if it were Homebridge, I could tell you were this would be).

@tsightler
Copy link
Collaborator

OK, went through the trouble of installing clean HOOBS 5.1.8 image on an old RPi4 I had lying around, installed latest plugin, testing all functionality with cameras and alarm devices, and everything worked perfectly, 100% configured through the HOOBS client UI.

However, I was able to reproduce your issue based on the information you have provided, and is because you are trying to provide an entire Homebridge platform configuration to the plugin config, you state you have this:

{
    "platforms": [
        {
            "platform": "Ring",
            "refreshToken": "not loaded here"
       }
    ]
}

Indeed, this is not a valid plugin configuration, this section could only include the options specific to this plugin, so it should simply be:

{
  "refreshToken": "not loaded here"
}

Not sure why you wouldn't just use the UI to authenticate but hopefully this will help.

@wahart77399
Copy link
Author

that worked - not sure why the page says to do what I did, but it does

@tsightler
Copy link
Collaborator

What page are you talking about?

@wahart77399
Copy link
Author

@tsightler
Copy link
Collaborator

tsightler commented Dec 16, 2024

That page is describing how to add the plugin to Homebridge configuration manually, for example, if you are using pure Homebridge via the command line. You are not doing this, you are using HOOBS, which is a third-party UI/management plane wrapped around base Homebridge with their own way of doing things, this is why HOOBS support is generally your best first point of contact when using HOOBS.

You do not need to do any manual configuration via JSON config when using HOOBS or even other UIs, like official Homebridge UI, I mean, that's pretty much the point of these UIs, to avoid from users having to directly edit config files. I would suggest that you just go back to Visual mode and use the UI completely, but glad you got it working. I will close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants