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: no such file or directory #201

Open
JGRR48 opened this issue Dec 14, 2023 · 8 comments
Open

Error getting devices: Error: ENOENT: no such file or directory #201

JGRR48 opened this issue Dec 14, 2023 · 8 comments
Labels
bug Something isn't working question Further information is requested

Comments

@JGRR48
Copy link

JGRR48 commented Dec 14, 2023

Not connecting.

Error getting devices: Error: ENOENT: no such file or directory, open '/var/lib/hoobs/hoobs/persist/wyze-d1b53a32-18ea-5e98-a534-7082d59c47c0.json'

Plugin Config:

"platform": "WyzeSmartHome",
"name": "Wyze",
"refreshInterval": 60000,
"username": "USER,
"password": "PWRD",
"keyId": "ID",
"apiKey": "KEY,
"mfaCode": "YOUR_2FA_AUTHENTICATION_PIN",
"filterDeviceTypeList": [
"OutdoorPlug",
"Plug"
],
"filterByMacAddressList": [
"MAC_ADDRESS_1",
"MAC_ADDRESS_2"
]

Screenshots:

Environment:

  • Plugin Version: 0.5.37-alpha.7
  • Homebridge Version: 1.6.0
  • Node.js Version: 16.20.2
  • NPM Version:
  • Operating System: Raspberry pi
@JGRR48 JGRR48 added bug Something isn't working question Further information is requested labels Dec 14, 2023
Copy link

Message that will be displayed on users' first issue

@carTloyal123
Copy link
Collaborator

@JGRR48 is this resolved with the latest update to the plugin?

@JGRR48
Copy link
Author

JGRR48 commented Feb 19, 2024 via email

@jfarmer08
Copy link
Owner

Are there any errors in the logs?

@jfarmer08
Copy link
Owner

Can you try and add this to your config?
"persistPath":"/var/lib/hoobs/hoobs"

@xtcoops-yyc
Copy link

I am getting the same error and have tried the above solution of adding "persistPath":"/var/lib/hoobs/hoobs" to the config. I also cleared the Bridge cache, HOOBS cache, completely removed the bridge and reinstalled, AND I disabled and re-enabled 2FA. Nothing has worked. @jfarmer08 any guidance?

@jfarmer08
Copy link
Owner

jfarmer08 commented Mar 18, 2024 via email

@xtcoops-yyc
Copy link

xtcoops-yyc commented Mar 19, 2024

2fa is not supported. You have to use apiKey with any of the latest releases. Thanks Allen :)

On Mon, Mar 18, 2024 at 6:18 PM xtcoops-yyc @.> wrote: I am getting the same error and have tried the above solution of adding "persistPath":"/var/lib/hoobs/hoobs" to the config. I also cleared the Bridge cache, HOOBS cache, completely removed the bridge and reinstalled, AND I disabled and re-enabled 2FA. Nothing has worked. @jfarmer08 https://github.com/jfarmer08 any guidance? — Reply to this email directly, view it on GitHub <#201 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKHFBYCWLYJ3QHPRZGGA7TYY5Y3TAVCNFSM6AAAAABAVTGE5OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBVGI3TQMZYGE . You are receiving this because you were mentioned.Message ID: @.>

I am using the apiKey and ID already, I will try removing the 2fa from config. You may want to update your README if that is the case as it says nothing about API Keys or 2FA being taken off.

Update: removing 2fa/mfa from the config results in the same error.

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

4 participants