Using ESP32 WROOM modules outdoors in sunlight, temperature margin

Hi,

I have a street lighting project for which I plan to use Arduino Nano/ESP32 WROOM modules.
Since the street lights are going to be in sun (summers get pretty hot where these are going to be used), is it okay to use these modules at temperatures of strong direct sunlight, the modules max temp is 85 degrees as per datasheet?

Given that the electronics also will generate a bit heat, is there sufficient margin?

Thanks,
WI

Depends on how its cased, ventilated etc, boxes in direct sun can get real hot and that can vary depending on location.

Rather than guess, is it perhaps an idea to mount a similar box on a lampost with a thermometer inside and leave it for a day to see how hot it gets ? An essential test for the project I would have thought.