In a practical monitoring environment, for example, food factory monitoring system, sensor need relocations and reorganizations as production lines reorganization and starting of new production lines. It sometime take congestion in some area of the network for relocations. Proposed a two-tier autonomous decentralized community architecture for wireless sensor network to solve the problem. In the architecture routers make community to solve the problem of sharing information among community, dynamic changing environment sensor connection time for the network will decrease. Results show that this technologies can achieve online expansion.