Solar energy harvesting devices are widely used in smart agriculture nowadays. However, when lighting conditions are weak, such as through the night or on cloudy days, efficiency decays a lot. Additionally, as time goes by, more and more dust and bird droppings accumulate on the panel, which decreases the performance significantly. This paper aims to overcome the disadvantages mentioned above, and a novel wind–solar hybrid energy harvesting approach is proposed with an oscillation-induced dust-cleaning function. A wind-induced vibration device is specially designed in order to generate electrical energy and/or clean the photovoltaic panel. While in good lighting conditions, the device could keep the panel in a stable state and optimize the photovoltaic power generation efficiency. Such a hybrid energy harvesting approach is called a “suppress vibration and fill vacancy” algorithm. The experimental platform of the proposed device is introduced, and both experimental and simulation results are attained, which prove that using this device, we could realize multiple purposes at the same time.