Photovoltaic junction box connected to solar panels