I just set up my pi to run Homebridge allowing it to control an LED strip over GPIO pins, it all works well except the LED lights flicker with radio interference. This interference is very noticeable when I scroll my mouse wheel. Before I get any dumb suggesting like 'try unplugging your mouse', the mouse is plugged into my laptop on the other side of my desk, two totally different setups.
some previous reading I had done lead me to conclude that I may need to add a small cap close to the GPIO pins, but quite frankly I'm no electrical engineer so I'm going to need some help. Would I just put an inline cap with each GPIO signal wire for the R, G, and B pins?
Side note, when substituting the Raspberry Pi for an Arduino the whole system works flawlessly, however, I'm using the pi because the Arduino clearly can't run Homebridge.
Here's a basic diagram of what I have now: