NodeMCU is there a way for set parameter inside script by wifi?

Hi I'm building classic DIY domotic system.
Some NodeMCU with connect relay or sensor like publisher, Raspberry PI Zero like broker, and MQTT protocol.
The first prototype is ready and work but i'm testing software and infrastructure and i need to change some parameter in NodeMCU and all time i must reflash.
Is there a way for change the parameter (stored in variable, like topic, msg and so on) by wifi?
I think also to connect an SD card but is non sense because is more expensive the sd than nodeMCU for few parameter.

If anyone have some suggestion or idea, thanks.

Gli

EEPROM

Thanks for suggestion, i'm googling about it.
It's not easy topic :slight_smile: