1. A method to provide a health management service in a home gateway server configured to connect a home network with at least one home device, the method comprising: requesting, by the home gateway server, health information of a plurality of users including a first user to a health management server through a home gateway network; receiving, by the home gateway server, the health information of the plurality of users from the health management server through the home gateway network; generating, by the home gateway server, based on health information, environment control information for controlling the at least one home device based, the at least one home device including an indoor electronic devices that are related to everyday lives of the plurality of the users, the indoor electronic devices includes at least one of a temperature controller, a humidity controller, an illumination controller, or an air cleaner; and transmitting, by the home gateway server, the environment control information to the at least one home device to control the at least one home device, the environment control information including an information on at least one of a temperature, humidity, an illumination, or an air cleanness, wherein generating the environment control information comprises: analyzing patterns that are related to the everyday lives of the plurality of the users; determining, by the home gateway server, based on the analyzed patterns, among a plurality of places in a home, a place where the first user spends a longest time among the plurality of the users; determining, by the home gateway server, a home device located in the determined place among the at least one home device; and generating, by the home gateway server, environment control information for controlling the determined home device according to the health information of the first user.