1. A method of controlling the general purpose color-changing lights on a premises, the method comprising:in a premises network connected to a service network, via the internet, the premises network having an electronic security system, a color-changing light controller, a plurality of general purpose color-changing lights controlled by the light controller and positioned throughout the premises and used as non-emergency, general purpose light sources providing illumination in rooms of the premises, a color-changing light gateway, and an internet router;
connecting the premises network, via the internet, to the service network, the service network having a server;
transmitting color-changing light control data between the service network, and the premises network; and using the color-changing light control data:
controlling the general purpose lights to emit a controlled lighting code via the color-changing light controller of the premises network by changing the color of light emitted from the general purpose lights from an initial color to a pattern of alternating colored light and white light, and communicating by the controlled lighting code an emergency condition of fire by alternating red and white light and an emergency condition requiring police by alternating blue and white light; and
placing control parameters limiting the control options available to a user for selective operation of the color-changing lights of the premises to prevent use of the controlled lighting code for non-emergency purposes.