v2.1.0
What’s New?
Your Winix account token will automatically refresh in the background, meaning you no longer need to log in every 30 days to keep your air purifiers connected.
Key Features:
- Automatic Token Refresh: Once logged in, the plugin will handle the token renewal in the background. No more interruptions or manual re-authentication.
- Encrypted Password and Token Storage: Your account password and refresh token are securely stored on disk using encryption.
Important Details:
- You’ll need to re-authorize your Winix account after updating to this version. This one-time step is required since we now securely store your password for the automatic token refresh process.
- Set your own encryption key: I strongly recommend setting the
WINIX_ENCRYPTION_KEY
environment variable when you start homebridge to your own custom encryption key to keep your stored data secure. If you don't set this, the plugin will use a default static key, which is less secure. - If you're configuring the plugin manually or using HOOBS, check out the new
encrypt-password
script to securely store your password in the config file.
Please share your feedback or report any issues you encounter 😅
PRs
- Save passwords instead of refresh tokens by @regaw-leinad in #20
Full Changelog: v2.0.4...v2.1.0