Can somebody help me. I am trying to make a off grid system

The NodeMCU doesn’t really have enough useable pins for this, read this…

You should probably use an ESP32, but this board is also an option…

Pete.