How to detect hot spots on photovoltaic panels