Maintenance-free sensor