jfarmer08 / homebridge-wyze-smart-home

Wyze Smart Home plugin for Homebridge.
MIT License
103 stars 17 forks source link

Wyze Error getting devices #144

Closed Hidantsuda closed 11 months ago

Hidantsuda commented 1 year ago

Describe The Bug:

When initially booting up, and periodically afterwards, I receive various error messages and unhandled rejection errors. **To Reproduce:** Happens every time I attempt to setup, or run this Plugin. strangely it seems to not affect the plugins ability to work, as it still adds and controls the devices. **Expected behavior:** No error Messages. **Logs:** ``` 8/20/2023, 11:37:03 AMWyze Smart Home Bridge starting 8/20/2023, 11:37:11 AMWyze Smart Home BridgeLoaded plugin 'homebridge-wyze-smart-home' 8/20/2023, 11:37:11 AMWyze Smart Home BridgeLoading 1 platforms... 8/20/2023, 11:37:11 AMWyze Smart Home BridgeBridge is running on port 51876. 8/20/2023, 11:37:12 AMWyze Smart Home BridgeWyzeERRORError getting devices: Error: ENOENT: no such file or directory, open '/var/lib/hoobs/wyzesmarthomebridge/persist/wyze-3e0afc42-58c9-412b-bc6d-0e933ef18dab.json' 8/20/2023, 11:40:05 AMWyze Smart Home BridgeWARNINGunhandled rejection: Error: ENOENT: no such file or directory, open '/var/lib/hoobs/wyzesmarthomebridge/persist/wyze-3e0afc42-58c9-412b-bc6d-0e933ef18dab.json' Error: ENOENT: no such file or directory, open '/var/lib/hoobs/wyzesmarthomebridge/persist/wyze-3e0afc42-58c9-412b-bc6d-0e933ef18dab.json' 8/20/2023, 11:40:05 AMWyze Smart Home BridgeWARNINGunhandled rejection: Error: ENOENT: no such file or directory, open '/var/lib/hoobs/wyzesmarthomebridge/persist/wyze-3e0afc42-58c9-412b-bc6d-0e933ef18dab.json' Error: ENOENT: no such file or directory, open '/var/lib/hoobs/wyzesmarthomebridge/persist/wyze-3e0afc42-58c9-412b-bc6d-0e933ef18dab.json' 8/20/2023, 11:42:57 AMWyze Smart Home BridgeWARNINGunhandled rejection: Error: ENOENT: no such file or directory, open '/var/lib/hoobs/wyzesmarthomebridge/persist/wyze-3e0afc42-58c9-412b-bc6d-0e933ef18dab.json' Error: ENOENT: no such file or directory, open '/var/lib/hoobs/wyzesmarthomebridge/persist/wyze-3e0afc42-58c9-412b-bc6d-0e933ef18dab.json' 8/20/2023, 11:42:57 AMWyze Smart Home BridgeWARNINGunhandled rejection: Error: ENOENT: no such file or directory, open '/var/lib/hoobs/wyzesmarthomebridge/persist/wyze-3e0afc42-58c9-412b-bc6d-0e933ef18dab.json' Error: ENOENT: no such file or directory, open '/var/lib/hoobs/wyzesmarthomebridge/persist/wyze-3e0afc42-58c9-412b-bc6d-0e933ef18dab.json' 8/20/2023, 11:45:50 AMWyze Smart Home BridgeWARNINGunhandled rejection: Error: ENOENT: no such file or directory, open '/var/lib/hoobs/wyzesmarthomebridge/persist/wyze-3e0afc42-58c9-412b-bc6d-0e933ef18dab.json' Error: ENOENT: no such file or directory, open '/var/lib/hoobs/wyzesmarthomebridge/persist/wyze-3e0afc42-58c9-412b-bc6d-0e933ef18dab.json' 8/20/2023, 11:45:50 AMWyze Smart Home BridgeWARNINGunhandled rejection: Error: ENOENT: no such file or directory, open '/var/lib/hoobs/wyzesmarthomebridge/persist/wyze-3e0afc42-58c9-412b-bc6d-0e933ef18dab.json' Error: ENOENT: no such file or directory, open '/var/lib/hoobs/wyzesmarthomebridge/persist/wyze-3e0afc42-58c9-412b-bc6d-0e933ef18dab.json' 8/20/2023, 11:48:43 AMWyze Smart Home BridgeWARNINGunhandled rejection: Error: ENOENT: no such file or directory, open '/var/lib/hoobs/wyzesmarthomebridge/persist/wyze-3e0afc42-58c9-412b-bc6d-0e933ef18dab.json' Error: ENOENT: no such file or directory, open '/var/lib/hoobs/wyzesmarthomebridge/persist/wyze-3e0afc42-58c9-412b-bc6d-0e933ef18dab.json' 8/20/2023, 11:48:43 AMWyze Smart Home BridgeWARNINGunhandled rejection: Error: ENOENT: no such file or directory, open '/var/lib/hoobs/wyzesmarthomebridge/persist/wyze-3e0afc42-58c9-412b-bc6d-0e933ef18dab.json' Error: ENOENT: no such file or directory, open '/var/lib/hoobs/wyzesmarthomebridge/persist/wyze-3e0afc42-58c9-412b-bc6d-0e933ef18dab.json' ``` **Plugin Config:** This is my base config minus user info ```json { "platform": "WyzeSmartHome", "name": "Wyze", "username": "", "password": "", "keyId": "", "apiKey": "", "refreshInterval": 60000 } ``` **Screenshots:**

Environment:

github-actions[bot] commented 1 year ago

Message that will be displayed on users' first issue

jfarmer08 commented 11 months ago

https://github.com/jfarmer08/homebridge-wyze-smart-home/releases/tag/v0.5.37-alpha.4

Can you update and repeat back