Solar panels for campervans do work in the rain however the amount of electricity it is able to produce can be reduced. It all depends on how much sunlight is able to make its way clearly to the solar panels on your motorhome. Rain is actually good for solar panels sometimes because it can help clear off the dust and other rubbish they may have collected over time and this can help restore some of their efficiency.