My horn was not working consistently, or below 3000 RPM wasn't working at all with the headlight on. I figured it was because I ride this bike daily year round so it sees plenty of rain, occasional snow, and salty roads.
First I cleaned all electrical connections at battery, grounds, main harness. Added silicon grease to the open big connectors, seems like a good idea. Checked voltage at idle headlight off and on. Not good, slowly dropping below 12v. At 5000 RPM it's around 14.7v after giving it a few seconds to get there. Battery is an AGM at least a few years old, probably not helping matters. Solid state voltage regulator that's adjustable, but did not adjust it since it seems about where it should be at RPM.
So I removed the horn and heard rattling, rotated it a few times and some small gravel came out. I opened it up and found a bunch more that surely wasn't helping things. Cleaned the points with fine sandpaper, reassembled. It works better, now around 1400 RPM with headlight on but still flakey presumably due to low voltage. Will adjusting the screw help it work better at lower voltage?
Not looking forward to winter, heated gloves and such with such a marginal alternator.