Skip to content
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

Brewfather API key not saved between reboots #6

Open
phellarv opened this issue May 21, 2020 · 1 comment
Open

Brewfather API key not saved between reboots #6

phellarv opened this issue May 21, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@phellarv
Copy link

phellarv commented May 21, 2020

Values for ID and API-key are not saved between reboots.
Is there a way to hardcode it into the flow? Perhaps by using flow.set?

@clausbroch clausbroch changed the title Brewfather API Brewfather API key not saved between reboots May 22, 2020
@clausbroch clausbroch added the bug Something isn't working label May 22, 2020
@clausbroch
Copy link
Owner

I will look into making a more permanent solution but in the meantime there is a workaround for this where the Node RED context is automatically saved to file.
You need to edit the settings file for node RED:
nano ~/.node-red/settings.js
Navigate to the section named Context Storage and change the setting to the following:

 contextStorage: {
        default: {
            module:"localfilesystem"
        },
    },

The API key should now be automatically saved to file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants