jfarmer08 / homebridge-wyze-smart-home

Wyze Smart Home plugin for Homebridge.
MIT License
93 stars 14 forks source link

Error getting devices: Error: ENOENT: #236

Open Yobosa33 opened 3 months ago

Yobosa33 commented 3 months ago

Describe The Bug: Wyze Smart Home BridgeWyzeERRORError getting devices: Error: ENOENT: no such file or directory, open '/var/lib/hoobs/wyzesmarthomebridge/persist/wyze-820b4d7a-9797-55e9-b059-d0fde1d131db.json'

To Reproduce: Issue occurs when saving the config

Expected behavior: for the plugin to pull the devices

Logs: 3/16/2024, 7:01:10 PMWyze Smart Home Bridge starting 3/16/2024, 7:01:20 PMWyze Smart Home BridgeLoaded plugin 'homebridge-wyze-smart-home' 3/16/2024, 7:01:21 PMWyze Smart Home BridgeLoading 1 platforms... 3/16/2024, 7:01:21 PMWyze Smart Home BridgeBridge is running on port 51836. 3/16/2024, 7:01:22 PMWyze Smart Home BridgeWyzeERRORError getting devices: Error: ENOENT: no such file or directory, open '/var/lib/hoobs/wyzesmarthomebridge/persist/wyze-820b4d7a-9797-55e9-b059-d0fde1d131db.json'

Plugin Config:

{ "platform": "WyzeSmartHome", "name": "Wyze", "username": "email", "password": "password", "refreshInterval": 60000, "keyId": "key", "apiKey": "key", "logging": "debug", "persistPath": "/var/lib/hoobs/hoobs" }

Environment:

github-actions[bot] commented 3 months ago

Message that will be displayed on users' first issue

jfarmer08 commented 3 months ago

Referring to https://github.com/jfarmer08/homebridge-wyze-smart-home/issues/201