haywirecoder / homebridge-flobymoen

Homebridge Module for Flo by Moen Smart Water System
MIT License
14 stars 2 forks source link

Error: EISDIR #6

Closed hunt4868 closed 2 years ago

hunt4868 commented 2 years ago

Describe The Bug: Getting this error every poll after updating to latest release:

BridgeWARNINGunhandled rejection: Error: EISDIR: illegal operation on a directory, read

To Reproduce:

Expected behavior:

Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

haywirecoder commented 2 years ago

Hi,

Reviewed, the issue is result of the fix to issue #5 creating another issue. Apply posting the code correction and adding a new option disable caching Flo access token, thus avoiding possible storage issues , if they arise for user. Version 1.0.2 which will be posted shortly will correct this issue.

haywirecoder commented 2 years ago

Hi, A fix was pushed out, please confirm that you are no longer receiving the error.

hunt4868 commented 2 years ago

It is resolved now; thanks for the quick fix!