1. An electrical junction with a wireless controller configured for attachment in a building structure, the electrical junction comprising:a junction body having surfaces defining a cavity accessible via an opening in the body;
an external conductor routing line-voltage from a line-voltage source in the building structure into the cavity of the junction body;
a junction device coupled to the opening of the junction body;
wherein the wireless controller is mechanically coupled to the junction body and extending outside the cavity, is electrically coupled between the external conductor and the junction device, and is fully enclosed against the junction body such that the wireless controller is open exclusively to the junction body cavity; and
a system controller remote from the electrical junction that is in wireless communication with the wireless controller and that controls or monitors the junction device;
wherein the mechanical coupling between the wireless controller and the junction body is secure and enclosed such that the electrical junction meets UL regulations and applicable electrical building codes.