Load management in an active and intelligent way is one of the major concerns of distributionsystems operators, suppliers and consumers of energy, particularly in the context of the smart-gridproject.The aim of this thesis is to develop and implement a real-time energy management systembased on wireless sensor networks in buildings (residential and tertiary sector). The methods of loadmanagement have been developed to minimize peak demand, maintain thermal comfort, andminimize the cost of consumption. A concept of real-time load management using a wireless sensornetwork has been proposed, based on the ZigBee communication standard. Demonstrators ofadaptive control of heating and air conditioning and of intelligent load shedding for electrical cookershave been developed. The prototypes of the proposed systems have been built and tested on anexperimental apartment to demonstrate the usefulness and effectiveness of these methods. Thedeveloped system allows to avoid the use of predictive models that are very difficult to identify andself-reconfigure when new electrical devices are added in a building.