the gravity of the sun and the moon affect the Earth, this is clearly shown by the tides, there are studies indicating their impact on the climate by changing the pressure centers in the atmosphere.
So, Is there any effect of planetary motion (Jupiter, Saturn and Mars...) on the climate?