The invention discloses a distributed street lamp control device based on Internet of Vehicles, which structurally comprises a wire, a controller and a control panel, the position, close to the bottom, of the front surface of the controller is connected with the right end of the wire, and the control panel is arranged on the upper surface of the controller. In a rainy environment, along with the gradual increasing of rainwater on the ground, rainwater flows into the controller along the heat dissipation holes, blocking mechanisms are arranged in the heat dissipation holes, heat can be drained and discharged through the blocking mechanisms, external rainwater can be blocked, external rainwater flowing into the shell is reduced, the phenomenon that a circuit in the controller is affected with damp and short circuit occurs is reduced, and normal control and use of the controller are facilitated. Due to the fact that the blocking rod is prone to moving downwards again after entering the opening, the limiting ring arranged on the supporting plate is movably matched with the clamping ball at the top in the opening, the supporting force on the blocking rod can be increased, limiting of the blocking rod is facilitated, the blocking rod is located in the opening, and rainwater can be blocked.