nVuln / homebridge-lg-thinq

A Homebridge plugin for controlling/monitoring LG ThinQ device via their ThinQ platform.
https://github.com/nVuln/homebridge-lg-thinq
Apache License 2.0
203 stars 46 forks source link

Homebridge cashes when activating LG Think plugin #289

Open rayray4105 opened 2 months ago

rayray4105 commented 2 months ago

Hi,

This morning I installed the plugin and used my LG Thinq credentials to login. I am able to retrieve a token and the plugin shows my washing machine and dryer. However Homebridge keeps crashing / rebooting. The following error is in the logs.

Have I done something wrong? regards, Raymond

TypeError: The "path" argument must be of type string. Received function at Object.join (node:path:1175:7) at LocalStorage.parseFile (/var/lib/homebridge/node_modules/homebridge-lg-thinq/node_modules/node-persist/src/local-storage.js:667:25) at LocalStorage.parseDataFile (/var/lib/homebridge/node_modules/homebridge-lg-thinq/node_modules/node-persist/src/local-storage.js:647:21) at LocalStorage. (/var/lib/homebridge/node_modules/homebridge-lg-thinq/node_modules/node-persist/src/local-storage.js:595:44) at FSReqCallback.oncomplete (node:fs:194:23)

nVuln commented 2 months ago

what is your nodejs version?

rayray4105 commented 2 months ago

Running v20.12.2