Intelligent animal devices