Jeff,
Check connetions at your battery temp sensor and the engine speed sensor. Of course any wiring coresponding to these sensors.
Engine speed sensor relay turns on the ASD relay which sends line voltage to the computer.
Battery temp sensor sends temp reading of battery to computer.
From this data the computer regulates the alternator/generator voltage out put.
From what you have stated that it is working again I would say it is dirty/bent pin in connectror or loose/broken wire.
Bad ground wire sounds good too.
good luck!