Mounting A Flood Light Over A Garage Door ?

Hello:
Regarding the typical house flood light fixtures, some with a motion detector, that you see at Home Depot and elsewhere. Typically mounted over a deck or a garage door.
Is it code permissible to mount them directly to the side of a house (wiring run inside the walls), or must there be a weather-tite electrical box between fixture base and the house outside wall ?
There is apparently more than enough room in the fixtures base for the wire nuts, so I don't see the need for any intermediate box, but was wondering what the "right way" of mounting it is.
Thanks, B.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

The right way is to mount a waterproof box, then the fixture. Mounting directly may not seal properly and cause problems.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
It is not a matter of room, it is a matter of fire protection. Some light fixtures do make the connection inside the fixture; they are enclosed in the back and have a cable clamp to close it off. Presumably yours does not, so you need a box.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

HomeOwnersHub.com is a website for homeowners and building and maintenance pros. It is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.