How hot and humid is it where you are ? Here in Oklahoma it was flirting with the triple digits and very humid , my bees looked like they wher all out of the boxes and just hanging around.
A little shade helps , and a breeze also , I have mine set up to where they get morning sun and shade in the afternoons and evenings . Hanging out like that means they are not working so their brood and honey production will slow down .
I've never seen a swarm hang on a box , they will be working along one minute then the next it will look like a flood poring out of the box , if there is a limb close by a swarm may gather there before getting their bearings and moving on.y honey season didn't really happen this year , cold and rain then hot and humid . All well maybe next year.