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

Error getting devices: Error: ENOENT: #198

Closed
daftpac opened this issue Nov 18, 2023 · 8 comments
Closed

Error getting devices: Error: ENOENT: #198

daftpac opened this issue Nov 18, 2023 · 8 comments
Labels
bug Something isn't working question Further information is requested

Comments

@daftpac
Copy link

daftpac commented Nov 18, 2023

Describe The Bug:
WyzeERRORError getting devices: Error: ENOENT: no such file or directory, open '/var/lib/hoobs/wyzesmarthomebridge/persist/wyze-5f8a0cb2-bd25-59a3-8f4d-b343199f476f.json'.

To Reproduce:
issues occurs when saving the config

Expected behavior:
for the plugin to pull the devices

Logs:

11/18/2023, 12:43:44 PMWyze Smart Home Bridge starting
11/18/2023, 12:43:55 PMWyze Smart Home BridgeLoaded plugin 'homebridge-wyze-smart-home'
11/18/2023, 12:43:56 PMWyze Smart Home BridgeLoading 1 platforms...
11/18/2023, 12:43:56 PMWyze Smart Home BridgeBridge is running on port 51826.
11/18/2023, 12:43:57 PMWyze Smart Home BridgeWyzeERRORError getting devices: Error: ENOENT: no such file or directory, open '/var/lib/hoobs/wyzesmarthomebridge/persist/wyze-5f8a0cb2-bd25-59a3-8f4d-b343199f476f.json'.

Plugin Config:

{
    "platform": "WyzeSmartHome",
    "name": "Wyze",
    "username": "email",
    "password": "password",
    "refreshInterval": 60000,
    "keyId": "key",
    "apiKey": "key",
    "logging": "debug"
}

Screenshots:

Environment:

  • Plugin Version: 0.5.37-alpha.7
  • Homebridge Version: 1.6.0
  • Node.js Version: 16.20.2
@daftpac daftpac added bug Something isn't working question Further information is requested labels Nov 18, 2023
Copy link

Message that will be displayed on users' first issue

@jfarmer08
Copy link
Owner

jfarmer08 commented Nov 18, 2023

You can try and change the location of the stored file. By adding persistPath to the config.

"persistPath":"/filepath"

@ronster22
Copy link

That worked for me!

@mdavid6
Copy link

mdavid6 commented Dec 19, 2023

i had exactly the same issues i have try to change de location like you said but do i keep the /filepath ?? or other

@carTloyal123
Copy link
Collaborator

@daftpac is this resolved with the latest updates to the plugin?

@jfarmer08
Copy link
Owner

@mdavid6 change it too something like '/var/lib/hoobs' for testing.

@jfarmer08
Copy link
Owner

#201

@jfarmer08
Copy link
Owner

#201

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants