All wiring must be installed in compliance with the National Electrical Code and the local codes having jurisdiction. Proper wire gauges should be used. The conductors used to connect smoke detectors to control panels and accessory devices should be color-coded to prevent wiring mistakes. Improper connections can prevent a system from responding properly in the event of a fire.