The present invention concerns an electronic device, particularly for detecting and control the environment of an animal housing, such as a cage, thus being able to automatically detect and control animal's immediate environment. Furthermore, the present invention also concerns a system comprising such device or a plurality of devices, and a method for automatic detection of cage condition and presence. The device, the system and the method according to the present invention allow to detect the presence and several parameters of the cage environment without interfering with the inside of the cage.La présente invention concerne un dispositif électronique, en particulier destiné à la détection et à la régulation de l'environnement d'un habitat d'animal, comme une cage, et capable ainsi de détecter et de réguler automatiquement l'environnement immédiat de l'animal. En outre, la présente invention concerne également un système comportant un tel dispositif ou une pluralité desdits dispositifs, ainsi qu'un procédé de détection automatique d'état de la cage et de présence. Le dispositif, le système et le procédé selon la présente invention permettent de détecter la présence et plusieurs paramètres de l'environnement de la cage sans interférer avec l'intérieur de la cage.