homebridge-wyze-smart-home icon indicating copy to clipboard operation
homebridge-wyze-smart-home copied to clipboard

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

Open JGRR48 opened this issue 1 year ago • 8 comments

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 avatar Dec 14 '23 23:12 JGRR48

Message that will be displayed on users' first issue

github-actions[bot] avatar Dec 14 '23 23:12 github-actions[bot]

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

carTloyal123 avatar Feb 17 '24 17:02 carTloyal123

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

On Sat, Feb 17, 2024 at 9:43 AM carTloyal123 @.***> wrote:

@JGRR48 https://github.com/JGRR48 is this resolved with the latest update to the plugin?

— Reply to this email directly, view it on GitHub https://github.com/jfarmer08/homebridge-wyze-smart-home/issues/201#issuecomment-1950266655, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEV6FSHL7HR5I7UGYFJJESDYUDT27AVCNFSM6AAAAABAVTGE5OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJQGI3DMNRVGU . You are receiving this because you were mentioned.Message ID: @.***>

JGRR48 avatar Feb 19 '24 22:02 JGRR48

Are there any errors in the logs?

jfarmer08 avatar Feb 20 '24 00:02 jfarmer08

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

jfarmer08 avatar Feb 28 '24 02:02 jfarmer08

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?

xtcoops-yyc avatar Mar 18 '24 23:03 xtcoops-yyc

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 https://github.com/jfarmer08/homebridge-wyze-smart-home/issues/201#issuecomment-2005278381, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKHFBYCWLYJ3QHPRZGGA7TYY5Y3TAVCNFSM6AAAAABAVTGE5OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBVGI3TQMZYGE . You are receiving this because you were mentioned.Message ID: @.***>

jfarmer08 avatar Mar 18 '24 23:03 jfarmer08

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.

xtcoops-yyc avatar Mar 19 '24 00:03 xtcoops-yyc