-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Safe keyfile to /opt/iobroker #52
Comments
Hello, can you help me with that? |
The reference point is here: However, i think there must be a separate attribute to control the destination directory. |
It seems this behavior is intended by the fork author: https://www.npmjs.com/package/lgtv2
I believe what you wanna do is to upgrade the dependency to version 1.4.0 and implement to store the key inside of ioBroker itself, avoiding the file system. saveKey and clientKey API options sound like they were specifically implemented for this. |
After pairing with LGTV, the keyfile is currently saved to
~/.lgtv2
.However, it would be better to have this in
/opt/iobroker
instead because that directory is usually part of regular backups (or with Docker containers, it is usually the one you would have as an external volume outside of the container).Without this file being part of backup, a restore will be incomplete, requiring to re-pair the device.
The text was updated successfully, but these errors were encountered: