Wouldn’t the diode block current from flowing back to the solar panels ground at night?An alternative to using a zener would be to connect a normal silicon diode in series with the 220Ω resistor. This would have the advantage of not wasting solar cell power in the zener.