Abstract: In this paper we present a novel approach for monitoring elderly people living alone and independently in their own homes. The proposed system is able to detect behavioral deviations of the routine indoor activities on the basis of a generic indoor localization system and a swarm intelligence method. For this reason, an in-depth study on the error modeling of state-of-the-art indoor localization systems is presented in order to test the proposed system under different conditions in terms of localization error. More specifically, spatiotemporal tracks provided by the indoor localization system are augmented, via marker-based stigmergy, in order to enable their self-organization. This allows a marking structure appearing and staying spontaneously at runtime, when some local dynamism occurs. At a second level of processing, similarity evaluation is performed between stigmergic marks over different time periods in order to assess deviations. The purpose of this approach is to overcome an explicit modeling of user's activities and behaviors that is very inefficient to be managed, as it works only if the user does not stray too far from the conditions under which these explicit representations were formulated. The effectiveness of the proposed system has been experimented on real-world scenarios. The paper includes the problem statement and its characterization in the literature, as well as the proposed solving approach and experimental settings.