node-red-gfconnect icon indicating copy to clipboard operation
node-red-gfconnect copied to clipboard

Brewfather API key not saved between reboots

Open phellarv opened this issue 5 years ago • 1 comments

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?

phellarv avatar May 21 '20 19:05 phellarv

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

clausbroch avatar May 22 '20 12:05 clausbroch