Electrical issues blues


random.
I pulled up to a gas station and checked the battery connections and restarted the car. After that it was all quiet for a couple weeks except the light warning messages when I start the car. Before that drive the car was outside on the driveway and it was very humid. I thought maybe it was it as the car is always in the garage overnight.
Yesterday I drove with my bike to mountain bike trails for couple hour ride. It was also very humid and the car set at the parking lot for about 3 hours. On the way back home (~10min drive) the emergency lights went on 3 times. Each time I pressed the emergency switch to turn them off.
The battery is few years old. Have no issues starting the car. I did replace audio including the headset, added amp in trunk and rewired the speakers about 5 years ago. Had no issues at all. As of maybe 1-2 years ago I did experience the head unit resetting once in a while or sometimes the sound cutting out for 5-60sec. I thought this Dynavin unit just had issues. All wiring appears to be solid with good connections although I did not pull out the head unit to check that wiring harness.
It is not related to pumps in the road so I do not think something is loose. It sounds like maybe voltage fluctuations?
Any idea what this couple possibly be and what to check?
Thanks for advice





